<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HubTag</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HubTag"/>
	<link rel="alternate" type="text/html" href="http://microformats.org/wiki/Special:Contributions/HubTag"/>
	<updated>2026-04-05T20:31:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=rel-tag&amp;diff=18015</id>
		<title>rel-tag</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=rel-tag&amp;diff=18015"/>
		<updated>2007-03-19T18:16:54Z</updated>

		<summary type="html">&lt;p&gt;HubTag: Added a new implementation - rel-tag links are supported in the technorati search tag and in the email sent to site users&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt; rel-tag &amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Draft Specification 2005-01-10 ==&lt;br /&gt;
=== Editors/Authors ===&lt;br /&gt;
[http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
[http://epeus.blogspot.com/ Kevin Marks]&lt;br /&gt;
&lt;br /&gt;
=== Concept ===&lt;br /&gt;
[http://powazek.com/ Derek Powazek]&lt;br /&gt;
&lt;br /&gt;
=== Copyright ===&lt;br /&gt;
{{MicroFormatCopyrightStatement2004}}&lt;br /&gt;
&lt;br /&gt;
=== Patents ===&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
== Abstract ==&lt;br /&gt;
[[Rel-Tag]] is one of several [[MicroFormats]].  By adding &amp;lt;code&amp;gt;rel=&amp;amp;quot;tag&amp;amp;quot;&amp;lt;/code&amp;gt; to a hyperlink, a page indicates that the destination of that hyperlink is an author-designated &amp;amp;quot;tag&amp;amp;quot; (or keyword/subject) for 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,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;amp;quot;http://technorati.com/tag/tech&amp;amp;quot; rel=&amp;amp;quot;tag&amp;amp;quot;&amp;gt;tech&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the author indicates that the page (or some portion of the page) has the tag &amp;amp;quot;tech&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The linked page SHOULD exist, and it is the linked page, rather than the link text, that defines the tag. The last path component of the URL&lt;br /&gt;
is the text of the tag, so &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;amp;quot;http://technorati.com/tag/tech&amp;amp;quot; rel=&amp;amp;quot;tag&amp;amp;quot;&amp;gt;fish&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would indicate the tag &amp;amp;quot;tech&amp;amp;quot; rather than &amp;amp;quot;fish&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Scope ==&lt;br /&gt;
rel=&amp;amp;quot;tag&amp;amp;quot; is specifically designed for &amp;amp;quot;tagging&amp;amp;quot; content, typically web pages (or portions thereof, like blog posts).&lt;br /&gt;
&lt;br /&gt;
rel=&amp;amp;quot;tag&amp;amp;quot; is NOT designed for &amp;amp;quot;tagging&amp;amp;quot; arbitrary URLs or external content.  There is demand for a general decentralized syntax for tagging URLs external to the current page, but this is not meant for that.  See [[xfolk|xFolk]] and [[hreview|hReview]] for ways to tag arbitrary URLs.&lt;br /&gt;
&lt;br /&gt;
If you need to define tags as part of a more specialised format,  rel=&amp;amp;quot;tag&amp;amp;quot; is the recommended way to do so, and [[xfolk|xFolk]], [[hreview|hReview]], [[hcard |hCard]]  and [[hcalendar|hCalendar]] all do this.&lt;br /&gt;
== XMDP profile ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;dl class=&amp;amp;quot;profile&amp;amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;dt id=&amp;amp;quot;rel&amp;amp;quot;&amp;gt;rel&amp;lt;/dt&amp;gt;&lt;br /&gt;
 &amp;lt;dd&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;
   &amp;lt;a rel=&amp;amp;quot;help&amp;amp;quot; href=&amp;amp;quot;http://www.w3.org/TR/html401/struct/links.html#adef-rel&amp;amp;quot;&amp;gt;&lt;br /&gt;
     HTML4 definition of the 'rel' attribute.&amp;lt;/a&amp;gt;  &lt;br /&gt;
   Here is an additional value.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;dl&amp;gt;&lt;br /&gt;
   &amp;lt;dt id=&amp;amp;quot;tag&amp;amp;quot;&amp;gt;tag&amp;lt;/dt&amp;gt;&lt;br /&gt;
   &amp;lt;dd&amp;gt;Indicates that the referred resource serves as a &amp;amp;quot;tag&amp;amp;quot;, &lt;br /&gt;
       or keyword/subject, for the referring page.&amp;lt;/dd&amp;gt;&lt;br /&gt;
  &amp;lt;/dl&amp;gt;&lt;br /&gt;
 &amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tag Spaces ==&lt;br /&gt;
&lt;br /&gt;
Tags are embedded in HTTP URIs in a well-defined manner so that the tag embedded in an HTTP URI can be mechanically extracted from that URI. Specifically, the last segment of the path portion of the URI (after the final &amp;quot;/&amp;quot; character) contains the tag value. For example, the URI &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://www.example.com/tags/foo&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt; contains the tag &amp;amp;quot;foo&amp;amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Thus, for the purposes of comparing two HTTP URIs as tags, the last segment of the path portion should be extracted and only that value (that value of the tag) should be compared.&lt;br /&gt;
&lt;br /&gt;
''Need more formal language about comparison and extraction process.''&lt;br /&gt;
&lt;br /&gt;
The destination of a rel=&amp;amp;quot;tag&amp;amp;quot; hyperlink is required to be a tag space (a place that collates or defines tags), where the last segment of the path of the URL is the tag, e.g. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://technorati.com/tag/tech &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is a URL for the tag &amp;amp;quot;tech&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Tags may only be placed in the URL path, and only in the last segment of the path.  Tags may not be placed in query parameters or fragment identifiers.  e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://technorati.com/tag/tech?tag=fish#emu &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is still a URL for the tag &amp;amp;quot;tech&amp;amp;quot;, not &amp;amp;quot;fish&amp;amp;quot; or &amp;amp;quot;emu&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Since the only part of a tag space URL of which any structure is required is the last path 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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;  http://en.wikipedia.org/wiki/Technology &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Trailing slashes in tag URLs are ignored, that is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;  http://technorati.com/tag/Technology/ &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
as a rel-tag URL is treated as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;  http://technorati.com/tag/Technology &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Encoding issues ==&lt;br /&gt;
Spaces can be encoded either as &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;%20&amp;lt;/code&amp;gt;. Unicode characters are encoded as specified in [http://www.ietf.org/rfc/rfc3986.txt RFC 3986]. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;amp;quot;http://technorati.com/tag/Sant%C3%A9+et+bien-%C3%AAtre&amp;amp;quot; rel=&amp;amp;quot;tag&amp;amp;quot;&amp;gt;Santé et bien-être&amp;lt;/a&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that if using Wikipedia as a tagspace, as discussed above, you should use &amp;lt;code&amp;gt;%20&amp;lt;/code&amp;gt; as they remap '+' to &amp;lt;code&amp;gt;%2B&amp;lt;/code&amp;gt;, causing  a page with a plus sign in the title (which usually does not exist) to appear.&lt;br /&gt;
&lt;br /&gt;
== Tags Are Visible Metadata ==&lt;br /&gt;
&amp;lt;code&amp;gt;rel=&amp;amp;quot;tag&amp;amp;quot;&amp;lt;/code&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
As a result the invisible tag link syntax variant: &amp;lt;code&amp;gt;&amp;lt;link rel=&amp;amp;quot;tag&amp;amp;quot; href=&amp;amp;quot;...&amp;amp;quot; /&amp;gt;&amp;lt;/code&amp;gt; SHOULD NOT be supported by implementations.&lt;br /&gt;
&lt;br /&gt;
==Examples in the Wild==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
&lt;br /&gt;
The following sites have implemented rel-tag, and thus are a great place to start for anyone looking for examples &amp;quot;in the wild&amp;quot; to try parsing, indexing, organizing etc. If your site marked up with rel-tag, feel free to add it to the '''top''' of this list. Once the list grows too big, we'll make a separate wiki page.&lt;br /&gt;
&lt;br /&gt;
* [http://www.international.unt.edu UNT International] uses rel-tag to indicate content categories on most pages&lt;br /&gt;
* [http://yedda.com Yedda] - Yedda publishes rel-tags for all of the tags the people entered on themselves as well as on all tags entered on questions asked on Yedda.&lt;br /&gt;
* [http://www.lingr.com Lingr] publishes rel-tags for all user entered tags.&lt;br /&gt;
* [http://odeo.com ODEO] [http://odeo.com/blog/2005/07/adding-microformats-to-odeo.html publishes] rel-tags for user entered tags.&lt;br /&gt;
* [http://eventful.com Eventful] publishes rel-tags for user entered tags.&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
This section is '''informative'''.&lt;br /&gt;
&lt;br /&gt;
The following implementations have been developed which either generate or parse rel-tag links. If you have a rel-tag implementation, feel free to add it to the '''top''' of this list. Once the list grows too big, we'll make a separate wiki page.&lt;br /&gt;
&lt;br /&gt;
* [http://www.hubtag.com HubTag] helps users find a unique tag across the web for their event - eg. JohnAndBettysWeddingWimbledonMarch07&lt;br /&gt;
* [http://www.necctar.com Necctar] is a search engine exclusively based on tag microformat parsing and processing. Necctar uses tags entered by bloggers to index the world wide web&lt;br /&gt;
* Nutch has a [[rel-tag]] parser [http://www.mail-archive.com/nutch-commits@lucene.apache.org/msg01014.html committed to their svn repository].&lt;br /&gt;
* [http://www.webstandards.org/action/dwtf/microformats/ Dreamweaver Extension suite] from the [http://webstandards.org/ Web Standards Project] enables rel-tagging from within Dreamweaver 8.&lt;br /&gt;
* [http://scooch.gr0w.com/ Scooch] slide show creator allows authors to generate rel-tags and group slide shows by rel-tag via a list or cloud with tag usage count.&lt;br /&gt;
* The Freetag plugin for the [http://www.s9y.org Serendipity] blog software supports rel-tags on a per-entry basis, as well as inside of its tag clouds.  (The Freetag plugin is available inside of SPARTACUS)&lt;br /&gt;
* [http://placenamehere.com/TXP/pnh_mf/ pnh_mf] is a plugin for [http://textpattern.com/ Textpattern] that supports embedding rel-tags and other microformats in templates and blog posts. Written by [http://placenamehere.com/ Chris Casciano].&lt;br /&gt;
* [http://www.truist.com/blog/493/trutags-a-tagging-plugin-for-textpattern tru_tags] is a plugin for [http://textpattern.com/ Textpattern] that supports rel-tagging blog posts via the Keywords field.&lt;br /&gt;
* [http://news.livejournal.com/86492.html?thread=24881884 LiveJournal] - see also [http://www.livejournal.com/support/faq.bml?cat=tags their FAQ regarding their tags support]&lt;br /&gt;
* [http://trac.labnotes.org/cgi-bin/trac.cgi/wiki/TagsLinks TagsLinks] Turn each tag into links that let you find related content on tagging services.&lt;br /&gt;
* [http://dev.wp-plugins.org/wiki/BunnysTechnoratiTags Tag plugin for WordPress]&lt;br /&gt;
** Note that some sites using WordPress (http://microformatique.com/ for instance) are getting incorrect tags. The tag is ?cat=12 instead of the actual tag value.&lt;br /&gt;
* [http://noone.org/blog/tags/Tagging Tag plugin for Blosxom]&lt;br /&gt;
* Technorati first implemented rel-tag in its [http://technorati.com/tag/ Technorati Tags] service. Technorati indexes rel-tag tags.&lt;br /&gt;
* [http://consumingexperience.blogspot.com/2005/12/updated-multiple-word-technorati-tag.html Greasemonkey script for Firefox that generates tags for Blogger]&lt;br /&gt;
* [http://tools.microformatic.com/help/xhtml/rel-lint/ rel-lint] is a validation tool by [[User:DrewMcLellan|Drew McLellan]] that will validate existence of rel-tag attributes.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
=== Normative References ===&lt;br /&gt;
* [http://www.w3.org/TR/REC-html40/ HTML 4]&lt;br /&gt;
* [http://www.w3.org/TR/xhtml1/ XHTML 1]&lt;br /&gt;
* [http://gmpg.org/xmdp/ XMDP]&lt;br /&gt;
* RFC 3986 specifies URL syntax.  Section 3.3 specifies URL paths and path segments.&lt;br /&gt;
&lt;br /&gt;
=== Informative References ===&lt;br /&gt;
* [[hreview|hReview]] uses rel-tag for tags and scalar tags&lt;br /&gt;
* [[xfolk|xFolk]] uses rel-tag to build a distributed remote resource tagging construct&lt;br /&gt;
* [http://developers.technorati.com/wiki/attentionxml Attention.XML] uses rel-tag for reader tagging of pages, posts, feeds&lt;br /&gt;
* [[hcard|hCard]] can use rel-tag for categories&lt;br /&gt;
* [[hcalendar|hCalendar]] can use rel-tag for categories&lt;br /&gt;
* [http://technorati.com/help/tags.html Using Technorati Tags]&lt;br /&gt;
* Contributed from http://developers.technorati.com/wiki/RelTag&lt;br /&gt;
* [http://microformatique.com/?p=61 Know your rel-tag] at microformatique.com&lt;br /&gt;
&lt;br /&gt;
== Discussions ==&lt;br /&gt;
* Feedback is encouraged on the [[rel-tag-feedback]] page.&lt;br /&gt;
* See also [http://www.technorati.com/cosmos/referer.html blogs discussing this page].&lt;br /&gt;
* History: [http://www.powazek.com/2005/07/000532.html How Tags Happened at Technorati] by [http://www.powazek.com/ Derek Powazek]&lt;br /&gt;
&lt;br /&gt;
=== Q&amp;amp;A ===&lt;br /&gt;
* If you have any questions about rel-tag, check the [[rel-faq|rel FAQ]] first for general rel attribute questions, then check the [[rel-tag-faq|rel-tag FAQ]], and then if you don't find answers, ask your question on the [http://microformats.org/discuss microformats-discuss] mailing list.&lt;br /&gt;
&lt;br /&gt;
==Related pages==&lt;br /&gt;
{{rel-tag-related-pages}}&lt;/div&gt;</summary>
		<author><name>HubTag</name></author>
	</entry>
</feed>