<?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: Folding@Home WordPress Plugin</title>
	<atom:link href="http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/</link>
	<description>Battling Imaginary Windmills</description>
	<lastBuildDate>Fri, 12 Mar 2010 06:14:47 +0900</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: WP Plugins DB &#187; Blog Archive &#187; Folding@Home Stats</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-66</link>
		<dc:creator>WP Plugins DB &#187; Blog Archive &#187; Folding@Home Stats</dc:creator>
		<pubDate>Sun, 20 May 2007 09:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-66</guid>
		<description>[...] Visit [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Plugins March 24, 2007 &#171; Blogtology</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-65</link>
		<dc:creator>WP Plugins March 24, 2007 &#171; Blogtology</dc:creator>
		<pubDate>Sun, 08 Apr 2007 18:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-65</guid>
		<description>[...] Folding@Home Stats is a WordPress plugin that displays your total score, overall rank, number of processes completed in the last 50 days. [...]</description>
		<content:encoded><![CDATA[<p>[...] Folding@Home Stats is a WordPress plugin that displays your total score, overall rank, number of processes completed in the last 50 days. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WeblogToolsCollection Español &#187; Blog Archive &#187; Plugins de WordPress publicados 24/3</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-64</link>
		<dc:creator>WeblogToolsCollection Español &#187; Blog Archive &#187; Plugins de WordPress publicados 24/3</dc:creator>
		<pubDate>Tue, 27 Mar 2007 13:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-64</guid>
		<description>[...] Folding@Home Stats es un plugin de WordPress que despliega tu puntuación total, calificación general y número de procesos completados en los últimos 50 días. [...]</description>
		<content:encoded><![CDATA[<p>[...] Folding@Home Stats es un plugin de WordPress que despliega tu puntuación total, calificación general y número de procesos completados en los últimos 50 días. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-63</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 26 Mar 2007 00:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-63</guid>
		<description>Thanks for that, Trevor.  I&#039;ll put this in the 0.2 release for everyone. :)</description>
		<content:encoded><![CDATA[<p>Thanks for that, Trevor.  I&#8217;ll put this in the 0.2 release for everyone. <img src='http://www.j2fi.net/wp_inst/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris&#8217; Blog &#187; Blog Archive &#187; WordPress Plugin Folding@Home Stats</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-62</link>
		<dc:creator>Chris&#8217; Blog &#187; Blog Archive &#187; WordPress Plugin Folding@Home Stats</dc:creator>
		<pubDate>Sun, 25 Mar 2007 23:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-62</guid>
		<description>[...] Jason 的 blog 下载这个插件。如果你不能访问作者 Jason 的 [...]</description>
		<content:encoded><![CDATA[<p>[...] Jason 的 blog 下载这个插件。如果你不能访问作者 Jason 的 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-61</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sun, 25 Mar 2007 22:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-61</guid>
		<description>Also, this doesn&#039;t work if your server doesn&#039;t allow file_get_contents to URL&#039;s such as mine (Dreamhost).  You can add this code to the end of foldingstats.php to allow the plugin to work with file_get_contents and cURL.  Change your references to file_get_contents to get_contents to use this function.

&lt;code&gt;
function get_contents($url)
{

	if(ini_get(&#039;allow_url_fopen&#039;))

	{

		return file_get_contents($url);

	}

	else if(function_exists(&#039;curl_init&#039;))

	{

		$ch = curl_init();

		$timeout = 5; // set to zero for no timeout
		curl_setopt ($ch, CURLOPT_URL, $url);

		curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

		curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);

		$file_contents = curl_exec($ch);

		curl_close($ch);

		return $file_contents;

	}

	else

	{

		echo &#039;&lt;strong&gt;This plugin requires you to have either allow_url_fopen or cURL.  Please enable allow_url_fopen or install cURL to continue.&lt;/strong&gt;&#039;;

	}

}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Also, this doesn&#8217;t work if your server doesn&#8217;t allow file_get_contents to URL&#8217;s such as mine (Dreamhost).  You can add this code to the end of foldingstats.php to allow the plugin to work with file_get_contents and cURL.  Change your references to file_get_contents to get_contents to use this function.</p>
<p><code><br />
function get_contents($url)<br />
{</p>
<p>	if(ini_get('allow_url_fopen'))</p>
<p>	{</p>
<p>		return file_get_contents($url);</p>
<p>	}</p>
<p>	else if(function_exists('curl_init'))</p>
<p>	{</p>
<p>		$ch = curl_init();</p>
<p>		$timeout = 5; // set to zero for no timeout<br />
		curl_setopt ($ch, CURLOPT_URL, $url);</p>
<p>		curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);</p>
<p>		curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);</p>
<p>		$file_contents = curl_exec($ch);</p>
<p>		curl_close($ch);</p>
<p>		return $file_contents;</p>
<p>	}</p>
<p>	else</p>
<p>	{</p>
<p>		echo '<strong>This plugin requires you to have either allow_url_fopen or cURL.  Please enable allow_url_fopen or install cURL to continue.</strong>';</p>
<p>	}</p>
<p>}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-60</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sun, 25 Mar 2007 22:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-60</guid>
		<description>Hi Jason,
Thanks for writing this!
First bug report:  This doesn&#039;t work on WP installations which are in their own folder (such as /wordpress/).  I fixed this by changing this line in options-folding.php:
Orig:   $location = get_option(&#039;foldurl&#039;) . &#039;/wp-admin/admin.php?page=folding-stats/options-folding.php&#039;; // Form Action URI
New:   $location = get_bloginfo(&#039;wpurl&#039;) . &#039;/wp-admin/admin.php?page=folding-stats/options-folding.php&#039;; // Form Action URI

Also, your example code is missing a &quot;?&quot; after it&#039;s opening bracket.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Jason,<br />
Thanks for writing this!<br />
First bug report:  This doesn&#8217;t work on WP installations which are in their own folder (such as /wordpress/).  I fixed this by changing this line in options-folding.php:<br />
Orig:   $location = get_option(&#8216;foldurl&#8217;) . &#8216;/wp-admin/admin.php?page=folding-stats/options-folding.php&#8217;; // Form Action URI<br />
New:   $location = get_bloginfo(&#8216;wpurl&#8217;) . &#8216;/wp-admin/admin.php?page=folding-stats/options-folding.php&#8217;; // Form Action URI</p>
<p>Also, your example code is missing a &#8220;?&#8221; after it&#8217;s opening bracket.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-03-25 at L&#8217;urlo del coniglio</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-59</link>
		<dc:creator>links for 2007-03-25 at L&#8217;urlo del coniglio</dc:creator>
		<pubDate>Sun, 25 Mar 2007 15:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-59</guid>
		<description>[...] Jason’s Random Thoughts » Blog Archive » Folding@Home WordPress Plugin (tags: plugin wordpress) [...]</description>
		<content:encoded><![CDATA[<p>[...] Jason’s Random Thoughts » Blog Archive » Folding@Home WordPress Plugin (tags: plugin wordpress) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weblog Tools Collection &#187; Blog Archive &#187; WordPress Plugin Releases for 3/24</title>
		<link>http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/comment-page-1/#comment-58</link>
		<dc:creator>Weblog Tools Collection &#187; Blog Archive &#187; WordPress Plugin Releases for 3/24</dc:creator>
		<pubDate>Sat, 24 Mar 2007 06:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/2007/03/23/foldinghome-wordpress-plugin/#comment-58</guid>
		<description>[...] Folding@Home Stats is a WordPress plugin that displays your total score, overall rank, number of processes completed in the last 50 days. [...]</description>
		<content:encoded><![CDATA[<p>[...] Folding@Home Stats is a WordPress plugin that displays your total score, overall rank, number of processes completed in the last 50 days. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
