One problem I faced on my multi-language blog setup - it has different feeds for each language. Multi-language plugin WPML which I use does not have feature to mix feeds into one. I like my subscribers to see one common feed which is merged for all languages and leave possibility to subscribe to one language also. I setup simple solution using pure PHP.

I did research several times about it and found very few information.

# RSS merge for Wordpress

Very few plugins exists for Wordpress and they do not work with recent 3.X versions. Unfortunately.

# Yahoo pipes

Yahoo pipes is a very flexible and feature rich tool for managing RSS feeds. It is possible fetch, merge, split, filter for any RSS source. It has nice graphical interface for all this.

But I think it is a little but overkill for my two feeds.

# PHP Solution for mixing RSS feeds

I did not want to bother with PHP coding for such a simple task. But if to compare actual time for coding it is far less then trying different plugins and research.

So I found somewhere on the Internet these two nice libraries:

  • magpierss - for fetching feeds
  • feedcreator.class.php - for publishing feeds
With a small PHP glue between them I created simple script for merging several RSS feeds into one. Below is simple script that does the job.

You can download full package with libraries included below in the end of post.


Download RSS feed mixer/combiner. Unpack and change the Setup part of the script.

# Wordpress plugin

Want to see this feature as a Wordpress plugin?  Vote below...

[contact-form-7 id="3110" title="Wordpress vote"]