Changes for page OpenGraph Application
Last modified by Thomas Mortagne on 2022/11/07 00:06
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -3,10 +3,10 @@ 3 3 This macro typically adds the elements below to the HTML head tag. The image elements are computed as follows: the extension first tries to include the URLs of the images attached to the current page, if any; otherwise it adds the URLs of images attached to the wiki home page, if any. The way these elements are added to the head can easily be customized and adpated to specific needs by editing the page {{code}}XWiki.OpenGraphUIX{{/code}}. 4 4 5 5 {{code}} 6 -<meta property="og:url" content="http:// localhost/xwiki/bin/view/Main/"/>6 +<meta property="og:url" content="https://www.xwiki.org/xwiki/bin/view/Main/"/> 7 7 <meta property="og:type" content="article" /> 8 8 <meta property="og:title" content="Home" /> 9 -<meta property="og:image" content="http:// localhost/xwiki/bin/download/Main/WebHome/Earthrise1_Apollo8AndersWeigang_2048.jpg" />9 +<meta property="og:image" content="https://www.xwiki.org/xwiki/bin/download/Main/WebHome/Earthrise1_Apollo8AndersWeigang_2048.jpg" /> 10 10 {{/code}} 11 11 12 12 The [[Facebook OpenGraph debugger>>https://developers.facebook.com/tools/debug/]] can be useful for testing the output of this extension.