Comments below... On 6/14/06, Allen Gilliland <[EMAIL PROTECTED]> wrote:
Dave Johnson wrote: > > Think this URL scheme goes a little too far. I don't think we need to > give special treatment to site and planet pages. I think this is all > we need: > > <weblog>/feed - Atom or RSS feed of weblog > <weblog>/feed/comments - Atom or RSS feed of weblog comments > <weblog>/feed/<feed-page-name> - Other type of feed > > That's enough to allow each blog to create custom feeds and for blogs > with access to the Site and Planet page models, we can create > site/planet wide feeds. I am totally fine with that approach, but we still need a way for users to define their own feeds then, and that's the tricky part. The other thing that's somewhat strange is that all we really need to do for the site feed is to provide a url, since technically the FeedServlet is already capable of delivering site-wide feeds. I guess I am still very uncertain about how we plan to allow users to make custom feeds, so I'd like to hear more about what we planning to do.
The idea in the AtlasMacroModels proposal is this: Your blog gets two main feeds an entries feed and a comments feed. The feed format used depends on your blog's website.feedType value. If weblog.feedType=="rss" then both of your feeds are RSS 2.0 format. If its "atom" then you get an Atom 1.0 feeds. If you'd like to create a new additional feed, you simply create a new page and set it's page.type="feed" and it's page.contentType appropriately. Once you do that two things happen: 1) your feed is available at /myblog/feeds/mynewfeed and 2) your feed is added to the autodiscovery links created by the #showAutodiscoveryLinks() macros. - Dave
-- Allen > > - Dave
