List Info

Thread: Re: RFC: sHTML Video Thumbnailing




Re: RFC: sHTML Video Thumbnailing
country flaguser name
United Kingdom
2007-05-27 20:04:42
Charles Iliya Krempeaux wrote:

>> <a rev="thumbnail" href="http://example.com
/video">
>>    <img src="http://exa
mple.com/thumbnail.jpg">
>> </a>
> 
> I'm not sure if the "rev" attribute is being
used correctly in your markup.

Rev defines the reverse link to the current document, not to
whatever is 
encapsulated by the link itself...unless I'm reading the
spec wrong
"This attribute describes the relationship from the
current document to 
the anchor specified by the href attribute"
http://www.w3.org/TR/html401/struct/links.html#edef-A

So, the above would mean "the current document as a
whole is the 
thumbnail for http://example.com/vid
eo" rather than "the img is the 
thumbnail for ...".

So yes, it's a slight misuse (or a case of "stretching
the semantics", 
if you will) of rev, I'd say.

P
-- 
Patrick H. Lauke
____________________________________________________________
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.c
om
____________________________________________________________
__
Co-lead, Web Standards Project (WaSP) Accessibility Task
Force
http://webstandards.org/

____________________________________________________________
__
Take it to the streets ... join the WaSP Street Team
http://streetteam
.webstandards.org/
____________________________________________________________
__
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: RFC: sHTML Video Thumbnailing
country flaguser name
New Zealand
2007-05-27 20:55:04
http://www.w3.org/TR/html401/struct/links.html#h-12.1.2

My simplified understanding of the relationship between rel
and rev is

With the rel attribute, the relationship that the linked
page has to this 
link is "foo".
With the rev attribute, the relationship that this link has
from the linked 
page is "foo".

Use "previous" or "next" as the link
values and you'll understand what's 
going on.

From: "Patrick H. Lauke" <reduxsplintered.co.uk>
> Charles Iliya Krempeaux wrote:
>
>>> <a rev="thumbnail" href="http://example.com
/video">
>>>    <img src="http://exa
mple.com/thumbnail.jpg">
>>> </a>
>>
>> I'm not sure if the "rev" attribute is
being used correctly in your 
>> markup.
>
> Rev defines the reverse link to the current document,
not to whatever is 
> encapsulated by the link itself...unless I'm reading
the spec wrong
> "This attribute describes the relationship from
the current document to 
> the anchor specified by the href attribute"
> http://www.w3.org/TR/html401/struct/links.html#edef-A

A rel link from the video page to the thumbnail would be
"thumbnail".
So, a rev link on the thumbnail to the video page would also
be "thumbnail".

I've got no problem with using rel and rev values myself,
but if you're 
going to use a a custom link-type that's not actually
defined in 
ht
tp://www.w3.org/TR/html401/types.html#type-links then
you should use a 
profile to define what's going on.

-- 
Paul Wilkins 

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )