Changes for page OpenGraph Application

Last modified by Thomas Mortagne on 2022/11/07 00:06

<
From version < 10.1 >
edited by slauriere
on 2019/02/07 16:52
To version < 11.2 >
edited by Admin
on 2019/02/08 00:44
>
Change comment: Imported extension [org.xwiki.contrib:application-opengraph-ui] from repository [maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.slauriere
1 +xwiki:XWiki.Admin
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.
Properties
... ... @@ -1,1 +1,5 @@
1 -maven.groupid=org.xwiki.contrib maven.artifactid=application-opengraph-ui maven.Model=org.xwiki.contrib:application-opengraph-ui:xar:1.1 xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[10.11] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[10.11], org.xwiki.rendering:.*/[10.11], org.xwiki.platform:.*/[10.11] xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[10.11], org.xwiki.rendering:.*/[10.11], org.xwiki.platform:.*/[10.11]
1 +maven.groupid=org.xwiki.contrib maven.artifactid=application-opengraph-ui maven.Model=org.xwiki.contrib:application-opengraph-ui:xar:1.1 xwiki.extension.recommendedVersions.commons=org.xwiki.commons:.*/[10.11] xwiki.extension.recommendedVersions=org.xwiki.commons:.*/[10.11],
2 + org.xwiki.rendering:.*/[10.11],
3 + org.xwiki.platform:.*/[10.11] xwiki.extension.recommendedVersions.platform=org.xwiki.commons:.*/[10.11],
4 + org.xwiki.rendering:.*/[10.11],
5 + org.xwiki.platform:.*/[10.11]

Get Connected