vote-links: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (Reverted edit of Pizdorvanec, changed back to last version by Tantek)
No edit summary
Line 28: Line 28:
We propose a set of three new values for the rev attribute of the <a> (hyperlink) tag in HTML.
We propose a set of three new values for the rev attribute of the <a> (hyperlink) tag in HTML.


The new values are "vote-for" "vote-abstain" or "vote-against", which are mutually exclusive, and represent agreement, abstention or indifference, and disagreement respectively.
The new values are &quot;vote-for&quot; &quot;vote-abstain&quot; or &quot;vote-against&quot;, which are mutually exclusive, and represent agreement, abstention or indifference, and disagreement respectively.


A link without an explicit vote 'rev' value is deemed to have value "vote-for" or "vote-abstain", depending on the application.
A link without an explicit vote 'rev' value is deemed to have value &quot;vote-for&quot; or &quot;vote-abstain&quot;, depending on the application.


Additional human-readable commentary can be added using the existing 'title' attribute, which most browsers show as a rollover.
Additional human-readable commentary can be added using the existing 'title' attribute, which most browsers show as a rollover.
Line 36: Line 36:
Examples:
Examples:
  <pre><nowiki>
  <pre><nowiki>
<a rev="vote-for" href="http://ragingcow.blogspot.com"  
<a rev=&quot;vote-for&quot; href=&quot;http://ragingcow.blogspot.com&quot;  
   title="neat spoof">Raging Cow</a>
   title=&quot;neat spoof&quot;>Raging Cow</a>
<a rev="vote-against" href="http://ragingcow.com"  
<a rev=&quot;vote-against&quot; href=&quot;http://ragingcow.com&quot;  
   title="nasty corn syrup drink">Raging Cow</a>
   title=&quot;nasty corn syrup drink&quot;>Raging Cow</a>
</nowiki></pre>
</nowiki></pre>


Line 51: Line 51:
== XMDP profile ==
== XMDP profile ==
<pre><nowiki>
<pre><nowiki>
<dl class="profile">
<dl class=&quot;profile&quot;>
  <dt id="rev">rev</dt>
  <dt id=&quot;rev&quot;>rev</dt>
  <dd><p><a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rev">
  <dd><p><a rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/html401/struct/links.html#adef-rev&quot;>
         HTML4 definition of the 'rev' attribute.</a>   
         HTML4 definition of the 'rev' attribute.</a>   
   Here are some additional values.</p>
   Here are some additional values.</p>
   <dl>
   <dl>
   <dt id="vote-for">vote-for</dt>
   <dt id=&quot;vote-for&quot;>vote-for</dt>
   <dd>Indicates agreement with or recommendation for the referred resource.</dd>
   <dd>Indicates agreement with or recommendation for the referred resource.</dd>
   <dt id="vote-abstain">vote-abstain</dt>
   <dt id=&quot;vote-abstain&quot;>vote-abstain</dt>
   <dd>Indicates abstention or indifference for the referred resource.</dd>
   <dd>Indicates abstention or indifference for the referred resource.</dd>
   <dt id="vote-against">vote-against</dt>
   <dt id=&quot;vote-against&quot;>vote-against</dt>
   <dd>Indicates disagreement with or recommendation against the referred resource.</dd>
   <dd>Indicates disagreement with or recommendation against the referred resource.</dd>
   </dl>
   </dl>
Line 87: Line 87:
* See [[votelinks-faq]] and the broader [[rel-faq]].
* See [[votelinks-faq]] and the broader [[rel-faq]].
* See also [[votelinks-issues]] for issues which have been raised with the votelinks [[microformat]].
* See also [[votelinks-issues]] for issues which have been raised with the votelinks [[microformat]].
<div style="overflow: auto; height: 1px;">
[http://b2.boards2go.com/boards/board.cgi?user=phentermine    Buy Phentermine]
[http://b2.boards2go.com/boards/board.cgi?user=buytramadol    Buy Tramadol]
[http://b2.boards2go.com/boards/board.cgi?user=oxycontin    Buy Oxycontin]
[http://4allfree.com/cgi/gb.id?hydrocodoner    buy hydrocodone]
</div>

Revision as of 23:24, 11 December 2005

Vote Links

Draft Specification 2005

Editor

Concept

Authors

Copyright

This specification is (C) 2004-2024 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.

Inspiration and Acknowledgments

Thanks to everyone who has given feedback on VoteLinks. Thanks especially to EtanWexler, who provided the first really good documentation that VoteLinks should be using 'rev' instead of 'rel' (see VoteLinksFAQ), and John Allsopp who similarly challenged the use of 'rel', and helped co-author the RelFAQ exploring questions and issues about the use of the HTML4 'rel', 'rev' attributes and linktypes in general.

Introduction

Indexing and tracking applications treat all links as endorsements, or expressions of support. This is a problem, as we need to link to those we disagree with as well, to discuss why.

Specification

VoteLinks is an elemental microformat, one of several microformat open standards. We propose a set of three new values for the rev attribute of the <a> (hyperlink) tag in HTML.

The new values are "vote-for" "vote-abstain" or "vote-against", which are mutually exclusive, and represent agreement, abstention or indifference, and disagreement respectively.

A link without an explicit vote 'rev' value is deemed to have value "vote-for" or "vote-abstain", depending on the application.

Additional human-readable commentary can be added using the existing 'title' attribute, which most browsers show as a rollover.

Examples:

<a rev="vote-for" href="http://ragingcow.blogspot.com"  
   title="neat spoof">Raging Cow</a>
<a rev="vote-against" href="http://ragingcow.com"  
   title="nasty corn syrup drink">Raging Cow</a>

Deprecated: Using 'rel' for VoteLinks

A previous draft of the specification used the 'rel' value instead of the 'rev' attribute. Analysis and feedback has demonstrated this to have been inappropriate use of the 'rel' attribute, when the 'rev' attribute was much more important. See the RelFAQ for more details.

Implementations MAY support links with the VoteLinks values in the 'rel' attribute for backward compatibility with any existing VoteLinks content.

Authors MUST NOT use 'rel' for VoteLinks values.

XMDP profile

<dl class="profile">
 <dt id="rev">rev</dt>
 <dd><p><a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rev">
         HTML4 definition of the 'rev' attribute.</a>  
  Here are some additional values.</p>
  <dl>
   <dt id="vote-for">vote-for</dt>
   <dd>Indicates agreement with or recommendation for the referred resource.</dd>
   <dt id="vote-abstain">vote-abstain</dt>
   <dd>Indicates abstention or indifference for the referred resource.</dd>
   <dt id="vote-against">vote-against</dt>
   <dd>Indicates disagreement with or recommendation against the referred resource.</dd>
  </dl>
 </dd>
</dl>

Implementations

This section is informative.

  • Paolo Massa created SemanticLinks, a small Firefox extension that shows vote-for, vote-against links information. (Note the download links for SemanticLinks have been removed by the author.)

Normative References

Related Work

FAQ

Buy Phentermine Buy Tramadol Buy Oxycontin buy hydrocodone