Actually, I'd prefer to be explicit about the format rather than to default
it; defaulting makes the behavior site-specific and the client has to know
what it is and it can change whenever the administrator decides to change
it.
--a.
----- Original Message -----
From: "Dave Johnson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, June 19, 2006 3:26 PM
Subject: Re: Urls Discussion: reconciling feed format and feed content in
new feed urls
Comments below...
On 6/19/06, Allen Gilliland <[EMAIL PROTECTED]> wrote:
I've have found that there is a small glitch in the new definition of
feed urls where we have sort of confused/mixed the concepts of feed
content and feed format. Here's a refresher on what the new feed urls
...
I see 2 options on how to revise this ...
1. The feed format is a query param and the feed content is in the path.
/<weblog>/feed/<content>?fmt=<format>
/<weblog>/feed?fmt=rss
/<weblog>/feed?fmt=atom
/<weblog>/feed/comments?fmt=rss
/<weblog>/feed/comments?fmt=atom
I prefer this option and if the fmt is omitted, then we return the
default feed format specified at the site wide level (either RSS 2.0
or Atom 1.0).
- Dave
2. Both the format and content are part of the url path.
/<weblog>/feed/<content>/<format>
/<weblog>/feed/entries/rss
/<weblog>/feed/entries/atom
/<weblog>/feed/comments/rss
/<weblog>/feed/comments/atom