Re: 10.5 Provide link information (P3) - comments on techniques

On Sat, 02 Dec 2006 09:08:00 +0900, Catherine Laws <claws@us.ibm.com>  
wrote:

> - For type, size, and natural language - is this for the link itself or  
> for the document the link references? If for the document referenced,
> it seems like the second exclusion says you don't have to retrieve a
> linked resource to get information, so is this really a requirement or
> not? Natural language could be indicated by a lang attribute, but what
> indicates the type and size of linked resources?

No, natural language of the linked resource is hinted by the hreflang  
attribute (the lang attribute says what language the link element's  
content and attributes use). Type is an attribute on some types of link,  
but you are unlikely to have size data without doing at least an HTML head  
request, pre-fetch, or some heuristic parsing of the document (all of  
these things are done from time to time by user agents). If you have done  
one of those, you should use the data.

cheers

Chaals

-- 
   Charles McCathieNevile, Opera Software: Standards Group
   hablo español  -  je parle français  -  jeg lærer norsk
chaals@opera.com          Try Opera 9 now! http://opera.com

Received on Saturday, 2 December 2006 23:23:09 UTC