[whatwg] PaceEntryMediatype

Michel Fortin michel.fortin at michelf.com
Mon Dec 4 05:07:59 PST 2006


Le 3 déc. 2006 à 18:49, Ian Hickson a écrit :

> On Sun, 3 Dec 2006, Thomas Broyer wrote:
>
>> What I mean is that "being syndication feed" is not a property of a
>> relationship, it's a property of one end of the relationship (the
>> resource the link "starts from" or "points to"); so it has nothing  
>> to do
>> with the rel="" attribute.
>
> I agree, in principle. Unfortunately, for autodiscovery we have to  
> have a
> mechanism that can advertise what the syndaication feeds are without
> requiring the UA to fetch every link, because fetching every link  
> would
> be much slower (and on some networks, fiscally more expensive).

I'd like to suggest a possible solution that would address these two  
issues at the same time. The type attributes allows for parameters  
after the mime type. So what about this:

     <link rel="alternate" type="application/atom+xml;role=feed"  
src="...">
     <link rel="alternate" type="application/atom+xml;role=entry"  
src="...">
     <link rel="alternate" type="application/atom+xml;role=edit"  
src="...">

If the type parameter "role" is not present, "role=feed" would be  
implied.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/





More information about the whatwg mailing list