[wp-testers] Several differents rss2 feeds : possible ?

Mark Jaquith mark.wordpress at txfx.net
Mon Jul 24 09:10:35 GMT 2006


On Jul 22, 2006, at 8:14 AM, Luc Saint-Elie wrote:

> It would be cool to be able to define several differents feeds  
> corresponding for example to different categories.

If you're using "pretty" permalinks, you can add "/feed/" to the end  
of almost anything and get an RSS 2 version:

http://example.com/feed/						(main posts feed)
http://example.com/category/foo/feed/			("foo" category feed)
http://example.com/author/johnsmith/feed/		("johnsmith" author feed)
http://example.com/2006/01/01/post-title/feed/	(Comments feed for an  
article)
http://example.com/2005/05/feed/				(Posts feed for July, 2005)

You can probably figure out from here how to get a feed for a day, or  
a year.  An additional bonus is adding ?paged=N where N is an integer  
greater than 1 in order to dig deeper into the history of the  
specified feed.  Comments feeds for WordPress Pages are currently  
broken, but they'll be fixed for 2.1 or 2.2

--
Mark Jaquith
http://txfx.net/




More information about the wp-testers mailing list