From version < 13.1 >
edited by slauriere
on 2019/06/06
To version < 14.1 >
edited by slauriere
on 2019/06/06
< >
Change comment: There is no comment for this version

Summary

Details

ExtensionPoint.UIXDescriptionClass[0]
How this Extension Point is used
... ... @@ -8,8 +8,9 @@
8 8  [[image:html-head-extension-example.jpg]]
9 9  )))
10 10  
11 -Here is the HTML code dynamically added to the ##head## tag in the above example:
12 12  
12 +And here is the HTML code dynamically added to the ##head## tag in the above example:
13 +
13 13  {{code language="html"}}
14 14   <meta property="og:url" content="http://ako:8090/xwiki-11.2/wiki/abraca/view/Main/Buster%20Keaton"/>
15 15   <meta property="og:type" content="article" />

Adds content to the HTML "head" tag of all wiki pages

Usage

The extension point adds the provided content to the page HTML head element. It is typically useful for adding HTML metadata to pages. 

It was introduced in version 11.1RC1 with the identifier org.xwiki.platform.head and was later changed to org.xwiki.platform.html.head in 11.5.

The screenshot below illustrates an example of metadata tags injected into the HTML head using this extension point.

html-head-extension-example.jpg

Here is the HTML code dynamically added to the head tag in the above example:

And here is the HTML code dynamically added to the head tag in the above example:

  <meta property="og:url" content="http://ako:8090/xwiki-11.2/wiki/abraca/view/Main/Buster%20Keaton"/>
  <meta property="og:type" content="article" />
  <meta property="og:title" content="Buster Keaton" />
  <meta property="og:image" content="http://ako:8090/xwiki-11.2/wiki/abraca/download/Main/Buster%20Keaton/Busterkeaton.jpg" />
                                    

Definition

This Extension Point is contributed by this extension and was added in version 11.1-rc-1 of that extension.

Category
HTML
Extension Id
org.xwiki.platform.html.head
Content to be provided

The content to be added in the HTML head tag of all wiki pages.

Parameters to be provided

Order: used for ordering the extensions.

Example

This extension point is used by the OpenGraph application.

Get Connected