hello peter.

<link href="http://example.com/some-resource"; rel="http://example.com/relation/edit-json"; 
type="application/json"/>
<link href="http://example.com/some-resource"; rel="edit" 
type="application/atom+xml"/>

that's probably the most obvious way of doing it (assuming you wanted to show something here that actually had identical @type values ;-), but it kind of denormalizes the actual information about just one resource being linked. it could be "re-normalized" if clients expected this kind of pattern and would conclude that this has to be a conneg resource. if conneg was more widely used, it might actually be supported in a language itself, but it seems that Atom decided that there was no need to have special support for this use case.

thanks and cheers,

erik wilde   tel:+1-510-6432253 - fax:+1-510-6425814
       [email protected]  -  http://dret.net/netdret
       UC Berkeley - School of Information (ISchool)

Reply via email to