hello.
on http://dret.typepad.com/dretblog/2011/04/atom-content-negotiation.html i suggested a <link> usage that is not allowed by atom (because extension attributes need to be namespaced), but i think the problem is worth a solution and i'm planning to write a small draft for it.
the problem is that this link relation needs a parameter (specifying what the media type of the linked feed/entry/content is) and maybe some title text. following typical XML usage, it might be useful to define an extension attribute (for the machine readable information) and allow a title (for an optional human readable label). the link relation then would be used this way (pointing to a feed with XML content):
<link rel="alternate-content" href="..." alternate-content:content-type="application/xml" title="XML version based on bla.xsd"/>
i am wondering what people are thinking about this kind of link relation. is it looking to unusual (an attribute that would be required for this link relation)? if so, what other way of representing it would you prefer?
thanks and kind regards, dret. -- erik wilde | mailto:[email protected] - tel:+1-510-6432253 | | UC Berkeley - School of Information (ISchool) | | http://dret.net/netdret http://twitter.com/dret |
