rel-up: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(added short description, example (the wiki doesn’t let me post an external link, so I put the URL into <nowiki> tags))
(added standards that define rel=up and an implementation (the wiki doesn’t let me post an external link, so I put the URL into <nowiki> tags))
Line 20: Line 20:


''next'' and ''prev'' relate to documents on the same hierarchy level while ''up'' moves one level up.
''next'' and ''prev'' relate to documents on the same hierarchy level while ''up'' moves one level up.
== Standards ==
The link relation ''up'' is recognized in standards:
* IANA link relations registry (<nowiki>https://www.iana.org/assignments/link-relations/link-relations.xhtml</nowiki>)
* XHTML vocabulary (<nowiki>https://www.w3.org/1999/xhtml/vocab#up</nowiki>)
** and hence XHTML+RDFa Initial Context (<nowiki>https://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1</nowiki>)


== Implementations ==
== Implementations ==
Line 26: Line 34:
* https://chrome.google.com/webstore/detail/cgddacggfmoggigikjjcogdodjiplibe
* https://chrome.google.com/webstore/detail/cgddacggfmoggigikjjcogdodjiplibe
* http://www.seamonkey-project.org/
* http://www.seamonkey-project.org/
* <nowiki>https://www.drupal.org/project/rel_links</nowiki>


== See Also ==
== See Also ==

Revision as of 14:28, 20 June 2018

This article is a stub. You can help the microformats.org wiki by expanding it.

Description

Refers to a parent document in a hierarchy of documents.

Example

A page (https://prlbr.de/galerie/14/am-pranger/) in a photo gallery showcases a photo. The page defines multiple link relations which refer to the

  • next page which contains the next photo from the gallery
  • previous page from the gallery
  • parent page using up, which shows previews of many photos as thumbnails including the current one and includes links to their corresponding pages.
<link rel='next' href='/galerie/14/mustergatte/'>
<link rel='prev' href='/galerie/14/linie-1/'>
<link rel='up' href='/galerie/seite-6'>

next and prev relate to documents on the same hierarchy level while up moves one level up.

Standards

The link relation up is recognized in standards:

  • IANA link relations registry (https://www.iana.org/assignments/link-relations/link-relations.xhtml)
  • XHTML vocabulary (https://www.w3.org/1999/xhtml/vocab#up)
    • and hence XHTML+RDFa Initial Context (https://www.w3.org/2011/rdfa-context/xhtml-rdfa-1.1)

Implementations

See Also