WordPress.org

Ready to get started?Download WordPress

Forums

RSS Feed of just one category. (4 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    I'm working on a system of content delivery for my building's web site. I am using wordpress to power it, and I want to be able to send an email of the content on my page to our residents. However, some things posted to the website don't need to be in the email, so I wanted to seperate them using categories. Have the wordpress page display only one category of posts, (website), and then send an email using the RSS feed and a javascript parser of just another category of posts (email). However, i don't know how to get just an RSS feed of on category. Any help (on how to do this, or a better system to use) would be appreciated. Thanks.
    You can email me at veklita@mac.com

  2. Ryan Boren
    WordPress Dev
    Posted 10 years ago #

    $siteurl/wp-rss2.php?category_name=the-category
    the-category is the category name in lower case with special characters removed and spaces replaced with dashes.
    The feed files can take the same search arguments as index.php, so string together whatever query you want.
    Ryan

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    thanks!

  4. Alex King
    Member
    Posted 10 years ago #

    Another example is: $siteurl/wp-rss2.php?cat=1
    Where 1 is the ID of the category

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.