On Wed, 5 Jan 2005, Lorna Campbell wrote:
>> I thought about just using meta, and other links, like FOAF, use meta.
>> But using meta itself is not sufficient to let the user agent know what the
>> related uri points to.
>>
>> We can't rely on using title -- unless we specify that if you want to use
>> meta, the title must be something special. I didn't want to force the
>> title. Its unclear if FOAF requires title to be FOAF or not.
>>
>> We can't rely on using type, since this is the mime type, not the contents,
>> the UA may not use that to determine what the uri points to.
I don't understand this response, since the 'type' attribute provides a
MIME-type and is therefore explicitly designed to allow the UA to
determine the content type of the resource that the URI points to. It
therefore appears to do exactly what Dan wants to do without inventing a
new 'link type'.
To be more explicit, looking at the HTML documentation for the link
element...
--- cut ---
type = content-type [CI]
This attribute gives an advisory hint as to the content type of the
content available at the link target address. It allows user agents to
opt to use a fallback mechanism rather than fetch the content if they are
advised that they will get content in a content type they do not support.
Authors who use this attribute take responsibility to manage the risk
that it may become inconsistent with the content available at the link
target address.
rel = link-types [CI]
This attribute describes the relationship from the current document to
the anchor specified by the href attribute. The value of this attribute
is a space-separated list of link types.
--- cut ---
I.e. 'rel' describes the relationship between the current resource and the
linked resource (but *not* the content type of the linked resource) while
'type' indicates the content type of the linked resource (but *not* the
relationship).
Andy
--
Distributed Systems, UKOLN, University of Bath, Bath, BA2 7AY, UK
http://www.ukoln.ac.uk/ukoln/staff/a.powell
tel: +44 1225 383933 msn: [log in to unmask]
Resource Discovery Network http://www.rdn.ac.uk/
|