<?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>WP FreeStyle Wiki へのコメント</title>
	<atom:link href="http://jfut.integ.jp/2010/01/01/wp-fswiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://jfut.integ.jp/2010/01/01/wp-fswiki/</link>
	<description></description>
	<lastBuildDate>Sat, 27 Aug 2011 15:08:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>jfut より</title>
		<link>http://jfut.integ.jp/2010/01/01/wp-fswiki/comment-page-1/#comment-246</link>
		<dc:creator>jfut</dc:creator>
		<pubDate>Fri, 01 Jan 2010 06:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://jfut.integ.jp/?p=686#comment-246</guid>
		<description>改善案ありがとうございます。良さそうなので早速取り込んで wp-fswiki-0.1.1.tar.gz を置いておきました。

「コメントスタイル指定用の一部の HTMLタグ」はなんか効いてないですね。</description>
		<content:encoded><![CDATA[							<p>改善案ありがとうございます。良さそうなので早速取り込んで wp-fswiki-0.1.1.tar.gz を置いておきました。</p>
							<p>「コメントスタイル指定用の一部の HTMLタグ」はなんか効いてないですね。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kenichi Maehashi より</title>
		<link>http://jfut.integ.jp/2010/01/01/wp-fswiki/comment-page-1/#comment-244</link>
		<dc:creator>Kenichi Maehashi</dc:creator>
		<pubDate>Thu, 31 Dec 2009 22:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://jfut.integ.jp/?p=686#comment-244</guid>
		<description>便利な plugin をありがとうございます！
さっそく自分のサーバで使っています。

さて、fswiki.php の convert_html function ですが、escapeshellarg がちょっと怖かったので（基本的に PHP を信用しない :-P）、代わりに標準入出力を使うようにしてみました。どうでしょうか。

function convert_html($text, $navigator) {
        $descriptorspec = array(
                0 =&gt; array(&#039;pipe&#039;, &#039;r&#039;),
                1 =&gt; array(&#039;pipe&#039;, &#039;w&#039;),
        );
        $process = proc_open(&#039;./process_wiki.pl&#039;, $descriptorspec, $pipes, $this-&gt;path);

        if (is_resource($process)) {
                fwrite($pipes[0], $text);
                fclose($pipes[0]);
                $result = stream_get_contents($pipes[1]);
                fclose($pipes[1]);
                proc_close($process);
                return $result;
        } else {
                return __(&quot;Failed to parse fswiki notation!&quot;);
        }
}


# pre tag が「コメントスタイル指定用の一部の HTMLタグ」に入っていることを祈りつつ...

それでは、今年もよろしくお願いいたします。</description>
		<content:encoded><![CDATA[							<p>便利な plugin をありがとうございます！<br />
							さっそく自分のサーバで使っています。</p>
							<p>さて、fswiki.php の convert_html function ですが、escapeshellarg がちょっと怖かったので（基本的に PHP を信用しない :-P）、代わりに標準入出力を使うようにしてみました。どうでしょうか。</p>
							<p>function convert_html($text, $navigator) {<br />
							        $descriptorspec = array(<br />
							                0 =&gt; array(&#8216;pipe&#8217;, &#8216;r&#8217;),<br />
							                1 =&gt; array(&#8216;pipe&#8217;, &#8216;w&#8217;),<br />
							        );<br />
							        $process = proc_open(&#8216;./process_wiki.pl&#8217;, $descriptorspec, $pipes, $this-&gt;path);</p>
							<p>        if (is_resource($process)) {<br />
							                fwrite($pipes[0], $text);<br />
							                fclose($pipes[0]);<br />
							                $result = stream_get_contents($pipes[1]);<br />
							                fclose($pipes[1]);<br />
							                proc_close($process);<br />
							                return $result;<br />
							        } else {<br />
							                return __(&#8220;Failed to parse fswiki notation!&#8221;);<br />
							        }<br />
							}</p>
							<p># pre tag が「コメントスタイル指定用の一部の HTMLタグ」に入っていることを祈りつつ&#8230;</p>
							<p>それでは、今年もよろしくお願いいたします。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

