← Prev in month ← Prev in thread

Aligning XRD with Link (Header/Element)

From
Eran Hammer-Lahav <>
Date
2008-11-25T20:00:16+00:00
ID
Thread
Aligning XRD with Link (Header/Element)
As currently proposed:

<XRD>
    <Service>
        <Type>http://example.com/relationship</Type>
        <MediaType>application/xml</MediaType>
        <URI>http://example.org/document</URI>
    </Service>
</XRD>

Is semantically equivalent to:

HTTP Header:
Link: <http://example.org/document>; rel="http://example.com/relationship";
type="application/xml";

HTML Element:
<Link rel="http://example.com/relationship"
href="http://example.org/document" type="application/xml" />

Given that Link(s) are becoming the prominent mechanism for metadata on the
web, I think there is great value in lining up XRD with that trend. So...

I would like us to seriously consider renaming:

Service --> Link
Type --> Rel
MediaType --> (unchanged)
URI --> (unchanged)

EHL
← Prev in month ← Prev in thread