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

[whatwg] Inferring rel="feed" from the media type

From: Mark Baker <distobj@acm.org>
Date: Wed, 29 Nov 2006 12:53:01 -0500
Message-ID: <c70bc85d0611290953j4b008272obb16bdc99346058b@mail.gmail.com>
Hi.

HTML 5 says;

"If the alternate keyword is used with the type attribute set to the
value application/rss+xml or the value application/atom+xml, then the
user agent must treat the link as it would if it had the feed keyword
specified as well."
  -- http://www.whatwg.org/specs/web-apps/current-work/#link-type

I believe this in error.  Atom, at least (I expect this also holds for
RSS), is useful for representing more things than just feeds.  It's
really a generic packaging mechanism.  For example, one might do the
equivalent of MHTML[1] using Atom, and link such a document to an HTML
page with rel="alternate".  But it isn't a feed, and it isn't
something you'd want syndication tools to auto-discover as a feed,
since that will just confuse users.

In addition, the media type on link is non-authoritative, meaning that
feed-semantics would be inferred before it was even ascertained that
the would-be representation was actually an Atom or RSS document.

Thanks.

 [1] http://www.ietf.org/rfc/rfc2557.txt

Mark.
Received on Wednesday, 29 November 2006 09:53:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC