<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Merging RSS Feeds With SimplePie</title>
	<atom:link href="https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Wed, 29 Apr 2026 13:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>By: JL</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-39307</link>
		<dc:creator><![CDATA[JL]]></dc:creator>
		<pubDate>Tue, 29 Jun 2021 23:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-39307</guid>
		<description><![CDATA[This really helped.
&lt;a href=&quot;https://www.paintersrockhampton.org&quot; rel=&quot;nofollow&quot;&gt;painter Rockhampton&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>This really helped.<br />
<a href="https://www.paintersrockhampton.org" rel="nofollow">painter Rockhampton</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JL</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-39303</link>
		<dc:creator><![CDATA[JL]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 01:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-39303</guid>
		<description><![CDATA[This was very helpful. Thank you for posting.
&lt;a href=&quot;https://www.qfpaintersgeelong.com.au&quot; rel=&quot;nofollow&quot;&gt;painters Geelong&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>This was very helpful. Thank you for posting.<br />
<a href="https://www.qfpaintersgeelong.com.au" rel="nofollow">painters Geelong</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muskie</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20800</link>
		<dc:creator><![CDATA[Muskie]]></dc:creator>
		<pubDate>Wed, 07 Mar 2012 23:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20800</guid>
		<description><![CDATA[I got it fixed, you want to remove the line:

&lt;?php echo ‘’; ?&gt;

And move the rest of the first section after you call:

$feed-&gt;handle_content_type(&#039;text/xml&#039;);

I also specify XML here and I changed this line too:

$feed-&gt;enable_xml_dump(true);]]></description>
		<content:encoded><![CDATA[<p>I got it fixed, you want to remove the line:</p>
<p>&lt;?php echo ‘’; ?&gt;</p>
<p>And move the rest of the first section after you call:</p>
<p>$feed-&gt;handle_content_type(&#8216;text/xml&#8217;);</p>
<p>I also specify XML here and I changed this line too:</p>
<p>$feed-&gt;enable_xml_dump(true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muskie</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20799</link>
		<dc:creator><![CDATA[Muskie]]></dc:creator>
		<pubDate>Wed, 07 Mar 2012 23:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20799</guid>
		<description><![CDATA[I don&#039;t think this is working with the latest version of SimplePie. Even fixing the line about forcing XML to:

$feed-&gt;enable_xml_dump(true);

It generates an error about header rewriting:

Warning: Cannot modify header information - headers already sent by (output started at /home/muskie/domains/muschamp.ca/public_html/news/mergedFeed.php:1) in /home/muskie/domains/muschamp.ca/public_html/news/php/simplepie.inc on line 1751]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think this is working with the latest version of SimplePie. Even fixing the line about forcing XML to:</p>
<p>$feed-&gt;enable_xml_dump(true);</p>
<p>It generates an error about header rewriting:</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /home/muskie/domains/muschamp.ca/public_html/news/mergedFeed.php:1) in /home/muskie/domains/muschamp.ca/public_html/news/php/simplepie.inc on line 1751</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muskie</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20797</link>
		<dc:creator><![CDATA[Muskie]]></dc:creator>
		<pubDate>Wed, 07 Mar 2012 22:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-20797</guid>
		<description><![CDATA[I think what Jan wants to do is totally doable, you need to get items associated feed and attach that title, something like:

$item-&gt;get_feed()-&gt;get_title() . &#039;:&#039; . $item-&gt;get_title()

I&#039;m going to try this code out, but what I wanted to know about was thumbnails associated with the feed, some people are big on thumbnails and I wanted to preserve them...]]></description>
		<content:encoded><![CDATA[<p>I think what Jan wants to do is totally doable, you need to get items associated feed and attach that title, something like:</p>
<p>$item-&gt;get_feed()-&gt;get_title() . &#8216;:&#8217; . $item-&gt;get_title()</p>
<p>I&#8217;m going to try this code out, but what I wanted to know about was thumbnails associated with the feed, some people are big on thumbnails and I wanted to preserve them&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-18997</link>
		<dc:creator><![CDATA[Jan]]></dc:creator>
		<pubDate>Mon, 07 Mar 2011 08:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-18997</guid>
		<description><![CDATA[Hello! Is it possible to add to each RSS item the title of the website or feed?

I mean, if I have 2 feeds:
http://feeds.feedburner.com/Webmaster-source
http://feeds.feedburner.com/ProbloggerHelpingBloggersEarnMoney

I would like to have the result like this:
WebmasterSource: Item title nr. 1
WebmasterSource: Item title nr. 2
ProBlogger: Item title nr. 3
...]]></description>
		<content:encoded><![CDATA[<p>Hello! Is it possible to add to each RSS item the title of the website or feed?</p>
<p>I mean, if I have 2 feeds:<br />
<a href="http://feeds.feedburner.com/Webmaster-source" rel="nofollow">http://feeds.feedburner.com/Webmaster-source</a><br />
<a href="http://feeds.feedburner.com/ProbloggerHelpingBloggersEarnMoney" rel="nofollow">http://feeds.feedburner.com/Pr.....sEarnMoney</a></p>
<p>I would like to have the result like this:<br />
WebmasterSource: Item title nr. 1<br />
WebmasterSource: Item title nr. 2<br />
ProBlogger: Item title nr. 3<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David S.</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11935</link>
		<dc:creator><![CDATA[David S.]]></dc:creator>
		<pubDate>Wed, 08 Sep 2010 19:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11935</guid>
		<description><![CDATA[I did something similar recently, but ended up writing the class myself.  It does a lot of the same stuff as SimplePie, but also sorts by pubDate. 

If anyone is interested in seeing what I did, I blogged about it here: 
http://www.widgetsandburritos.com/technical/programming/merge-rss-feeds-php-cache/]]></description>
		<content:encoded><![CDATA[<p>I did something similar recently, but ended up writing the class myself.  It does a lot of the same stuff as SimplePie, but also sorts by pubDate. </p>
<p>If anyone is interested in seeing what I did, I blogged about it here:<br />
<a href="http://www.widgetsandburritos.com/technical/programming/merge-rss-feeds-php-cache/" rel="nofollow">http://www.widgetsandburritos......php-cache/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bearman</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11652</link>
		<dc:creator><![CDATA[Bearman]]></dc:creator>
		<pubDate>Sun, 04 Jul 2010 15:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11652</guid>
		<description><![CDATA[maybe geshi would help for code on wordpress ;) ... http://wordpress.org/extend/plugins/scgeshi/

and for validating the generated rss-feeds: http://www.feedvalidator.org

greetz
Bearman

PS: (it seems there is a broken JS ...)]]></description>
		<content:encoded><![CDATA[<p>maybe geshi would help for code on wordpress <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> &#8230; <a href="http://wordpress.org/extend/plugins/scgeshi/" rel="nofollow">http://wordpress.org/extend/plugins/scgeshi/</a></p>
<p>and for validating the generated rss-feeds: <a href="http://www.feedvalidator.org" rel="nofollow">http://www.feedvalidator.org</a></p>
<p>greetz<br />
Bearman</p>
<p>PS: (it seems there is a broken JS &#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11510</link>
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Thu, 27 May 2010 22:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11510</guid>
		<description><![CDATA[Copy and paste from this file: http://www.webmaster-source.com/wp-content/uploads/2007/08/rssmergerphp.txt

WordPress messed up the quotes. (It converted them from straight quotes to the fancy curly ones.)]]></description>
		<content:encoded><![CDATA[<p>Copy and paste from this file: <a href="http://www.webmaster-source.com/wp-content/uploads/2007/08/rssmergerphp.txt" rel="nofollow">http://www.webmaster-source.co.....gerphp.txt</a></p>
<p>WordPress messed up the quotes. (It converted them from straight quotes to the fancy curly ones.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linda Harrison</title>
		<link>https://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11508</link>
		<dc:creator><![CDATA[Linda Harrison]]></dc:creator>
		<pubDate>Thu, 27 May 2010 19:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/#comment-11508</guid>
		<description><![CDATA[Hi,

I tried to test this out on my server, and it doesn&#039;t seem to be working. Can you give me any suggestions? This is where I did it, I copied everything precisely and only changed where the SimplePie.inc file was included http://lindaharrisonmusic.com/rss_all.php
Any help would be greatly appreciated! 

Linda x]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried to test this out on my server, and it doesn&#8217;t seem to be working. Can you give me any suggestions? This is where I did it, I copied everything precisely and only changed where the SimplePie.inc file was included <a href="http://lindaharrisonmusic.com/rss_all.php" rel="nofollow">http://lindaharrisonmusic.com/rss_all.php</a><br />
Any help would be greatly appreciated! </p>
<p>Linda x</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-04-30 09:41:33 by W3 Total Cache
-->