How to combine two category's feeds into one? (3 posts)

  1. garbonzo
    Posted 7 years ago #

    Is there a way to create a single rss feed out of two(or more) categories?
    If not via wordpress or plugin, then perhaps a free service that will take two rss feeds and combine it to give you (and your visitors) one feed?

    My site has a bunch of different stuff to appeal to a varied audience. The site's main feed has everything, which is too much for most people. I'd like to be able to offer them more specific feeds, that are comprised of all the content that they do want - without them having to subscribe to several separate categories.


  2. Zack Katz
    Posted 6 years ago #

    Simply change the <link> code in your header.php file and add ?cat=1,2,3,4,-5 to the end of it. For example:
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>?cat=1,2,3,4,-5" />

    In that example, you would include all posts from categories 1, 2, 3 and 4, but you would exclude from category 5 (notice the - before the 5).

    Hope that helps.

  3. Hudson Atwell
    Posted 6 years ago #

    I use this:
    Uses Php & Mysql.
    Combine as many feeds as you would like.
    Randomize article renders
    randomize number of articles rendered
    customize way new feed is outputted
    very simple setup


Topic Closed

This topic has been closed to new replies.

About this Topic