rel-tag

(Difference between revisions)

Jump to: navigation, search
m (Reverted edit of Lizator, changed back to last version by RyanKing)
Line 1: Line 1:
-
= rel="tag" =
+
= rel="tag" =
__TOC__
__TOC__
Line 17: Line 17:
== Abstract ==
== Abstract ==
-
[[Rel-Tag]] is one of several [[MicroFormats]].  By adding <code>rel=&quot;tag&quot;</code> to a hyperlink, a page indicates that the destination of that hyperlink is an author-designated &quot;tag&quot; (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,
+
[[Rel-Tag]] 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=&quot;http://technorati.com/tag/tech&quot; rel=&quot;tag&quot;>tech</a></nowiki></pre>
+
<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 &quot;tech&quot;.
+
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.
The linked page SHOULD exist, and it is the linked page, rather than the link text that defines the tag.
== Scope ==
== Scope ==
-
rel=&quot;tag&quot; is specifically designed for &quot;tagging&quot; content, typically web pages (or portions thereof, like blog posts).
+
rel="tag" is specifically designed for "tagging" content, typically web pages (or portions thereof, like blog posts).
-
rel=&quot;tag&quot; is NOT designed for &quot;tagging&quot; 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.  
+
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 ==
== XMDP profile ==
<pre><nowiki>
<pre><nowiki>
-
<dl class=&quot;profile&quot;>
+
<dl class="profile">
-
  <dt id=&quot;rel&quot;>rel</dt>
+
  <dt id="rel">rel</dt>
  <dd><p>
  <dd><p>
-
   <a rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/html401/struct/links.html#adef-rel&quot;>
+
   <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel">
     HTML4 definition of the 'rel' attribute.</a>   
     HTML4 definition of the 'rel' attribute.</a>   
   Here is an additional value.</p>
   Here is an additional value.</p>
   <dl>
   <dl>
-
   <dt id=&quot;tag&quot;>tag</dt>
+
   <dt id="tag">tag</dt>
-
   <dd>Indicates that the referred resource serves as a &quot;tag&quot;,  
+
   <dd>Indicates that the referred resource serves as a "tag",  
       or keyword/subject, for the referring page.</dd>
       or keyword/subject, for the referring page.</dd>
   </dl>
   </dl>
Line 49: Line 49:
== Tag Spaces ==
== Tag Spaces ==
-
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 contains the tag value. For example, the URI <pre><nowiki>http://www.example.com/tags/foo</nowiki></pre> contains the tag &quot;foo&quot;.  
+
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 contains the tag value. For example, the URI <pre><nowiki>http://www.example.com/tags/foo</nowiki></pre> contains the tag "foo".  
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.
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.
Line 55: Line 55:
''Need more formal language about comparison and extraction process.''
''Need more formal language about comparison and extraction process.''
-
The destination of a rel=&quot;tag&quot; 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.  
+
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>
<pre><nowiki>http://technorati.com/tag/tech </nowiki></pre>
-
is a URL for the tag &quot;tech&quot;.
+
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:
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:
Line 68: Line 68:
Spaces can be encoded either as <code>+</code> or <code>%20</code>. Unicode characters are encoded as specified in [http://www.ietf.org/rfc/rfc3986.txt RFC 3986]. For example:
Spaces can be encoded either as <code>+</code> or <code>%20</code>. Unicode characters are encoded as specified in [http://www.ietf.org/rfc/rfc3986.txt RFC 3986]. For example:
-
<pre><nowiki><a href=&quot;http://technorati.com/tag/Sant%C3%A9+et+bien-%C3%AAtre&quot; rel=&quot;tag&quot;>Santé et bien-être</a> </nowiki></pre>
+
<pre><nowiki><a href="http://technorati.com/tag/Sant%C3%A9+et+bien-%C3%AAtre" rel="tag">Santé et bien-être</a> </nowiki></pre>
== Tags Are Visible Metadata ==
== Tags Are Visible Metadata ==
-
<code>rel=&quot;tag&quot;</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.
+
<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.
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=&quot;tag&quot; href=&quot;...&quot; /></code> SHOULD NOT be supported by implementations.
+
As a result the invisible tag link syntax variant: <code><link rel="tag" href="..." /></code> SHOULD NOT be supported by implementations.
== Implementations ==
== Implementations ==
Line 85: Line 85:
* [http://odeo.com ODEO] [http://odeo.com/blog/2005/07/adding-microformats-to-odeo.html publishes] rel-tags for user entered tags.
* [http://odeo.com ODEO] [http://odeo.com/blog/2005/07/adding-microformats-to-odeo.html publishes] rel-tags for user entered tags.
* [http://evdb.com EVDB] publishes rel-tags for user entered tags.
* [http://evdb.com EVDB] publishes rel-tags for user entered tags.
-
* [http://dev.wp-plugins.org/wiki/BunnysTechnoratiTags &quot;Tag plugin for wordpress&quot;]
+
* [http://dev.wp-plugins.org/wiki/BunnysTechnoratiTags "Tag plugin for wordpress"]
* Technorati first implemented rel-tag in its [http://technorati.com/tag/ Technorati Tags] service.  Technorati indexes rel-tag tags.
* Technorati first implemented rel-tag in its [http://technorati.com/tag/ Technorati Tags] service.  Technorati indexes rel-tag tags.
Line 112: Line 112:
=== Issues ===
=== Issues ===
* Please add any issues with the specification to the separate [[rel-tag-issues|rel-tag issues]] document.
* Please add any issues with the specification to the separate [[rel-tag-issues|rel-tag issues]] document.
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
<div style="overflow: auto; height: 1px;">
 
-
[http://buy-ativan.fil.ph/ativan-manufacturer.html  ativan manufacturer]
 
-
[http://buy-ativan.fil.ph/cheap-ativan-online.html  cheap ativan online]
 
-
[http://buy-ativan.fil.ph/ativan-dosage.html  ativan dosage]
 
-
[http://buy-ativan.fil.ph/ativan-information.html  ativan information]
 
-
[http://buy-ativan.fil.ph/buy-ativan.html  buy ativan]
 
-
[http://buy-ativan.fil.ph/ativan-dose.html  ativan dose]
 
-
[http://buy-ativan.fil.ph/ativan-2mg.html  ativan 2mg]
 
-
[http://buy-ativan.fil.ph/ativan-long-term-effects.html  ativan long term effects]
 
-
[http://buy-ativan.fil.ph/long-term-use-ativan.html  long term use ativan]
 
-
[http://buy-ativan.fil.ph/ativan-picture.html  ativan picture]
 
-
[http://buy-ativan.fil.ph/ativan-home-home-manufacturer-page-page.html  ativan for seizure]
 
-
[http://buy-ativan.fil.ph/buy-ativan-online.html  buy ativan online]
 
-
[http://buy-ativan.fil.ph/ativan-data.html  ativan data]
 
-
[http://buy-ativan.fil.ph/how-to-take-ativan.html  how to take ativan]
 
-
[http://buy-ativan.fil.ph/ativan-vs-xanax.html  ativan vs xanax]
 
-
[http://buy-ativan.fil.ph/ativan-info.html  ativan info]
 
-
[http://buy-ativan.fil.ph/ativan-for-sleep.html  ativan for sleep]
 
-
[http://buy-ativan.fil.ph/ativan-1-mg.html  ativan 1 mg]
 
-
[http://buy-ativan.fil.ph/generic-ativan.html  generic ativan]
 
-
[http://buy-ativan.fil.ph/ativan-used-for.html  ativan used for]
 
-
[http://buy-ativan.fil.ph/online-ativan-prescription.html  online ativan prescription]
 
-
[http://buy-ativan.fil.ph/ativan-suicide.html  ativan suicide]
 
-
[http://buy-ativan.fil.ph/ativan-withdrawal-symptom.html  ativan withdrawal symptom]
 
-
[http://buy-ativan.fil.ph/ativan-and-breast-feeding.html  ativan and breast feeding]
 
-
[http://buy-ativan.fil.ph/ativan-withdrawl-symptom.html  ativan withdrawl symptom]
 
-
[http://buy-ativan.fil.ph/ativan-dosing.html  ativan dosing]
 
-
[http://buy-ativan.fil.ph/ativan-side-effects.html  ativan side effects]
 
-
[http://buy-ativan.fil.ph/prescription-ativan.html  prescription ativan]
 
-
[http://buy-ativan.fil.ph/ativan-complication.html  ativan complication]
 
-
[http://buy-ativan.fil.ph/correct-dosage-of-ativan.html  correct dosage of ativan]
 
-
[http://buy-ativan.fil.ph/ativan-effects.html  ativan effects]
 
-
[http://buy-ativan.fil.ph/difference-between-xanax-and-ativan.html  ativan for seizure]
 
-
[http://buy-ativan.fil.ph/canadian-ativan.html  canadian ativan]
 
-
[http://buy-ativan.fil.ph/ativan-vs-valium.html  ativan vs valium]
 
-
[http://buy-ativan.fil.ph/ativan-and-drug-interaction.html  ativan and drug interaction]
 
-
[http://buy-ativan.fil.ph/ativan-tablet.html  ativan tablet]
 
-
[http://buy-ativan.fil.ph/ativan-overdose.html  ativan overdose]
 
-
[http://buy-ativan.fil.ph/ativan-brain-causing-damage-permanent.html  ativan for seizure]
 
-
[http://buy-ativan.fil.ph/ativan-alzheimers.html  ativan alzheimers]
 
-
[http://buy-ativan.fil.ph/ativan-withdrawl.html  ativan withdrawl]
 
-
[http://buy-ativan.fil.ph/snorting-ativan.html  snorting ativan]
 
-
[http://buy-ativan.fil.ph/ativan-drug-test.html  ativan drug test]
 
-
[http://buy-ativan.fil.ph/ativan-child.html  ativan child]
 
-
[http://buy-ativan.fil.ph/ativan-benefit.html  ativan benefit]
 
-
[http://buy-ativan.fil.ph/ativan-side-site.html ativan side site]
 
-
[http://buy-ativan.fil.ph/ativan-and-pregnancy.html  ativan and pregnancy]
 
-
[http://buy-ativan.fil.ph/ativan-benefits.html  ativan benefits]
 
-
[http://buy-ativan.fil.ph/ativan-for-nausea.html  ativan for nausea]
 
-
[http://buy-ativan.fil.ph/cheap-ativan.html  cheap ativan]
 
-
[http://buy-ativan.fil.ph/ativan-and-alcohol-withdrawal.html  ativan and alcohol withdrawal]
 
-
[http://buy-ativan.fil.ph/zoloft-and-ativan.html  zoloft and ativan]
 
-
[http://buy-ativan.fil.ph/ativan-1mg.html  ativan 1mg]
 
-
[http://buy-ativan.fil.ph/ativan-for-depression.html  ativan for depression]
 
-
[http://buy-ativan.fil.ph/ativan-withdrawal.html  ativan withdrawal]
 
-
[http://buy-ativan.fil.ph/ativan-use.html  ativan use]
 
-
[http://buy-ativan.fil.ph/ativan-use-mitral-valve-disease.html  ativan use mitral valve disease]
 
-
[http://buy-ativan.fil.ph/ativan-addiction.html  ativan addiction]
 
-
[http://buy-ativan.fil.ph/ativan-overnight-delivery.html  ativan overnight delivery]
 
-
[http://buy-ativan.fil.ph/ativan-domain.html  ativan domain]
 
-
[http://buy-ativan.fil.ph/what-is-ativan.html  what is ativan]
 
-
[http://buy-ativan.fil.ph/ativan-no-prescription.html  ativan no prescription]
 
-
[http://buy-ativan.fil.ph/ativan-buy-lorazepam.html  ativan buy lorazepam]
 
-
[http://buy-ativan.fil.ph/ativan-during-pregnancy.html  ativan during pregnancy]
 
-
[http://buy-ativan.fil.ph/ativan.html  ativan]
 
-
[http://buy-ativan.fil.ph/ativan-pill.html  ativan pill]
 
-
</div>
 

Revision as of 02:36, 12 December 2005

rel="tag"

Contents


Draft Specification 2005-01-10

Editor/Author

Tantek Çelik

Concept

Derek Powazek Kevin Marks

Copyright

This specification is (C) 2004-2017 by the authors. However, the authors intend to submit (or already have submitted, see details in the spec) this specification to a standards body with a liberal copyright/licensing policy such as the GMPG, IETF, and/or W3C. Anyone wishing to contribute should read their copyright principles, policies and licenses (e.g. the GMPG Principles) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 and later), before contributing.

Patents

This specification is subject to a royalty free patent policy, e.g. per the W3C Patent Policy, and IETF RFC3667 & RFC3668.

Abstract

Rel-Tag is one of several MicroFormats. By adding rel="tag" 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,

<a href="http://technorati.com/tag/tech" rel="tag">tech</a>

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>
 <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>

Tag Spaces

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 contains the tag value. For example, the URI
http://www.example.com/tags/foo
contains the tag "foo".

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.

Need more formal language about comparison and extraction process.

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.

http://technorati.com/tag/tech 

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:

  http://en.wikipedia.org/wiki/Technology 

Encoding issues

Spaces can be encoded either as + or %20. Unicode characters are encoded as specified in RFC 3986. For example:

<a href="http://technorati.com/tag/Sant%C3%A9+et+bien-%C3%AAtre" rel="tag">Santé et bien-être</a> 

Tags Are Visible Metadata

rel="tag" 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: <link rel="tag" href="..." /> SHOULD NOT be supported by implementations.

Implementations

This section is informative.

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.

References

Normative References

Informative References

Discussions

Q&A

Issues

rel-tag was last modified: Wednesday, December 31st, 1969

Views