<?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>The Agitationist &#187; wordpress</title>
	<atom:link href="http://agitationist.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://agitationist.com</link>
	<description>served irregularly for your edification</description>
	<lastBuildDate>Fri, 29 Jan 2010 22:25:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Auto-update Your Copyright in WordPress</title>
		<link>http://agitationist.com/how-to-auto-update-your-copyright-in-wordpress</link>
		<comments>http://agitationist.com/how-to-auto-update-your-copyright-in-wordpress#comments</comments>
		<pubDate>Tue, 05 Jan 2010 03:19:03 +0000</pubDate>
		<dc:creator>Agitationist</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://agitationist.com/?p=123</guid>
		<description><![CDATA[(Republished from last year, because you need it.)




So it&#8217;s a new year&#8230;have you forgotten anything?
Here&#8217;s a hint:
Ever see a site with a copyright statement 6 months out of date? Even big-shot corporate blogs make this mistake. But on a young, growing blog, it looks particularly bad.
Or perhaps you don&#8217;t have a copyright statement at all? [...]]]></description>
			<content:encoded><![CDATA[<p><em>(Republished from last year, because you need it.)</em></p>
<div style="float:right;"><script type="text/javascript"><!--
google_ad_client = "pub-8463505737346765";
/* 336x280, created 1/14/10 */
google_ad_slot = "7681744314";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>So it&#8217;s a new year&#8230;have you forgotten anything?</p>
<p>Here&#8217;s a hint:</p>
<p>Ever see a site with a <strong>copyright statement</strong> 6 months out of date? Even big-shot corporate blogs make this mistake. But on a young, growing blog, it looks particularly bad.</p>
<p>Or perhaps you don&#8217;t have a copyright statement at all? Tsk tsk.</p>
<p>Why don&#8217;t we automate this, so we&#8217;ll <strong>never, ever have to think about it again</strong>? Here&#8217;s how to do it in WordPress:</p>
<ol>
<li>Log in to WordPress, and go to Theme Editor.</li>
<li>Choose &#8220;footer.php&#8221;.</li>
<li>Delete your current copyright statement (if it exists), and insert the following code:<span style="font-family: -webkit-monospace;">&amp;copy; 2008 &#8211; &lt;?php echo date(Y); ?&gt;</span>&#8230;replacing &#8220;2008&#8243; with the date you started your blog.</li>
<li>If you wish, put your name adjacent to the copyright, being sure not to disturb the php date tag. See mine below for an example.</li>
<li><strong>Done.</strong></li>
</ol>
<p><strong>Happy New Year! </strong>Anyone got a good <a href="http://detoxrecipe.net/">detox recipe</a>?<strong><br />
</strong><script type="text/javascript"><!--
google_ad_client = "pub-8463505737346765";
/* Agit inpost 2 */
google_ad_slot = "4411666264";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://agitationist.com/how-to-auto-update-your-copyright-in-wordpress/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to: Display AdSense Ads to Search Engines Visitors Only</title>
		<link>http://agitationist.com/how-to-display-adsense-ads-to-search-engines-visitors-only</link>
		<comments>http://agitationist.com/how-to-display-adsense-ads-to-search-engines-visitors-only#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:19:23 +0000</pubDate>
		<dc:creator>Agitationist</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[geekery]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://agitationist.com/?p=630</guid>
		<description><![CDATA[The problem. It’s a known fact that regular visitors don’t click on ads. Those who do click on ads are, 90% of the time, visitors coming from search engines.
Another problem is Google’s “smart pricing.” Being smart priced means that your click-through rate (CTR) is low and the money you earn per click is divided by [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem</strong>. It’s a known fact that regular visitors don’t click on ads. Those who do click on ads are, 90% of the time, visitors coming from search engines.</p>
<p>Another problem is Google’s “smart pricing.” Being smart priced means that your click-through rate (CTR) is low and the money you earn per click is divided by between 2 and 10. For example, if a click would normally earn you $1.00, with smart pricing it could earn you as little as $0.10. Painful, isn’t it? Happily, this solution displays your AdSense ads to search engine visitors only, which means more clicks and a higher CTR.</p>
<p><strong>The solution</strong>.</p>
<ol>
<li>Open the <em>functions.php</em> file in your theme.</li>
<li>Paste the following code in it:
<pre class="brush: php;">function scratch99_fromasearchengine(){
  $ref = $_SERVER['HTTP_REFERER'];
  $SE = array('/search?', 'images.google.', 'web.info.com', 'search.', 'del.icio.us/search', 'soso.com', '/search/', '.yahoo.');
  foreach ($SE as $source) {
    if (strpos($ref,$source)!==false) return true;
  }
  return false;
}</pre>
</li>
<li> Once done, paste the following code anywhere in your template where you want your AdSense ads to appear. They’ll be displayed only to visitors coming from search engine results:
<pre class="brush: php;">if (function_exists('scratch99_fromasearchengine')) {
  if (scratch99_fromasearchengine()) {
    INSERT YOUR CODE HERE
  }
}</pre>
</li>
</ol>
<p><strong>Code explanation</strong>. This hack starts with the creation of a function called <code>scratch99_fromasearchengine()</code>. This function contains a <code>$SE</code> array variable in which you can specify search engines. You can easily add new search engines by adding new elements to the array.</p>
<p>The <code>scratch99_fromasearchengine()</code> then returns <code>true</code> if the visitor comes from one of the search engines containing the <code>$SE</code> array variable.<br />
<span style="color: #000000;"><br />
</span> <span style="color: #000000;">Sources: <a rel="nofollow" href="http://www.scratch99.com/2008/09/avoid-smart-pricing-show-adsense-only-to-search-engine-visitors" target="_blank">1</a>, <a rel="nofollow" href="http://www.wprecipes.com/how-to-display-adsense-to-search-engines-visitors-only" target="_blank">2</a>, <a rel="nofollow" href="http://www.smashingmagazine.com/2009/01/07/10-killer-wordpress-hacks/" target="_blank">3</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://agitationist.com/how-to-display-adsense-ads-to-search-engines-visitors-only/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When It&#8217;s Time To Change&#8230;</title>
		<link>http://agitationist.com/when-its-time-to-change</link>
		<comments>http://agitationist.com/when-its-time-to-change#comments</comments>
		<pubDate>Mon, 09 Feb 2009 18:03:12 +0000</pubDate>
		<dc:creator>Agitationist</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://agitationist.com/?p=460</guid>
		<description><![CDATA[
If you&#8217;ve been here before, you&#8217;ll notice a major change in the look of this site. Yes, this blog has reached puberty.
After about a month of writing this and looking at it every day, I decided I had outgrown the old theme, Split Personality by Wordpress Diva. I still think she did a wonderful job [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=DyooALwfxO8" target="_blank"><img class="alignnone size-full wp-image-461" title="peterbrady" src="http://agitationist.com/wp-content/uploads/2009/02/peterbrady.jpg" alt="" width="394" height="318" /></a></p>
<p><a href="http://www.youtube.com/watch?v=DyooALwfxO8" target="_blank"></a>If you&#8217;ve been here before, you&#8217;ll notice a major change in the look of this site. Yes, this blog has reached puberty.</p>
<p>After about a month of writing this and looking at it every day, I decided I had outgrown the old theme, <a href="http://www.wpdiva.com/themes/41/split-personality.html" target="_blank">Split Personality</a> by <a href="http://www.wpdiva.com/themes/" target="_blank">Wordpress Diva</a>. I still think she did a wonderful job on it, and I love the concept of a theme that&#8217;s split right down the middle. However, the limited screen real estate for the actual content became limiting, and felt a bit claustrophobic.</p>
<p>And so, after trying on about 15 other themes for size, we move on to <a href="http://wordpress.org/extend/themes/clean-home" target="_blank">Clean Home</a> by <a href="http://bryanhelmig.com/" target="_blank">Bryan Helmig</a> of <a href="http://midmodesign.com/" target="_blank">Mid Mo Web Design</a>. I&#8217;ve made a few changes to his typography, substituting the oh-so-trendy Helvetica where he used the more classic-looking Georgia. Just to be even more trendy, I&#8217;ve reduced the letter-spacing, to give the headers that squeezed-together look. However, Bryan&#8217;s layout is intact, and I think it will serve this site well.</p>
<p>Thanks very much to Bryan for the theme, and I look forward to hearing your suggestions and/or feedback, positive or otherwise.</p>
]]></content:encoded>
			<wfw:commentRss>http://agitationist.com/when-its-time-to-change/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>You Trackback, I Follow</title>
		<link>http://agitationist.com/you-trackback-i-follow</link>
		<comments>http://agitationist.com/you-trackback-i-follow#comments</comments>
		<pubDate>Thu, 05 Feb 2009 19:35:29 +0000</pubDate>
		<dc:creator>Agitationist</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://agitationist.com/?p=434</guid>
		<description><![CDATA[If you’ve been working on link building for your site, you may have seen the terms “nofollow” and “dofollow&#8221;. In a nutshell: standard blogging platforms like WordPress automatically add the attribute rel=&#8221;nofollow&#8221; to links left by visitors in comments of trackbacks (automatic links to blogs that have cited yours).  If you&#8217;re new to this, it may be confusing, [...]]]></description>
			<content:encoded><![CDATA[<p>If you’ve been working on link building for your site, you may have seen the terms <strong>“nofollow”</strong> and <strong>“dofollow&#8221;</strong>. In a nutshell: standard blogging platforms like WordPress automatically add the attribute <em>rel=&#8221;nofollow&#8221; </em>to links left by visitors in comments of trackbacks (automatic links to blogs that have cited yours).  If you&#8217;re new to this, it may be confusing, so I&#8217;ll break it down.</p>
<p>The reasoning behind this is that visitors could spam popular sites with comments just to get links back and improve their search engine rankings. Especially troublesome were people who would sign their comments with names that were obviously just <a href="http://agitationist.com"><strong>Google keywords</strong></a>, such as &#8220;New Jersey air conditioning repair&#8221; or &#8220;Best mortgage rates&#8221;. Since most comment systems link the commenters name to their site, it was a cheap way for spammers to get some link juice for their sites. Usually the comments would be cut-and-paste jobs that added <strong>no value to the conversation</strong> (&#8220;Great job! Awesome post.&#8221;) and the culprits would leave them on hundreds of sites. The sole purpose was to gain backlinks, not to contribute anything.</p>
<p>And so the &#8220;nofollow&#8221; attribute was added as the default in blogging software. This attribute tells search engine spiders not to follow and index the link, thus <strong>removing the incentive to spam</strong>. And indeed it has worked. No incentive to spam = no spam. The free market does its job. Hooray!</p>
<p>However, some bloggers feel that if someone takes the time to contribute something of value, they deserve at least a &#8220;dofollow&#8221; link back. (Side note: technically there is no &#8220;dofollow&#8221; attribute. When you see references to &#8220;dofollow&#8221; or &#8220;yes-follow&#8221; links, it simply refers to the <em>absence</em> of the &#8220;nofollow&#8221; attribute).</p>
<p>The <strong>&#8220;dofollow&#8221; movement</strong> has been spreading around the blog world for a couple of years now. There are popular plug-ins which tell blogging software not to add the &#8220;nofollow&#8221; attribute to comments/trackbacks, and even search engines which specifically list only &#8220;dofollow&#8221; blogs. It&#8217;s all a great communal, open-source, happy joy-fest&#8230;except that <strong>the spammers are back</strong>. The cost of wanting to spread a little link love to your commenters? Loads of bogus comments to sift through and delete.</p>
<p>So what&#8217;s the middle way? Enter <a href="http://www.turkhitbox.com/wordpress-seo/dofollow-trackbacks-plugin.html" target="_blank"><strong>&#8220;dofollow trackbacks&#8221;</strong>.</a> This plug-in for WordPress removes &#8220;nofollow&#8221; from trackbacks, but not from comments. Thus when someone cites your post in their blog, they receive a link back, but commenters still get &#8220;nofollow&#8221; links. There&#8217;s still no incentive to go around leaving worthless comments, but people who link to you automatically get something back.</p>
<p>I&#8217;m instituting it on this site as of now. It looks promising, but we&#8217;ll see how it goes, and I&#8217;ll report on the results at a later date. For now, count me with on the &#8220;<strong>You Trackback, I Follow</strong>&#8221; movement, and let the games begin.</p>
]]></content:encoded>
			<wfw:commentRss>http://agitationist.com/you-trackback-i-follow/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
