W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] PaceEntryMediatype

From: Mark Baker <distobj@acm.org>
Date: Fri, 1 Dec 2006 11:50:05 -0500
Message-ID: <c70bc85d0612010850y419aaafawe54b927c5fad05b1@mail.gmail.com>
Urgh, sorry for my tardiness; I'm falling behind on my reading.

On 11/30/06, Thomas Broyer <t.broyer at gmail.com> wrote:
> I'd prefer basing autodiscovery on the media types and not at all on
> the relationships.

All a media type tells you (non-authoritatively too) is the spec you
need to interpret the document at the other end of the link.  That has
very little to do with the reasons that you might want to follow the
link, subscribe to it, etc..  Which is why you need a mechanism
independent from the media type.  Like link types.

Consider hAtom.  If you went by media types alone, you'd be confronted with;

<link type="text/html" href="hatom.html" />

Not particularly useful for subscription (or anything else for that
matter) is it?  This would be better;

<link rel="feed" type="text/html" href="hatom.html" />

Autodiscovery should ideally be based primarily on link types, and
only secondarily - as an optimization - on media types.  Even this
should work;

<link rel="feed" href="hatom.html" />

Received on Friday, 1 December 2006 08:50:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC