<?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: Excerpts Exacted; Shielding the Admin</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:27:46 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Krissie</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-411195</link>
		<dc:creator>Krissie</dc:creator>
		<pubDate>Thu, 25 Sep 2008 05:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-411195</guid>
		<description>RE: NeverForgetCerpt...

It&#039;s a great little plugin, but I&#039;ve just encountered a bug with it... namely that when the plugin is activated, the ability to publish immediately by just pressing the publish button when writing a post dissapears... to publish the post with the plugin active, I had to first choose &quot;published&quot; from the dropdown box before hitting the publish button. I don&#039;t know if this plugin prevents scheduled publishing of a post too, but certainly it interfered with immediate publishing for me just now - I&#039;ve, sadly, had to de-activate it.</description>
		<content:encoded><![CDATA[<p>RE: NeverForgetCerpt&#8230;</p>
<p>It&#8217;s a great little plugin, but I&#8217;ve just encountered a bug with it&#8230; namely that when the plugin is activated, the ability to publish immediately by just pressing the publish button when writing a post dissapears&#8230; to publish the post with the plugin active, I had to first choose &#8220;published&#8221; from the dropdown box before hitting the publish button. I don&#8217;t know if this plugin prevents scheduled publishing of a post too, but certainly it interfered with immediate publishing for me just now &#8211; I&#8217;ve, sadly, had to de-activate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Immeëmsol</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-400586</link>
		<dc:creator>Immeëmsol</dc:creator>
		<pubDate>Fri, 15 Aug 2008 13:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-400586</guid>
		<description>&lt;blockquote cite=&quot;http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384416&quot;&gt;&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384416&quot; title=&quot;Link to comment #4 by Eric Meyer&quot; rel=&quot;nofollow&quot;&gt;Eric Meyer&lt;/a&gt;:
Alan: I&quot;d do that, but I don&quot;t know of a way for WP/PHP to forge the referer for the browser to pick up and pass along, or to just generally forge the referer. Some Googling turned up zippo, though perhaps I wasn&quot;t using the right terms. I&quot;ll poke around some more.
&lt;/blockquote&gt;

You could spoof your hostname into being their hostname (/etc/hosts)They will then see that domainname in their logs,but maybe they can still see the ip-address then, I don&#039;t know that right now.

I found this though:
http://own-the.net/news_Hide-referer-tested-on-IE-and-FF_4.html</description>
		<content:encoded><![CDATA[<blockquote cite="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384416"><p><a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384416" title="Link to comment #4 by Eric Meyer" rel="nofollow">Eric Meyer</a>:<br />
Alan: I&#8221;d do that, but I don&#8221;t know of a way for WP/PHP to forge the referer for the browser to pick up and pass along, or to just generally forge the referer. Some Googling turned up zippo, though perhaps I wasn&#8221;t using the right terms. I&#8221;ll poke around some more.
</p></blockquote>
<p>You could spoof your hostname into being their hostname (/etc/hosts)They will then see that domainname in their logs,but maybe they can still see the ip-address then, I don&#8217;t know that right now.</p>
<p>I found this though:<br />
<a href="http://own-the.net/news_Hide-referer-tested-on-IE-and-FF_4.html" rel="nofollow">http://own-the.net/news_Hide-referer-tested-on-IE-and-FF_4.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Eldridge</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-396928</link>
		<dc:creator>David Eldridge</dc:creator>
		<pubDate>Fri, 01 Aug 2008 14:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-396928</guid>
		<description>You can also use a more direct Google redirect/proxy, e.g. http://www.google.com/gwt/n?u=http://meyerweb.com. I am not sure if this would meet your requirement or not.</description>
		<content:encoded><![CDATA[<p>You can also use a more direct Google redirect/proxy, e.g. <a href="http://www.google.com/gwt/n?u=http://meyerweb.com" rel="nofollow">http://www.google.com/gwt/n?u=http://meyerweb.com</a>. I am not sure if this would meet your requirement or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384725</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 14 Jun 2008 14:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384725</guid>
		<description>Hi, nice idea for a plugin. Changed the code a bit, now it hides the appended URL nicely on Akismet&#039;s page, but not on the edit comments page, as the filter get_comment_author_url_link is not used there. On the other hand that clearly shows when the browser is going to be redirected.

Also changed it so only the links from not-approved comments are redirected either through hidereferer.com or anonim.to.

http://www.laptoptips.ca/wpd/wp-content/img/mw_url_obscurify.zip</description>
		<content:encoded><![CDATA[<p>Hi, nice idea for a plugin. Changed the code a bit, now it hides the appended URL nicely on Akismet&#8217;s page, but not on the edit comments page, as the filter get_comment_author_url_link is not used there. On the other hand that clearly shows when the browser is going to be redirected.</p>
<p>Also changed it so only the links from not-approved comments are redirected either through hidereferer.com or anonim.to.</p>
<p><a href="http://www.laptoptips.ca/wpd/wp-content/img/mw_url_obscurify.zip" rel="nofollow">http://www.laptoptips.ca/wpd/wp-content/img/mw_url_obscurify.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384663</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Sat, 14 Jun 2008 07:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384663</guid>
		<description>Most browsers do not send the referer header on a meta refresh. That would be the method I would use-- just link to your own redirect page. You would get to save bandwidth (a tiny amount), get to save time (by only clicking once and loading less pages), and get to use a deprecated method (according to the once useful W3C).

Just thought I&#039;d throw that out as a possibility.</description>
		<content:encoded><![CDATA[<p>Most browsers do not send the referer header on a meta refresh. That would be the method I would use&#8211; just link to your own redirect page. You would get to save bandwidth (a tiny amount), get to save time (by only clicking once and loading less pages), and get to use a deprecated method (according to the once useful W3C).</p>
<p>Just thought I&#8217;d throw that out as a possibility.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Wilson</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384482</link>
		<dc:creator>Peter Wilson</dc:creator>
		<pubDate>Fri, 13 Jun 2008 00:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384482</guid>
		<description>Why not put a simple file redirect.php on your server:

&lt;code&gt;&lt;?php
  header(&quot;Location: &quot; . $_GET[&quot;q&quot;]);
?&gt;&lt;/code&gt;

Using this, the url could be http://meyerweb.com/redirect.php?q=http://hamstu.com allowing a single click while avoiding the reference to the WP Admin.

Of course, this won&#039;t work if you&#039;re trying to avoid references to meyerweb all together.</description>
		<content:encoded><![CDATA[<p>Why not put a simple file redirect.php on your server:</p>
<p><code>&lt;?php<br />
  header("Location: " . $_GET["q"]);<br />
?&gt;</code></p>
<p>Using this, the url could be <a href="http://meyerweb.com/redirect.php?q=http://hamstu.com" rel="nofollow">http://meyerweb.com/redirect.php?q=http://hamstu.com</a> allowing a single click while avoiding the reference to the WP Admin.</p>
<p>Of course, this won&#8217;t work if you&#8217;re trying to avoid references to meyerweb all together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jemaleddin</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384454</link>
		<dc:creator>Jemaleddin</dc:creator>
		<pubDate>Thu, 12 Jun 2008 20:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384454</guid>
		<description>@Nick: Sounds like a good job for GreaseMonkey - any takers?</description>
		<content:encoded><![CDATA[<p>@Nick: Sounds like a good job for GreaseMonkey &#8211; any takers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384421</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 12 Jun 2008 16:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384421</guid>
		<description>For the Comments page, get_comment_author_url is assigned to another variable and too many things are done with the variables after that.

You could use Javascript to change all external links when viewing edit-comments.php. If I had any Javascript skills I&#039;d give it a shot.</description>
		<content:encoded><![CDATA[<p>For the Comments page, get_comment_author_url is assigned to another variable and too many things are done with the variables after that.</p>
<p>You could use Javascript to change all external links when viewing edit-comments.php. If I had any Javascript skills I&#8217;d give it a shot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Nelson</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384420</link>
		<dc:creator>Pete Nelson</dc:creator>
		<pubDate>Thu, 12 Jun 2008 16:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384420</guid>
		<description>One of my boss&#039; favorite things to check out is how many people came to our site via a google search, and then to look at the keywords they use.

If someone wrote a common plugin that went through google to mask the referrer, we could see some very interesting side effects when we look at the keywords used to get to our site.

Even more interesting, though, is that google gives me an intermediary page when I try a URL such as you suggest.  It even adds a query param to the URL - &quot;oi=unauthorizedredirect&quot;.</description>
		<content:encoded><![CDATA[<p>One of my boss&#8217; favorite things to check out is how many people came to our site via a google search, and then to look at the keywords they use.</p>
<p>If someone wrote a common plugin that went through google to mask the referrer, we could see some very interesting side effects when we look at the keywords used to get to our site.</p>
<p>Even more interesting, though, is that google gives me an intermediary page when I try a URL such as you suggest.  It even adds a query param to the URL &#8211; &#8220;oi=unauthorizedredirect&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon Young</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384417</link>
		<dc:creator>Devon Young</dc:creator>
		<pubDate>Thu, 12 Jun 2008 15:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384417</guid>
		<description>You might be interested in the Simple Trackback Validation plugin if you&#039;re going through that much effort. I forget the exact link, but you can find it in my latest blog post. Funny you mention comment spam today.</description>
		<content:encoded><![CDATA[<p>You might be interested in the Simple Trackback Validation plugin if you&#8217;re going through that much effort. I forget the exact link, but you can find it in my latest blog post. Funny you mention comment spam today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384416</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Thu, 12 Jun 2008 15:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384416</guid>
		<description>Thanks, &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384409&quot; rel=&quot;nofollow&quot;&gt;Shaun&lt;/a&gt;-- at least some small good might come from your pain.  I&#039;ll also look at your suggestion, &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384410&quot; rel=&quot;nofollow&quot;&gt;Fireball&lt;/a&gt;.  Maybe I&#039;ll randomly switch between the two for extra obscurity!

&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384414&quot; rel=&quot;nofollow&quot;&gt;Alan&lt;/a&gt;: I&#039;d do that, but I don&#039;t know of a way for WP/PHP to forge the referer for the browser to pick up and pass along, or to just generally forge the referer.  Some Googling turned up zippo, though perhaps I wasn&#039;t using the right terms.  I&#039;ll poke around some more.</description>
		<content:encoded><![CDATA[<p>Thanks, <a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384409" rel="nofollow">Shaun</a>&#8211; at least some small good might come from your pain.  I&#8217;ll also look at your suggestion, <a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384410" rel="nofollow">Fireball</a>.  Maybe I&#8217;ll randomly switch between the two for extra obscurity!</p>
<p><a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384414" rel="nofollow">Alan</a>: I&#8217;d do that, but I don&#8217;t know of a way for WP/PHP to forge the referer for the browser to pick up and pass along, or to just generally forge the referer.  Some Googling turned up zippo, though perhaps I wasn&#8217;t using the right terms.  I&#8217;ll poke around some more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Gresley</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384414</link>
		<dc:creator>Alan Gresley</dc:creator>
		<pubDate>Thu, 12 Jun 2008 14:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384414</guid>
		<description>Not knowing WordPress or script, I will make this suggestion in sheer ignorance.

Why not make the referrer string reflect the domain that is the possible spammer. Their logs would show their site referring to itself. This is what we see normally in our logs from inbound links but would be good payback to spammers.</description>
		<content:encoded><![CDATA[<p>Not knowing WordPress or script, I will make this suggestion in sheer ignorance.</p>
<p>Why not make the referrer string reflect the domain that is the possible spammer. Their logs would show their site referring to itself. This is what we see normally in our logs from inbound links but would be good payback to spammers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fireball</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384410</link>
		<dc:creator>Fireball</dc:creator>
		<pubDate>Thu, 12 Jun 2008 14:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384410</guid>
		<description>There is http://anonym.to/, which gives you a slight feeling of anonymity... don&#039;t know if it&#039;s better, but it&#039;s widley used in the german speaking web.</description>
		<content:encoded><![CDATA[<p>There is <a href="http://anonym.to/" rel="nofollow">http://anonym.to/</a>, which gives you a slight feeling of anonymity&#8230; don&#8217;t know if it&#8217;s better, but it&#8217;s widley used in the german speaking web.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Inman</title>
		<link>http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comment-384409</link>
		<dc:creator>Shaun Inman</dc:creator>
		<pubDate>Thu, 12 Jun 2008 14:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=911#comment-384409</guid>
		<description>You want http://hiderefer.com/.

I come across this site all the time when dealing with nulled copies of Mint. Sigh.

Just add a question mark and url you want to redirect to.</description>
		<content:encoded><![CDATA[<p>You want <a href="http://hiderefer.com/" rel="nofollow">http://hiderefer.com/</a>.</p>
<p>I come across this site all the time when dealing with nulled copies of Mint. Sigh.</p>
<p>Just add a question mark and url you want to redirect to.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head profile="http://gmpg.org/xfn/1">
<title>meyerweb.com</title>
<link rel="openid.server" href="http://www.myopenid.com/server">
<link rel="openid.delegate" href="http://emeyer.myopenid.com/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link rel="shortcut icon" href="/favicon.ico"><link rel="home" href="http://meyerweb.com/" title="Home" ><link rel="stylesheet" href="http://meyerweb.com/ui/meyerweb.css" type="text/css" media="screen, projection"><link rel="stylesheet" href="http://meyerweb.com/ui/theme.css" type="text/css" media="screen, projection" id="themeLink"><link rel="stylesheet" href="http://meyerweb.com/ui/print.css" type="text/css" media="print"><script src="http://meyerweb.com/ui/addresses.js" type="text/javascript"></script><link rel="stylesheet" href="/ui/wordpress.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/tfe.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/home.css" type="text/css" media="screen">
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric" href="/eric/thoughts/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only technical posts)" href="/eric/thoughts/category/tech/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only personal posts)" href="/eric/thoughts/category/personal/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Distractions" href="/eric/thoughts/recent-links/rss2" />
<link rel="alternate" type="application/rss+xml" title="Excuse of the Day" href="/feeds/excuse/rss20.xml" />
</head>
<body id="www-meyerweb-com" class="hpg">

<div id="sitemast"><h1><a href="/"><span>meyerweb</span>.com</a></h1></div><div id="search"><h4>Exploration</h4><!-- SiteSearch Google --><form method="get" action="http://www.google.com/custom" target="_top"><div><input type="hidden" name="domains" value="meyerweb.com"></input><label for="sbb" style="display: none">Submit search form</label><input type="submit" name="sa" value="Google Search" id="sbb"></input><label for="sbi" style="display: none">Enter your search terms</label><input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input><p><input type="radio" name="sitesearch" value="meyerweb.com" checked id="ss1"></input><label for="ss1" title="Search meyerweb.com">meyerweb.com</label><input type="radio" name="sitesearch" value="" id="ss0"></input><label for="ss0" title="Search the Web">Web</label></p><input type="hidden" name="client" value="pub-3772084027748653"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="ie" value="ISO-8859-1"></input><input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="safe" value="active"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input><input type="hidden" name="hl" value="en"></input></div></form><!-- SiteSearch Google --><!-- <form method="get" action="http://www.google.com/custom"><div><input type="submit" name="sa" value="Search"><input type="text" name="q" size="20" maxlength="255" value=""><input type="hidden" name="sitesearch" value="meyerweb.com"></div></form><small><a href="http://www.google.com/search">Powered by Google</a></small> --></div><div id="main"><div class="skipper">Skip to: <a href="#extra">site navigation/presentation</a></div><div class="skipper">Skip to: <a href="#thoughts">Thoughts From Eric</a></div>
<div id="thoughts">


<div class="entry">
<h3><a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/" rel="bookmark" title="Permanent Link: Excerpts Exacted; Shielding the Admin">Excerpts Exacted; Shielding the Admin</a></h3>
<ul class="meta">
<li class="date">Thu 12 Jun 2008</li>
<li class="time">0943</li>
<li class="cat"><a href="http://meyerweb.com/eric/thoughts/category/tech/tools/" title="View all posts in Tools" rel="category tag">Tools</a><br> <a href="http://meyerweb.com/eric/thoughts/category/tech/wordpress/" title="View all posts in WordPress" rel="category tag">WordPress</a></li>
<li class="cmt"><a href="http://meyerweb.com/eric/thoughts/2008/06/12/excerpts-exacted-shielding-the-admin/#comments">14 responses</a></li>
<li></li><li></li></ul>

<div class="text">
<p>
In response to <a href="http://meyerweb.com/eric/thoughts/2008/06/10/wanted-excerpt-exacter/">my request</a>, the indomitable <a href="http://hamstu.com/">Hamish Macpherson</a> has created <a href="http://hamstu.com/uploads/NeverForgetcerpt.zip">NeverForgetcerpt</a>, a plugin for WordPress 2.5+ that will warn you if you&#8217;re about to publish a post that lacks an excerpt.  I&#8217;m already using it on meyerweb and it&#8217;s working like a charm.  He&#8217;s also expressed interest in the idea of a plugin that does that and also warns you if you forgot to add tags or categories, so stay tuned.  Meantime, all hail Hamish!
</p>
<p>
I have another plugin request, but in this case I&#8217;m looking for help in modifying something I&#8217;ve already done.  Or half-done, maybe.
</p>
<p>
I don&#8217;t know about you, but I get a <strong>lot</strong> of comment spam.  As I type this sentence, <a href="http://akismet.com/">Akismet</a> has stopped 837,806 spam attempts in total.  A false positive makes it past Akismet and my other defenses to land in the moderation queue about once every four days, on average.
</p>
<p>
Some of those false positives are really, really, <em>really</em> easy to spot, and they get marked as spam in order to help improve the recognition algorithms.  Others are hard to evaluate just by looking at the comment.  Many are trackbacks from sites in langauges I can&#8217;t read, and others that I can read look legit enough.  In such cases, I usually go visit the author&#8217;s URL to see if it looks spammy or not.
</p>
<p>
Now, the way I used to do this was to right-click on the blog link, copy the URL of the target, open a new browser tab, and paste the URL into the address bar.  Why?  To prevent my WP admin URL from landing in the referer logs of a potentially unscrupulous site owner.  But sometimes I forget to do all that, and just click.  I figured, well, why not stop fighting the tendency to just click and write a plugin that routes all outbound links through a redirect service?
</p>
<p>
So I did.  You can <a href="http://meyerweb.com/eric/tools/wordpress/mw_url_obscurify.php.zip">grab it for yourself</a> if you want, but if you do, understand that it&#8217;s pretty clunky right now.  Which is the part I&#8217;d like help fixing.
</p>
<p>
The heart of the plugin is simplicity itself:
</p>

<pre>
if (is_admin_page()) {
	add_filter('get_comment_author_url','_mw_obscurify',5);
}

function _mw_obscurify($url) {
	if ($url) return 'http://google.com/url?q=' . $url;
}
</pre>

<p>
There&#8217;s a little more to it than that (specifically, the routine <code>is_admin_page()</code>, which I got from someone else&#8217;s plugin and wish now I could remember whose it was) but that&#8217;s the core.  So any time the URL of a comment author is fetched, it&#8217;s prepended to turn it into a Google redirect.
</p>
<p>
That&#8217;s true for both <code>href</code> values and displayed URLs, though, which is the clunky part.  The end result is that on comments from the aforementioned mighty Hamish, for example, I get the following markup on the &#8220;Comments&#8221; page:
</p>

<pre>
&lt;a href="http://google.com/url?q=http://hamstu.com"&gt;

http://google.com/url?q=http://hamstu.com&lt;/a&gt;

</pre>

<p>
What I&#8217;d very much prefer is:
</p>

<pre>
&lt;a href="http://google.com/url?q=http://hamstu.com"&gt;

http://hamstu.com&lt;/a&gt;

</pre>

<p>
Or even:
</p>

<pre>
&lt;a href="http://google.com/url?q=http://hamstu.com"&gt;
hamstu.com&lt;/a&gt;
</pre>

<p>
So what I&#8217;d like to know is if there&#8217;s any way to make that happen short of rewriting and replacing <code>get_comment_author_url</code>, which I&#8217;d prefer not to do since it could change in future versions of WordPress and I&#8217;m not particularly interested in turning a basic plugin into a continuing maintenance headache.  I mean, I will if absolutely necessary, but I&#8217;d like to find a better way if there is one.  Thus the request for help.
</p>
<p>
Also, are there better redirect strategies than using Google the way I have?  It&#8217;s very slightly annoying that I have to click through the Google redirect page, and though I absolutely understand why they do that, I&#8217;d love to find an automatic redirect that wouldn&#8217;t expose my referer to the target site.  Anyone know of one, or have a related sharp idea?
</p>
</div>

</div>

</div>
<p style="font-size: 90%; text-align: right; margin-top: 0.5em; padding-top: 0;">(If you care, there's even an <a href="/eric/thoughts/page/2/">archive of previous thoughts</a>...)</p>

</div><div id="extra"><div class="panel" id="archipelago"><h4>Identity Archipelago</h4><ul><li><a href="http://flickr.com/photos/meyerweb/" rel="me">Flickr</a></li><li><a href="http://twitter.com/meyerweb/" rel="me">Twitter</a></li><li><a href="http://dopplr.com/traveller/meyerweb">Dopplr</a></li><li><a href="http://www.linkedin.com/in/meyerweb" rel="me">LinkedIn</a></li><li><a href="http://technorati.com/profile/emeyer" rel="me">Technorati</a></li></ul></div><div class="panel" id="pointers"><h4>Projects Elsewhere</h4><ul><li><a href="http://aneventapart.com/">An Event Apart</a></li><li><a href="http://complexspiral.com/">Complex Spiral Consulting</a></li><li><a href="http://www.webassist.com/go/css/emeyer/">CSS Sculptor</a></li><li><a href="http://css-discuss.org/">css-discuss</a></li><li><a href="http://microformats.org/">Microformats</a></li><li><a href="http://s5project.org/">S5</a></li></ul></div><div class="panel" id="tour"><ul><li><a href="http://fray.com/issue3/"><img src="http://fray.com/images/i3c.gif" alt="Fray Contributor (Issue 3: Sex &amp; Death)" /></a></li><!-- <li><a href="http://www.webassist.com/go/css/emeyer/"><img src="/pix/CS_ad_180x109.jpg" alt="CSS Sculptor for Dreamweaver" style="max-width: 100%;" /></a></li> --></ul></div><div class="panel">
<h4>Recently Tweeted</h4>
<p class="more"><a href="http://twitter.com/meyerweb">see more</a></p>
<p>Spent the afternoon manhandling a rototiller whose clutch design was exactly the inverse of anything resembling reasonable or safe. <small>&#8211;tweeted 3 hours, 18 minutes ago</small></p>
</div><div id="sideblog" class="panel">
<h4>Distractions</h4>
<p class="more">
<a href="/eric/thoughts/recent-links/">archive</a>
</p>
<ul>
<li><a href="http://tweetagewasteland.com/2010/03/my-head-is-in-the-cloud/" title="March 18 | &#8220;I sense that my addiction to the realtime stream is only making room for the consumption of a faster stream.&#8221;">My Head is in the Cloud</a> <small>[via <a href="http://daringfireball.net/">John</a>]</small></li>
<li><a href="http://8bitnyc.com/" title="March 17 | All of a sudden I want to establish a mission in Central Park and negotiate with the natives for gold and food.">8-Bit NYC</a></li>
<li><a href="http://www.youtube.com/watch?v=nFicqklGuB0&amp;feature=player_embedded" title="March 12 | Wry comment expressing my appreciation of the creative derivativeness of this video and its uncanny accuracy in mocking common tropes.">Academy Award Winning Movie Trailer</a></li>
<li><a href="http://www.youtube.com/watch?v=414TmP12WAU" title="March 9 | &#8220;Apple juice&#8230; for half price!&#8221;  More like twice PRICELESS.  (Note: If you&#8217;re at work, don your headphones.)">Happy in Paraguay</a> <small>[via <a href="http://unstoppablerobotninja.com/">Ethan</a>]</small></li>
<li><a href="http://www.youtube.com/watch?v=9V5ubAOeOBk&amp;feature=player_embedded" title="February 10 | This is approximately the best thing ever.">U900 -Walk Don&#8217;t Run (Isogabamaware)</a></li>
<li><a href="http://www.456bereastreet.com/archive/201002/sifr_default_css_hides_content_from_at_least_one_screen_reader/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A 456bereastreet %28456 Berea Street%29" title="February 8 | -9999px comes through again, but I really wish we were beyond that kind of thing.">sIFR default CSS hides content from at least one screen reader</a></li>
<li><a href="http://www.macosxhints.com/article.php?story=20100117064356428" title="February 8 | Storing this for future use.">Take a picture with the iSight camera when a folder is opened</a></li>
<li><a href="http://mingle2.com/blog/view/web-developer-mind" title="February 4 | Mostly valid.  (SEE WHAT I DID THERE?)">The Mind of a Web Developer: An Illustrated Diagram</a></li>
<li><a href="http://www.theonion.com/content/news/science_channel_refuses_to_dumb" title="January 28 | &#8220;Punkin Chunkin, for Christ&#8217;s sake&#8230; What more do you people want?&#8221;">Science Channel Refuses To Dumb Down Science Any Further</a></li>
<li><a href="http://www.mailchimp.com/blog/project-omnivore-declassified/" title="January 27 | Sounds like quite a feat.  But I wonder how we&#8217;d feel if Microsoft or Google announced the same kind of thing on their e-mail services.">MailChimp&#8217;s Project Omnivore: Declassified</a></li>
<li><a href="http://www.politifact.com/truth-o-meter/statements/2010/jan/25/carolyn-maloney/congresswoman-says-democratic-presidents-create-mo/" title="January 26 | &#8220;Obviously, luck matters a lot, but when there is a consistent pattern over more than 60 years, it starts to look like more than just luck.&#8221;">Congresswoman says Democratic presidents create more private-sector jobs</a></li>
<li><a href="http://www.ted.com/talks/taylor_mali_what_teachers_make.html" title="January 25 | Truth.">Taylor Mali: What teachers make</a></li>
<li><a href="http://notebook.johnmartz.com/how-websites-work?c=1" title="January 22 | At last, the truth is out and I can stop pretending:  beatific monkeys are what makes it all go.">How websites work</a></li>
</ul>
</div>
<div class="panel" id="advisory">
<div class="guarded">
<a href="http://blogadvisorysystem.com/"><img src="/pix/bas/guarded.png" alt="Blog Advisory System Alert Level: Guarded"></a>
</div>
</div>

<div class="panel" id="excuse">
<h4>The <a href="/feeds/excuse/">excuse of the day</a> is</h4>
<p>Internet 1 traffic is being routed onto Internet 2</p>
</div>

<div class="panel" id="extras">
<h4>Extras</h4>
<ul>
<li><a href="/feeds/">Feeds</a> &#8226;</li>
<li><a href="/eric/faq.html">FAQ</a> &#8226;</li>
<li><a href="/family.html">Family</a></li>
</ul>
</div>

</div>

<div id="navigate">
<h4>Navigation</h4>
<ul id="navlinks">
<li id="archLink"><a href="/eric/thoughts/">Archives</a></li>
<li id="cssLink"><a href="/eric/css/">CSS</a></li>
<li id="toolsLink"><a href="/eric/tools/">Toolbox</a></li>
<li id="writeLink"><a href="/eric/writing.html">Writing</a></li>
<li id="speakLink"><a href="/eric/talks/">Speaking</a></li>
<li id="otherLink"><a href="/other/">Leftovers</a></li>
<li id="aboutsite"><a href="/ui/about.html">About this site</a></li>
</ul>
</div>

<div id="footer">
<p class="sosumi">All contents of this site, unless otherwise noted, are &copy;1995-2008 <strong>Eric A. and Kathryn S. Meyer</strong>.  All Rights Reserved.</p>
<p>"<a href="/eric/thoughts/">Thoughts From Eric</a>" is powered by the &uuml;bercool <a href="http://wordpress.org/">WordPress</a></p>
</div>
</body>
</html>
