<?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>Prosthetically Hip &#187; MDFive</title>
	<atom:link href="http://www.prostheticallyhip.com/category/mdfive/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prostheticallyhip.com</link>
	<description>meepzorp.</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MDFive is Alive!</title>
		<link>http://www.prostheticallyhip.com/2007/05/04/mdfive-is-alive/</link>
		<comments>http://www.prostheticallyhip.com/2007/05/04/mdfive-is-alive/#comments</comments>
		<pubDate>Sat, 05 May 2007 00:12:47 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[MDFive]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=272</guid>
		<description><![CDATA[Ok, so remember that Cached Spam Blocker I worked on a while ago? Well, I finally moved it away from hacking individual files and ported into a single-file, WordPress plugin. I present unto you, MDFive Spam Blocker!: &#60;?php /* Plugin Name: MDFive Spam Blocker Plugin URI: http://prostheticallyhip.com/MDFive Description: A user-transparent plugin to block comments made [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so remember that Cached Spam Blocker I worked on a while ago? Well, I finally moved it away from hacking individual files and ported into a single-file, WordPress plugin.</p>
<p>I present unto you, <a href="http://prostheticallyhip.com/MDFive/wp-MDFive-0.3.phps"><b>MDFive Spam Blocker</b></a>!:</p>
<blockquote><p>&lt;?php<br />
/*<br />
Plugin Name: MDFive Spam Blocker<br />
Plugin URI: http://prostheticallyhip.com/MDFive<br />
Description: A user-transparent plugin to block comments made by spam-bots from cached versions of your blog.<br />
Author: Will<br />
Version: 0.3<br />
Author URI: http://prostheticallyhip.com/<br />
*/ </p>
<p>//edit the line below with your Secret Phrase<br />
$extra = &#8220;Edit Secret Phrase here (keep existing double-quotes, and please don&#8217;t add more.)&#8221;;</p>
<p>// you shouldn&#8217;t edit anything below here.</p>
<p>function gen_MDFive() {<br />
&nbsp;&nbsp;global $extra;<br />
&nbsp;&nbsp;echo &#8216;&lt;input type=&#8221;hidden&#8221; name=&#8221;cache&#8221; value=&#8221;&#8216;.(md5(date(YmdH).$extra)).&#8217;&#8221; /&gt;&#8217;;<br />
}</p>
<p>function check_MDFive($approved) {<br />
&nbsp;&nbsp;global $_POST;<br />
&nbsp;&nbsp;global $extra;<br />
&nbsp;&nbsp;if(<br />
&nbsp;&nbsp;&nbsp;&nbsp;$_POST['cache'] == md5(date(YmdH).$extra) ||<br />
&nbsp;&nbsp;&nbsp;&nbsp;$_POST['cache'] == md5(date(&#8216;YmdH&#8217;,mktime(date(H)-1, 0, 0, date(m),date(d),date(Y))).$extra)<br />
&nbsp;&nbsp;) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;//good! within the cache window!<br />
&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;$badCount++;<br />
&nbsp;&nbsp;}<br />
&nbsp;&nbsp;if($badCount &gt; 0) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;die(&#8220;We don&#8217;t allow comment spam here.&#8221;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;return false;<br />
&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;return $approved;<br />
&nbsp;&nbsp;}<br />
}</p>
<p>add_action(&#8216;comment_form&#8217;, &#8216;gen_MDFive&#8217;);<br />
add_action(&#8216;pre_comment_approved&#8217;, &#8216;check_MDFive&#8217;);<br />
?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2007/05/04/mdfive-is-alive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

