<?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: Despamming Shortstat</title>
	<atom:link href="http://undercrank.com/posts/2005/01/despamming-shortstat/feed/" rel="self" type="application/rss+xml" />
	<link>http://undercrank.com/posts/2005/01/despamming-shortstat/</link>
	<description></description>
	<lastBuildDate>Wed, 03 Mar 2010 20:12:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jotsheet</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-59</link>
		<dc:creator>jotsheet</dc:creator>
		<pubDate>Tue, 25 Jan 2005 13:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-59</guid>
		<description>&lt;strong&gt;Proposal for a solution to referrer spam: Using MT-Blacklist and other blacklists to filter spamming URLs&lt;/strong&gt;

Referrer (or referer) spam has become a serious problem in the blogosphere. We need an intelligent way to eliminate this growing nuisance. I&#039;ve thought about and researched this for the past few days, and below I offer a proposal for a technological so...
</description>
		<content:encoded><![CDATA[<p><strong>Proposal for a solution to referrer spam: Using MT-Blacklist and other blacklists to filter spamming URLs</strong></p>
<p>Referrer (or referer) spam has become a serious problem in the blogosphere. We need an intelligent way to eliminate this growing nuisance. I&#8217;ve thought about and researched this for the past few days, and below I offer a proposal for a technological so&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Perkins</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-58</link>
		<dc:creator>Justin Perkins</dc:creator>
		<pubDate>Mon, 24 Jan 2005 08:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-58</guid>
		<description>I figured there was something like that going on (lack of subquery support), it&#039;s obvious to me you are not an amateur at server-side programming.

I figured I&#039;d throw that information out there just in case, it would&#039;ve come up at some point anyway :)

You seem to be loving the rel=&quot;nofollow&quot; attribute eh? I&#039;ve got some rules in my user stylesheet (as &lt;a href=&quot;http://www.andybudd.com/archives/2005/01/show_non_pr_links_bookmarklet/index.php&quot; rel=&quot;nofollow&quot;&gt;per recommendation on Andy Budd&lt;/a&gt;) and I see them everywhere. I&#039;d argue that reference links in your post should be OK to weigh in on a sites Page Rank, no?
</description>
		<content:encoded><![CDATA[<p>I figured there was something like that going on (lack of subquery support), it&#8217;s obvious to me you are not an amateur at server-side programming.</p>
<p>I figured I&#8217;d throw that information out there just in case, it would&#8217;ve come up at some point anyway <img src='http://undercrank.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You seem to be loving the rel=&#8221;nofollow&#8221; attribute eh? I&#8217;ve got some rules in my user stylesheet (as <a href="http://www.andybudd.com/archives/2005/01/show_non_pr_links_bookmarklet/index.php" rel="nofollow">per recommendation on Andy Budd</a>) and I see them everywhere. I&#8217;d argue that reference links in your post should be OK to weigh in on a sites Page Rank, no?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark McLaughlin</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-57</link>
		<dc:creator>Mark McLaughlin</dc:creator>
		<pubDate>Mon, 24 Jan 2005 07:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-57</guid>
		<description>&lt;strong&gt;Hans:&lt;/strong&gt; The blacklist is also available as a &lt;a href=&quot;http://www.jayallen.org/comment_spam/blacklist.txt&quot; rel=&quot;nofollow&quot;&gt;plain text&lt;/a&gt; file which could be downloaded and used instead.  You could then create a script that cycled through that list and doing much the same thing as the code above.

&lt;strong&gt;Jimmy:&lt;/strong&gt; I honestly don&#039;t know the best way around.  I&#039;m supposing you&#039;d have to query MT-Blacklist first, store that in an array and then loop through Shortstat using that as your criteria.

&lt;strong&gt;Justin:&lt;/strong&gt; Fair point - my method above is a bit, er, clumsy at least.  That said, subqueries in MySQL don&#039;t work in versions less than 4.1 (my host runs 4.0) and so I was pretty much out of luck.

There are of course &lt;a href=&quot;http://dev.mysql.com/doc/mysql/en/rewriting-subqueries.html&quot; rel=&quot;nofollow&quot;&gt;workarounds&lt;/a&gt; but as you may have guessed, my SQL query knowledge starts drawing a big brick wall when faced with that sort of thing!
</description>
		<content:encoded><![CDATA[<p><strong>Hans:</strong> The blacklist is also available as a <a href="http://www.jayallen.org/comment_spam/blacklist.txt" rel="nofollow">plain text</a> file which could be downloaded and used instead.  You could then create a script that cycled through that list and doing much the same thing as the code above.</p>
<p><strong>Jimmy:</strong> I honestly don&#8217;t know the best way around.  I&#8217;m supposing you&#8217;d have to query MT-Blacklist first, store that in an array and then loop through Shortstat using that as your criteria.</p>
<p><strong>Justin:</strong> Fair point &#8211; my method above is a bit, er, clumsy at least.  That said, subqueries in MySQL don&#8217;t work in versions less than 4.1 (my host runs 4.0) and so I was pretty much out of luck.</p>
<p>There are of course <a href="http://dev.mysql.com/doc/mysql/en/rewriting-subqueries.html" rel="nofollow">workarounds</a> but as you may have guessed, my SQL query knowledge starts drawing a big brick wall when faced with that sort of thing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Perkins</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-56</link>
		<dc:creator>Justin Perkins</dc:creator>
		<pubDate>Mon, 24 Jan 2005 06:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-56</guid>
		<description>I don&#039;t do too much work with MT or MySQL, but couldn&#039;t you combine your two queries into one that would achieve the desired effect without having to loop through a possibly large dataset (blacklist items) executing SQL commands to delete records one at a time?

Seems like a quite a resource intensive action to be executing against your DB. If you&#039;re in a shared web hosting environment, your webhost might frown on CPU pegging.

I don&#039;t know, maybe something like:

delete from si_shortstat where domain in (select ext_bl_item_text FROM mt_ext_bl_item)

Just a guess at first glance, I have no idea if that would work. :)
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t do too much work with MT or MySQL, but couldn&#8217;t you combine your two queries into one that would achieve the desired effect without having to loop through a possibly large dataset (blacklist items) executing SQL commands to delete records one at a time?</p>
<p>Seems like a quite a resource intensive action to be executing against your DB. If you&#8217;re in a shared web hosting environment, your webhost might frown on CPU pegging.</p>
<p>I don&#8217;t know, maybe something like:</p>
<p>delete from si_shortstat where domain in (select ext_bl_item_text FROM mt_ext_bl_item)</p>
<p>Just a guess at first glance, I have no idea if that would work. <img src='http://undercrank.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmy</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-55</link>
		<dc:creator>jimmy</dc:creator>
		<pubDate>Sun, 23 Jan 2005 22:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-55</guid>
		<description>GREAT IDEA! How can this be modified if shortstat and movabletype are separate databases in mysql?


</description>
		<content:encoded><![CDATA[<p>GREAT IDEA! How can this be modified if shortstat and movabletype are separate databases in mysql?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://undercrank.com/posts/2005/01/despamming-shortstat/comment-page-1/#comment-54</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Sun, 23 Jan 2005 08:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://undercrank.com/?p=86#comment-54</guid>
		<description>How might one go about doing this without having MovableType installed? (I use Textpattern.)
</description>
		<content:encoded><![CDATA[<p>How might one go about doing this without having MovableType installed? (I use Textpattern.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
