Description
Link Extensions allow adding generic <link> elements in the document header. This allows to add RSS/Atom links from applications, provide navigational links for a series of related documents, add metadata links, etc.
For example:
$xwiki.linkx.use($doc.getURL('view', 'xpage=rss'), {'rel': 'alternate', 'type': 'application/rdf+xml'}) $xwiki.linkx.use($doc.getURL('view', 'xpage=doap'), {'rel': 'meta', 'type': 'application/rdf+xml', 'title': 'DOAP'})