<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog is emptified. &#187; RNA</title>
	<atom:link href="http://blog.emptified.com/tag/rna/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.emptified.com</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 16:15:08 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RNA:RSS広告の除去</title>
		<link>http://blog.emptified.com/2009/01/rna_rss.html</link>
		<comments>http://blog.emptified.com/2009/01/rna_rss.html#comments</comments>
		<pubDate>Fri, 23 Jan 2009 11:15:05 +0000</pubDate>
		<dc:creator>Rinopu</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[RNA]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://blog.emptified.com/?p=182</guid>
		<description><![CDATA[RSSに広告を挿入してくるサイトが増えてきたので、RNA用の広告除去方法を書いてみようと思います。 lib/RNA/RSS.pm の 1782行目。 my $content = $2; my $content = $2; [...]]]></description>
			<content:encoded><![CDATA[<p>RSSに広告を挿入してくるサイトが増えてきたので、RNA用の広告除去方法を書いてみようと思います。<br />
<span id="more-182"></span><br />
lib/RNA/RSS.pm の 1782行目。</p>
<pre><code title="Before">my $content = $2;</code></pre>
<pre><code title="After">my $content = $2;
unless ($content =~ s///si){</code></pre>
<p>続いて、1852行付近。</p>
<pre><code title="Before">		++$i;</code></pre>
<pre><code title="After">		++$i;
		}</code></pre>
<p>Rebuildして広告が消えているのを確認してみてください。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.emptified.com/2009/01/rna_rss.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

