rel-tag: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:

== Draft Specification 2005-01-10 ==
=== Editor/Author ===
[ Tantek Γ‡elik]
=== Concept ===
[ Derek Powazek]
[ Kevin Marks]
=== Copyright ===
=== Patents ===
== Abstract ==
RelTag is one of several MicroFormats.Β  By adding <code>rel="tag"</code> to a hyperlink, a page indicates that the destination of that hyperlink is an author-designated "tag" (or keyword/subject) of the current page. Note that a tag may just refer to a major portion of the current page (i.e. a blog post). e.g. by placing this link on a page,
<pre><nowiki><a href="" rel="tag">tech</a></nowiki></pre>
the author indicates that the page (or some portion of the page) has the tag "tech".
The linked page SHOULD exist, and it is the linked page, rather than the link text that defines the tag.
== Scope ==
rel="tag" is specifically designed for "tagging" content, typically web pages (or portions thereof, like blog posts).
rel="tag" is NOT designed for "tagging" arbitrary URLs or external content.Β  There is demand for a general decentralized syntax for tagging URLs, and that is certainly something to think about, but this is not meant for that.
== XMDP profile ==
<dl class="profile">
<dt id="rel">rel</dt>
Β  <a rel="help" href="">
Β  Β  HTML4 definition of the 'rel' attribute.</a>Β 
Β  Here is an additional value.</p>
Β  <dl>
Β  <dt id="tag">tag</dt>
Β  <dd>Indicates that the referred resource serves as a "tag",
Β  Β  Β  or keyword/subject, for the referring page.</dd>
Β  </dl>
== Tag Spaces ==
The destination of a rel="tag" hyperlink is required to be a tag space (a place that collates or defines tags), where the last component of the URL is the tag, e.g.
<pre><nowiki> </nowiki></pre>
is a URL for the tag "tech".
Since the only part of a tag space URL of which any structure is required is the last segment, a tag space URL can be hosted at any domain.Β  Authors may choose to link to a tag at a particular tag space in order to provide a specific meaning.Β  E.g. a tag for technology could link to:
<pre><nowiki>Β </nowiki></pre>
== Tags Are Visible Metadata ==
<code>rel="tag"</code> hyperlinks are intended to be visible links on pages and posts.Β  This is in stark contrast to meta keywords (which were invisible and typically never revealed to readers), and thus is at least somewhat more resilient to the problems which plagued meta keywords.
Making tag hyperlinks visible has the additional benefit of making it more obvious to readers if a page is abusing tag links, and thus providing more peer pressure for better behavior.Β  It also makes it more obvious to authors, who may not always be aware what invisible metadata is being generated on their behalf.
As a result the invisible tag link syntax variant: <code><link rel="tag" href="..." /></code> SHOULD NOT be supported by implementations.
== Normative References ==
* [ XMDP]
== Related Work ==
* [ Using Technorati Tags]
* [ Attention.XML]
* [ "Tag plugin for wordpress"]

Revision as of 18:23, 23 June 2005