<?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>Kommentarer til: A small RSS filter written in PHP</title>
	<atom:link href="http://fuzzy76.net/209/a-small-rss-filter-written-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://fuzzy76.net/209/a-small-rss-filter-written-in-php/</link>
	<description>En blogg om vår digitale hverdag og andre pretensiøse temaer :)</description>
	<lastBuildDate>Mon, 23 Jan 2012 22:16:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Av: Håvard Pedersen</title>
		<link>http://fuzzy76.net/209/a-small-rss-filter-written-in-php/comment-page-1/#comment-610</link>
		<dc:creator>Håvard Pedersen</dc:creator>
		<pubDate>Mon, 28 Mar 2011 17:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://fuzzy76.net/?p=209#comment-610</guid>
		<description>Using preg_replace on an XML document is begging for trouble. I think you need to use simplexml_load_file() like I do and parse the XML properly.</description>
		<content:encoded><![CDATA[<p>Using preg_replace on an XML document is begging for trouble. I think you need to use simplexml_load_file() like I do and parse the XML properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Av: slee</title>
		<link>http://fuzzy76.net/209/a-small-rss-filter-written-in-php/comment-page-1/#comment-609</link>
		<dc:creator>slee</dc:creator>
		<pubDate>Mon, 28 Mar 2011 16:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://fuzzy76.net/?p=209#comment-609</guid>
		<description>ugh, posting the php code in comments stripeed out the tags, let me try and re explain..i&#039;m downloading an rss feed, it has multiple &#039;entry&#039; tags seperating each item of news, i&#039;m wanting to remove each &#039;entry&#039; if it contains a keyword anywhere in the $pg


thanks again</description>
		<content:encoded><![CDATA[<p>ugh, posting the php code in comments stripeed out the tags, let me try and re explain..i&#8217;m downloading an rss feed, it has multiple &#8216;entry&#8217; tags seperating each item of news, i&#8217;m wanting to remove each &#8216;entry&#8217; if it contains a keyword anywhere in the $pg</p>
<p>thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Av: slee</title>
		<link>http://fuzzy76.net/209/a-small-rss-filter-written-in-php/comment-page-1/#comment-608</link>
		<dc:creator>slee</dc:creator>
		<pubDate>Mon, 28 Mar 2011 16:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://fuzzy76.net/?p=209#comment-608</guid>
		<description>hello, i found your page by googling &#039;rss filter&#039;...this is similar to what i&#039;m trying to accomplish.

i&#039;m trying to remove certain items from the rss(xml) by keyword so i can use:

http://myip.com/rssfilter?http://somefeed.com

here is my latest attempt on it:
&lt;?php
$lnk=&quot;http://someatomfeed/atom.xml&quot;;
$pg=file_get_contents($lnk);
$pg = preg_replace(&#039;#.*?Great.*?#s&#039;, &#039;&#039;, $pg);
echo $pg;
?&gt;

where it removes an &#039;*great* from my $pg xml content
any help would be greatly appreciated

thanks</description>
		<content:encoded><![CDATA[<p>hello, i found your page by googling &#8216;rss filter&#8217;&#8230;this is similar to what i&#8217;m trying to accomplish.</p>
<p>i&#8217;m trying to remove certain items from the rss(xml) by keyword so i can use:</p>
<p><a href="http://myip.com/rssfilter?http://somefeed.com" rel="nofollow">http://myip.com/rssfilter?http://somefeed.com</a></p>
<p>here is my latest attempt on it:<br />
&lt;?php<br />
$lnk=&quot;<a href="http://someatomfeed/atom.xml&quot;" rel="nofollow">http://someatomfeed/atom.xml&quot;</a>;<br />
$pg=file_get_contents($lnk);<br />
$pg = preg_replace(&#039;#.*?Great.*?#s&#8217;, &raquo;, $pg);<br />
echo $pg;<br />
?&gt;</p>
<p>where it removes an &#8216;*great* from my $pg xml content<br />
any help would be greatly appreciated</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

