Specification 2005

Editor

Concept

Authors

Copyright

Public Domain Contribution Requirement. Since the author(s) released this work into the public domain, in order to maintain this work's public domain status, all contributors to this page agree to release their contributions to this page to the public domain as well. Contributors may indicate their agreement by adding the public domain release template to their user page per the Voluntary Public Domain Declarations instructions. Unreleased contributions may be reverted/removed.

Tantek: I release all my contributions to this specification into the public domain and I encourage the other authors to do so as well.

Kevin Marks: I release all my contributions to this specification into the public domain and I encourage the other authors to do so as well.

Patents

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:

<arev="vote-for"href="http://example.com/cheesevote"title="Melt the cheese!">Do it!</a><arev="vote-against"href="http://example.com/cheesevote"title="Don't melt the cheese!">Don't do it!</a>

Deprecated: Using 'rel' for VoteLinks

A previous draft of the specification used the 'rel' attribute 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.

URLs

Usage

Profiles are referenced in (X)HTML files in the <HEAD> tag, e.g.:

<headprofile='http://microformats.org/profile/vote-links'>

Profile

<dlclass="profile"><dtid="rev">rev</dt><dd><p><arel="help"href="http://www.w3.org/TR/html401/struct/links.html#adef-rev">
HTML4 definition of the 'rev' attribute.</a>
Here are additional values as defined in the
<arel="help start"href="http://microformats.org/wiki/vote-links">
vote-links specification</a>
.</p><dl><dtid="vote-for">vote-for</dt><dd>Indicates agreement with or recommendation for the referred resource.</dd><dtid="vote-abstain">vote-abstain</dt><dd>Indicates abstention or indifference for the referred resource.</dd><dtid="vote-against">vote-against</dt><dd>Indicates disagreement with or recommendation against the referred resource.</dd></dl></dd></dl>

moloko.itc.it site is unresponsive. was: 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.)

Examples in the wild

This section is informative.

The following sites have implemented VoteLinks , and thus are a great place to start for anyone looking for examples "in the wild" to try parsing, indexing, organizing etc. If your site marked up with VoteLinks, feel free to add it to the top of this list. Once the list grows too big, we'll make a separate wiki page.

LikeOrHate uses Vote-Links all over the site, to rate anything, items, comments, users. Valid votes are Like, Hate, Whatever ("vote-for", "vote-against", "vote-abstain"). CSS is used to "check" votes so logged users can remember them later.