From Microformats Wiki
Revision as of 01:00, 14 October 2006 by Vantguarde (talk | contribs) (Created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vote Links

Specification 2005





© 2004-2023 by the authors.

この仕様の著作権は、ページ編集に関わった人全てが保有しています。 しかし、著者はこの仕様をGMPGIETFW3Cなどの標準化団体に提出することを考えています。この仕様に貢献したい場合は、これらの団体が持つ著作権に対する方針やポリシー(例:GMPG Principles)を読み、ライセンスに関する規定(例:CC-by 1.0や後のバージョン)を理解した上でお願いします。


この仕様はロイヤリティーフリーの特許方針に帰属するものです。特許方針に関してはW3C Patent PolicyRFC3667RFC3668をご覧下さい。


VoteLinksに対しフィードバックをくれたみなさんに感謝します。特にEtanWexler、彼はVoteLinksの文書に置いて初めて、Votelinksはrel属性ではなくrev属性を使うべきだと指摘しました(votelinks-faq)。また同じくrel属性について考え、relやrev、linktypesの利用法をrel-faqとしてまとめたJohn Allsoppにも謝辞を述べたいと思います。




VoteLinksは単純microformatと呼ばれる、microformatsオープンスタンダードのひとつです。 私たちはHTMLにてハイパーリンクを張るa要素、そのrev属性に対し、3つの新しい値を提案します。

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.


<a rev="vote-for" href=""  
   title="neat spoof">Raging Cow</a>
<a rev="vote-against" href=""  
   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 rel-faq 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="">
         HTML4 definition of the 'rev' attribute.</a>  
  Here are some additional values.</p>
   <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>


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