Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16098

Add possibility to declare additional namespaces in the HTML code of a page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.3
    • None
    • None
    • Unknown

    Description

      This issue is about adding the possibility to declare new namespaces in the HTML tag. This is needed for example for adding OpenGraph support to pages. This can be achieved by adding either "xmlns" or "prefix" attributes, for example:

      <html xmlns:og="http://ogp.me/ns#">
      <html prefix="og: http://ogp.me/ns#">

      Another option would be to add this possibility at specific tag levels, such as the "head" tag:

      <head prefix="og: http://ogp.me/ns#">

      Should we handle this as a new extension point, what do you think?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slauriere slauriere
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: