rel-tag: Difference between revisions

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


== Draft Specification 2005-01-10 ==
==
=== Editor/Author ===
[http://tantek.com/ Tantek Çelik]
 
=== Concept ===
[http://powazek.com/ Derek Powazek]
[http://epeus.blogspot.com/ Kevin Marks]
 
=== Copyright ===
{{MicroFormatCopyrightStatement}}
=== Patents ===
{{MicroFormatPatentStatement}}
 
== 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="http://technorati.com/tag/tech" 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 ==
<pre><nowiki>
<dl class="profile">
<dt id="rel">rel</dt>
<dd><p>
  <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel">
    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>
</dd>
</dl>
</nowiki></pre>
 
== 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>http://technorati.com/tag/tech </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>  http://en.wikipedia.org/wiki/Technology </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 ==
* [http://gmpg.org/xmdp/ XMDP]
 
== Related Work ==
* [http://technorati.com/help/tags.html Using Technorati Tags]
* [http://developers.technorati.com/wiki/attentionxml Attention.XML]
* [http://dev.wp-plugins.org/wiki/BunnysTechnoratiTags "Tag plugin for wordpress"]

Revision as of 18:23, 23 June 2005

rel="tag"

==