Illustration of the rel links module

This project is not covered by Drupal’s security advisory policy.

Add rdf/html/xhtml-vocab rel="next" sort of meta tags describing menu navigation when displaying nodes.

Inserts rel links pointing up, down and sideways to give semantic scrapers clues about the site structure.

Refer to http://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1

This has been created to support a graphical RDF-based site visualizer : RDFViz.

This has no UI. Just enable it and you'll see some new (invisible) tags turn up in node elements when the HTML is rendered. (full view & teaser).

Browsers such as Opera support these links natively, and plugins such as Link Widgets make them useful also. Importantly, RDF, semantic site scrapers should be able to use this when analyzing your site.

So far this is MENU based only. You can get similar effects with noderelation/entityrelation by enabling RDF UI from RDFx and defining a predicate (eg dc:relation) in the RDF field mapping.
book.module used to do this natively, not sure if it's still supported.

Each of the links can be toggled by setting Drupal variables 'rel_links_up', 'rel_links_down', 'rel_links_next' (no UI for this)
Links down to a nodes children are represented by rel='subsection'.

Following RDFa style metadata annotations, the links are embedded within the node elements themselves, and thus refer to the node content (not the page).
This is evident in teaser lists, where multiple nodes have multiple relationships. RDFa Parsers are able to identify the correct relationships from structural context.

This module was finally built - based on a request from 2005! (also by me :-)

A number of years later, #1868460: adding rel=prev / rel=next added something like this to metatag.module for 'book' structure. You may want to test that out also.

Project information

Releases