[uf-discuss] Vote Links: rel="voted-for"
Ryan King
ryan at technorati.com
Mon Jan 22 10:33:24 PST 2007
On Jan 18, 2007, at 8:13 AM, Frances Berriman wrote:
> On 18/01/07, Ben Ward <lists at ben-ward.co.uk> wrote:
>> On 18 Jan 2007, at 15:49, Frances Berriman wrote:
>> > Could Sites of the Month not just use rev="vote-for"? As in - this
>> > site voted for me.
>>
>> Wrong way around Frances, I think.
>>
>> • rev="vote-for" — 'this site is a vote for the href'
>> • rel="vote-for" — 'href is a vote for this site'
>>
>> Your concept is correct, though. It definitely seems like a valid
>> case for a rel-vote.
>>
>> So: <a href="http://back.to/site/a" title="Voted 'site of the month'
>> by Site A' rel="vote-for">Site of the Month!</a> could be used to
>> indicate your site had been 'voted for' by another.
>
> Doh! I think you're right.
This is a very, very common mistake. So common, in fact, that the
current HTML5 draft drops @rev. In the interest of keeping vote-links
future compatible, we should rely on using both rel and rev. See the
rel-faq [http://microformats.org/wiki/rel-faq#Should_.27rev.
27_even_be_used].
> Anyway - the rev/rel relationsip basically means you (should) never
> have to extend your class names to do the other half of a partnership.
In theory, yes, but in practice we can't make use of both rel and rev.
-ryan
--
Ryan King
ryan at technorati.com
More information about the microformats-discuss
mailing list