Category feeds in WordPress

by Alex on 6/11/2005

TangognaT helpfully provides a surprisingly hard-to-find answer to a pretty basic question: how do you create category-specific RSS feeds in WordPress? And the answer is…

All you need to do is add a ?cat=# of category to the base url for any wordpress feed.

…so if you want to read everything I write about del.icio.us, but skip over all the yak yak yak about the future of democracy, you are a clearly shirking your civic duty and ignoring the broader current of public affairs in favour of your narrow obsession with blogging. However if you must persist in your wicked ways you would be able to read only my del.icio.us posts by subscribing to this feed:

http://www.alexandrasamuel.com/blog/wp-rss2.php?cat=22

(because del.icio.us is category #22 in my blog)

Cleverly enough, WordPress allows you to subscribe to feeds of multiple categories by separating the relevant category numbers with commas. So you could subscribe to:

http://www.alexandrasamuel.com/blog/wp-rss2.php?cat=22,32,48,50

To get everything I write about del.icio.us, tags, social bookmarking, or that was originally posted by me on You’re It.

I’ll be setting up an RSS subscription page soon with some options for different subscription sets from this blog.

  • It's really that easy? Thank goodness for that because it's a feature I'll be needing soon on a client's website.

    It's a nonprofit health website. They want to have separate news feeds for patients, medics and fundraisers.

    Thank you for the info!
  • Wonderful piece of info! I wanted to group some of my categories in one feed, and had found nothing till now. The solution is so simple. Thanx again!
  • A Good tutorial on redirecting all your category feeds is available here
  • This is great news because the way I do it is very
    cumbersome, and uses a 3rd party.

    I bookmark all my blog posts in del.icio.us (a mirror of my
    blog - as I use the same tags as categories in my blog)
    This way people can subscribe to one of my del.icio.us tags
    that is like subscribing to a blog category within my blog...
    and you can combine categories.

    Actually I started bookmarking all my posts in case my blog
    host went bust, then I realised del.icio.us doesn't cache
    bookmarks, I should of used Furl (maybe I should export them
    to a Furl account)..although using del.icio.us does propogate
    your meme.

    Anyway, then I learnt there was a more automated way using
    Blogdigger site: with subject: (or you can use blogID: instead
    of site:)
    http://libraryclips.blogsome.com/2005/05/20/rss-filter-and-re-mix/#six

    Maybe you can even do this with Feedster, which I learnt from
    one of your posts.

    Here's more:
    http://libraryclips.blogsome.com/2005/05/05/feedster-search-within-a-feed/#comments
blog comments powered by Disqus

Previous post:

Next post: