<?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>Phoenix SEO - Full Speed SEO</title>
	<atom:link href="http://www.fullspeedseo.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fullspeedseo.com</link>
	<description>Internet Marketing ... For People.</description>
	<lastBuildDate>Mon, 01 Mar 2010 22:33:58 +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>What We Can Learn From Energy Drinks</title>
		<link>http://www.fullspeedseo.com/featured-articles/what-we-can-learn-from-energy-drinks</link>
		<comments>http://www.fullspeedseo.com/featured-articles/what-we-can-learn-from-energy-drinks#comments</comments>
		<pubDate>Sun, 14 Feb 2010 23:08:56 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Marketing]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=151</guid>
		<description><![CDATA[While trying to remedy a hangover the other day I found myself sipping on one of the ubiquitous energy drinks that are so prevalent in our gas stations and convenience stores now-a-days. While I was considering whether or not I liked the &#8220;low-carb&#8221; version of this particular energy drink better, it occurred to me what [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to remedy a hangover the other day I found myself sipping on one of the ubiquitous energy drinks that are so prevalent in our gas stations and convenience stores now-a-days. While I was considering whether or not I liked the &#8220;low-carb&#8221; version of this particular energy drink better, it occurred to me what a great marketing job has been done for energy drinks.</p>
<p><strong>The Beginning</strong></p>
<p>The first energy drink I can remember is Jolt Cola. They claimed it had the same amount of Caffeine as two cups of Coffee. However, Jolt! was never really popular with any crowd but the code slinging, hard talking computer crowd. It seemed that everybody had their old standby Cola and wasn&#8217;t really inclined to switch to the jolt lifestyle. Also, Jolt wasn&#8217;t available at the fountain. This was a negative.</p>
<p><strong>Energy Drinks Predecessors</strong><br />
Years later, Coca Cola came out with a green cola to compete with the wild success of Mountain Dew. It was called Surge. They had a great media blitz, and were widely distributed throughout the network of Coca Cola affiliates. You could get a Whopper and Surge. You could buy it in the bottle, and you could buy it at the grocery store. But still, it found people unwilling to make the switch from their beloved Mountain Dew. Surge was the predecessor to Coke&#8217;s second endeavor into this arena, Vault. It&#8217;s an easy drinking &#8220;hybrid&#8221; of Soda and energy drinks.</p>
<p><strong>Energy Drinks Grow Up</strong></p>
<p>Today you can&#8217;t even go to a bar without being bombarded by energy drinks. They come in virtually every flavor, color and size you could ever want. Let&#8217;s take a look at why they&#8217;re so well marketed:</p>
<ol>
<li>Despite being just soda, they&#8217;re never called soda, but rather &#8220;Energy Drinks&#8221;</li>
<li>They are more expensive than regular soda. And come in smaller cans.</li>
<li>Brand name energy drinks aren&#8217;t available at the fountain.</li>
<li>Don&#8217;t suffer the same &#8220;Sugary Stigma&#8221; as regular Soda</li>
</ol>
<p>Energy drinks are the definition of &#8220;How To Create A Premium Product&#8221;. Using nothing but the same old soda from 100 years ago, Energy drinks have risen to one of the most lucrative beverage segments, using nothing but good marketing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/what-we-can-learn-from-energy-drinks/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upgrading Multiple Wordpress Installations</title>
		<link>http://www.fullspeedseo.com/featured-articles/upgrading-multiple-wordpress-installations</link>
		<comments>http://www.fullspeedseo.com/featured-articles/upgrading-multiple-wordpress-installations#comments</comments>
		<pubDate>Sun, 07 Feb 2010 00:48:56 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Management]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=132</guid>
		<description><![CDATA[Yesterday, I asked a local Phoenix web/design guy just how it was he was able to keep so many Wordpress installs seamlessly upgraded, since I have about 30 I&#8217;m working on and HATE upgrading. He had a proprietary method that was working well, so I set out to see how hard it&#8217;d be to brew [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I asked a local Phoenix web/design guy just how it was he was able to keep so many Wordpress installs seamlessly upgraded, since I have about 30 I&#8217;m working on and HATE upgrading. He had a proprietary method that was working well, so I set out to see how hard it&#8217;d be to brew my own.</p>
<p>Wordpress, like many other open source programs uses a source code control program called Subversion. Subversion exists to keep track of changes to source code. With one line, you can install an entire Wordpress installation in just seconds. It&#8217;s super fast. With another line, you can upgrade your version of Wordpress leaving all your existing themes, plugins and custom files untouched. It&#8217;s a phenomenal system. Unfortunately there is nothing secret, or particularly saucy about it. Wordpress has a page soley dedicated to installing, updating, using subversion. I highly recommend you read and understand it so you&#8217;re not just blindly following my directions.<a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion"> Installing and Maintaining Wordpress with Subverison</a></p>
<p>The &#8220;convert your existing installs to subversions&#8221; guide above works really well for a couple of installations, but I had 30 existing installations I needed to convert over to Subversion, and I was going to be damned if I was going to sit there repeating commands for each of them. So, I condensed the commands into one line, and ran them sequentially. This set of commands is meant to be run from /home/yoursite. It assumes your default Wordpress install lives in /home/yoursite/public_html. Here is the command (PLEASE FOR THE LOVE OF GOD BACKUP BEFORE YOU RUN ANYTHING!):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>core.svn.wordpress.org<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/</span>2.9.1 blog-new; <span style="color: #7a0874; font-weight: bold;">cd</span> public_html<span style="color: #000000; font-weight: bold;">/</span>; <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-p</span> wp-config.php .htaccess ..<span style="color: #000000; font-weight: bold;">/</span>blog-new; <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-rpfu</span> wp-content<span style="color: #000000; font-weight: bold;">/*</span> ..<span style="color: #000000; font-weight: bold;">/</span>blog-new<span style="color: #000000; font-weight: bold;">/</span>wp-content; <span style="color: #7a0874; font-weight: bold;">cd</span> ..; <span style="color: #c20cb9; font-weight: bold;">mv</span> public_html public_html-old; <span style="color: #c20cb9; font-weight: bold;">mv</span> blog-new public_html</pre></div></div>

<p>Here is what it&#8217;s doing:</p>
<li>In your /home/user/ directory download Wordpress 2.9.1 into a directory called new-blog.</li>
<li>Change directories to your current install in public_html. Copy your htaccess and wp-config to blog-new.</li>
<li>Copy all your themes and plugins to blog-new. (NOTE: If you use a modified default theme, it won&#8217;t copy that because the default theme exists in the Wordpress install. So, rename it like you should have done to start with.)</li>
<li>Then it renames your current install to public_html-old and blog-new to public_html</li>
<p>Now, if a new version of Wordpress comes out I simply go into that directory and type: svn sw http://core.svn.wordpress.org/tags/2.9.1/ .  (Or whatever the latest version is)</p>
<p>However, we can do one better. To &#8220;borrow&#8221; from Rob Adler&#8217;s vocabulary we need to get into the &#8220;Automation mindset&#8221;. Since we can upgrade the whole installation with just one line, it doesn&#8217;t make sense to be cd&#8217;ing and cd ..&#8217;ing until our eyes bleed. So let&#8217;s write some pseduo bash code:</p>
<p>List directories in /home<br />
su to directory/user name (Or change owners of dir later)<br />
For each directory, change to it.<br />
If it contains a folder called .svn and a file wp-config.php<br />
Issue command &#8220;svn sw http://core.svn.wordpress.org/tags/2.9.1/ .&#8221;</p>
<p>That&#8217;s it. It will find every installation of Wordpress living in /home and it will upgrade it. </p>
<p>Notes:<br />
If you run anything the requires a license.txt file in / (Auction2Post, Older WFReview versions, etc) then you will need to use a slightly different command. This is the same command, but once everything is done, it copies license.txt to the new blog directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>core.svn.wordpress.org<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/</span>2.9.1 blog-new; <span style="color: #7a0874; font-weight: bold;">cd</span> public_html<span style="color: #000000; font-weight: bold;">/</span>; <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-p</span> wp-config.php .htaccess ..<span style="color: #000000; font-weight: bold;">/</span>blog-new; <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-rpfu</span> wp-content<span style="color: #000000; font-weight: bold;">/*</span> ..<span style="color: #000000; font-weight: bold;">/</span>blog-new<span style="color: #000000; font-weight: bold;">/</span>wp-content; <span style="color: #7a0874; font-weight: bold;">cd</span> ..; <span style="color: #c20cb9; font-weight: bold;">mv</span> public_html public_html-old; <span style="color: #c20cb9; font-weight: bold;">mv</span> blog-new public_html; <span style="color: #c20cb9; font-weight: bold;">cp</span> public_html-old<span style="color: #000000; font-weight: bold;">/</span>license.txt public_html</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/upgrading-multiple-wordpress-installations/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Affiliate Summit West 2010 Observations</title>
		<link>http://www.fullspeedseo.com/featured-articles/affiliate-summit-west-2010-observations</link>
		<comments>http://www.fullspeedseo.com/featured-articles/affiliate-summit-west-2010-observations#comments</comments>
		<pubDate>Thu, 21 Jan 2010 01:10:10 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=124</guid>
		<description><![CDATA[This year I was lucky enough to get the opportunity to speak at ASW 2010 in Las Vegas. The first thing I want to say is that I had a blast speaking. Nothing gets me more excited than getting up in the morning and talking to people about something I love to do. 
The first [...]]]></description>
			<content:encoded><![CDATA[<p>This year I was lucky enough to get the opportunity to speak at ASW 2010 in Las Vegas. The first thing I want to say is that I had a blast speaking. Nothing gets me more excited than getting up in the morning and talking to people about something I love to do. </p>
<p>The first thing I noticed was from my friend <a href="http://www.brentter.com">Brent Terrazas</a>. If you don&#8217;t know him, you should. He often plays in a realm of advertising that many of us don&#8217;t even give a second though to: traditional media. When it comes to ideas I&#8217;m unsure of, I always go to Brent for a second set of eyes, and a different perspective. He&#8217;s sharp. This year, he managed to come up with a great idea. If you&#8217;ve ever been to one of these conferences, you know it&#8217;s a circle jerk of &#8220;Let me have your business card!&#8221; </p>
<p>Capitalizing on this, Brent made some business cards that say, &#8220;Out of all the business cards that you’ll get today, This is the only one that promises a response. Brent Terrazas&#8221; The other side has instructions how you can donate to a charity. By donating you&#8217;ll receive: a thank you card, and a real business card from Brent .</p>
<p>I think this is an awesome idea. First of all it encourages people to donate to charity, second, at a conference of &#8220;Ballers&#8221;, $2 should be of no consequence for a good lead. Brent is a good lead. Second of all, it&#8217;s a really unique idea. It&#8217;s the kind of idea that intrigues people. I know when he told me about it, I was totally blown away how he is going to help people, weed out people fishing for email addresses, and promote himself all with a simple business card.</p>
<p>If you&#8217;d like to help Brent you can donate to his charity and get his contact information: <a href="http://bit.ly/m4kdenver">here.</a></p>
<p>The other thing I noticed happening this year was exactly why I went to ASW last year: to find merchants and networks that weren&#8217;t predicated upon scammy rebills. I personally don&#8217;t push rebills because I don&#8217;t believe in the product. If there existed a product which provided value to the consumer, and had &#8220;negative option&#8221; billing, I&#8217;d be all about it. Right now, there isn&#8217;t one I can endorse with a clear conscience. Luckily, I&#8217;ve had a year on my competition while they got themselves wrapped up in lawsuits from Google and the FTC, I&#8217;ve been working on finding sustainable models of income where I can build value for the future, not just turn and burn websites.</p>
<p>So now everyone is concerned with &#8220;compliance&#8221; and &#8220;FTC Approved&#8221; offers. I could really care less. I&#8217;m looking for small, scrappy merchants looking to pay commissions on products they believe in. I was really impressed with the number of &#8220;Green&#8221; offers <a href="http://www.ShareASale.com">ShareASale</a> had, and how they were promoting them. They see the coming trends, and they know where to place themselves to capitalize on them. I&#8217;m pretty excited about working with them in the coming year.</p>
<p>Finally, the last thing I saw that was worth noting were a couple of teachers. In the hotel bus they started complaining to the bus driver about how much money UPS drivers get paid. This absolutely infuriated me. They were complaining to someone who drives for a living that other drivers are overpaid. I don&#8217;t know about you, but every UPS driver I have ever seen hustles his ass off. It&#8217;s a busy job, and it&#8217;s very hard work. Imagine running errands for 8 or 9 hours per day. Same thing. These two teachers were upset that UPS drivers make more money than them and they have &#8220;no education, and just drive a truck&#8221;. I wanted to reach out and smack these two smug fucks. First of all, if you want to make that much money too, you need only go apply to be a UPS driver. I&#8217;m sure all your education will qualify, or over qualify you for the job. Second of all, for the love of God, the least appropriate audience for this tirade is the guy driving the bus to and from your hotel. His level of patience with these two idiots was above board. </p>
<p>All in all, Vegas was a great experience, and I&#8217;d love to do it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/affiliate-summit-west-2010-observations/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tracking Your Visitors Out The Door</title>
		<link>http://www.fullspeedseo.com/featured-articles/tracking-your-visitors-out-the-door</link>
		<comments>http://www.fullspeedseo.com/featured-articles/tracking-your-visitors-out-the-door#comments</comments>
		<pubDate>Thu, 24 Dec 2009 03:33:14 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=118</guid>
		<description><![CDATA[Finding out where your visitors are going after your site is a pretty valuable thing to know. For example, if you found out that a lot of people were being directed to your site from Google, but leaving via one of your outbound links, perhaps it&#8217;s time to write a new post about that subject. [...]]]></description>
			<content:encoded><![CDATA[<p>Finding out where your visitors are going after your site is a pretty valuable thing to know. For example, if you found out that a lot of people were being directed to your site from Google, but leaving via one of your outbound links, perhaps it&#8217;s time to write a new post about that subject. Or maybe you&#8217;re wondering how effective your affiliate links are, and where you could put them better. In that case you could do AB testing using goals. </p>
<p>So whether you&#8217;re trying to prevent &#8216;visitor drip&#8217; or you&#8217;re curious if your affiliate company is reporting the links you send honestly, there is a solution. Google Analytics lets you track outbound links via a small piece of javascript. You simply add</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">onClick=&quot;javascript: pageTracker._trackPageview('/outgoing/example.com');&quot;</pre></div></div>

<p> to the end of your a href code. That will let you know where your links are going, and best of all, you can setup a goal to trigger every time someone goes to /outbound/example.com. This way, you can look at your Dashboard and know how many leads/drips/etc you sent out that day. </p>
<p>If you were REALLY keen, you could edit the automatic &#8220;nofollow&#8221; add plugin on this blog so that it would append this to the end of EVERY link in every post. That way every outgoing link you add would be nofollow and easily trackable from Analytics to see how popular it is. But you&#8217;re going to have to code that yourself =)</p>
<p>Here is the Google blog post explaining it in more technical detail.</p>
<p><a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&#038;answer=55527">http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&#038;answer=55527</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/tracking-your-visitors-out-the-door/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Being Genuine</title>
		<link>http://www.fullspeedseo.com/featured-articles/being-genuine</link>
		<comments>http://www.fullspeedseo.com/featured-articles/being-genuine#comments</comments>
		<pubDate>Wed, 23 Dec 2009 12:03:02 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=114</guid>
		<description><![CDATA[I just read an interesting post over on Seth Godin&#8217;s blog. He was setting up a friend&#8217;s PC and was astounded at how much crap there was to dig through in order to accomplish basic things. From this he drew an interesting point: People don&#8217;t trust websites because they&#8217;ve been lied to, cheated on, and [...]]]></description>
			<content:encoded><![CDATA[<p>I just read an interesting post over on <a href="http://sethgodin.typepad.com/seths_blog/2009/12/its-no-wonder-they-dont-trust-you.html">Seth Godin&#8217;s blog</a>. He was setting up a friend&#8217;s PC and was astounded at how much crap there was to dig through in order to accomplish basic things. From this he drew an interesting point: People don&#8217;t trust websites because they&#8217;ve been lied to, cheated on, and stolen from by the internet. It&#8217;s a shit show. </p>
<p>By the time someone reaches your landing page, website, squeeze page, or what have you, they&#8217;ve been marketed to and up sold to death. Towards this end, it&#8217;s our job as optimizers, not just search optimizers, to make our pages as painless to use as possible. Sure, you can get 100,000 people to your site and convert .05% of them. That works out to 50 conversions. However, wouldn&#8217;t you rather convert at 1% and only have to drive 5000 people to your site? I&#8217;d rather work on sending less people to the site, and work on filling orders or helping customers. That&#8217;s going to do more for my brand and for my business than driving massive amount of people somewhere and hoping a razor thin portion of them do what I want. </p>
<p>So next time, spend a little more time on your site, make it easy to use, make that text big enough to read, and make sure that if you were using it, you&#8217;d be happy with your experience there. I think you&#8217;ll see the benefits.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/being-genuine/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Performance Based Ranking</title>
		<link>http://www.fullspeedseo.com/featured-articles/performance-based-ranking</link>
		<comments>http://www.fullspeedseo.com/featured-articles/performance-based-ranking#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:50:01 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[SEO Theory]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=95</guid>
		<description><![CDATA[I want to let everyone know that this post is just me speculating, but it&#8217;s based on some clues I&#8217;ve seen popping up lately.
Google is moving towards performance based ranking more and more. What do I mean by this? How your site performs in terms of speed, and user experience are going to count more [...]]]></description>
			<content:encoded><![CDATA[<p>I want to let everyone know that this post is just me speculating, but it&#8217;s based on some clues I&#8217;ve seen popping up lately.</p>
<p>Google is moving towards performance based ranking more and more. What do I mean by this? How your site performs in terms of speed, and user experience are going to count more and more in your ranking. The days of building half a million links to some shoddy squeeze page are over: get ready for a whole new type of performance anxiety.</p>
<p>Yesterday, Google released <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html">Asynchronous Google Analytics</a> code. This code allows your site to load faster because it won&#8217;t be slowed down waiting for ga.js to load. There are a lot of technical details behind how this works but the gist of it is this: Google Analytics is now MUCH faster. This means it will detect more bounces (Whereas before people could bounce before GA loaded) and it impact your overall site load time much less. This is a benefit for everyone who uses Google Analytics, but even more so because it sets up Google not to penalize people using their tracking.<a href="http://www.fullspeedseo.com/wp-content/uploads/2009/12/Picture-1.png"><img class="size-full wp-image-96 alignright" title="Picture 1" src="http://www.fullspeedseo.com/wp-content/uploads/2009/12/Picture-1.png" alt="Picture 1" width="299" height="90" /></a></p>
<p>Today, I see a Tweet from @MattCutts, head of the Google webspam team. Like him, love him, or hate the ground he walks on, he&#8217;s got the inside track and when he talks you should at least listen. His Tweet said: &#8220;This is important. Google provides webmaster tool to see how fast your site is: <a href="http://googlewebmastercentral.blogspot.com/2009/12/how-fast-is-your-site.html">http://googlewebmastercentral.blogspot.com/2009/12/how-fast-is-your-site.html</a>&#8221;</p>
<p>So, now we have a speedier analytics package and an announcement from the man himself that you need to be gauging how fast your site is. The question now becomes: How slow is too slow? Does my blog need a quad core dual processor system with RAID 4? I think that with most things, you&#8217;ll want to be in the top 20%. Luckily, the new tool shows you how your site compares to other sites using a percentage. However, if you&#8217;re gunning for a really competitive term or just want to be your best, more is better.</p>
<p><a href="http://www.fullspeedseo.com/wp-content/uploads/2009/12/Picture-2.png"><img class="aligncenter size-full wp-image-97" title="Picture 2" src="http://www.fullspeedseo.com/wp-content/uploads/2009/12/Picture-2.png" alt="Picture 2" width="793" height="156" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/performance-based-ranking/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Managing Outbound Linking</title>
		<link>http://www.fullspeedseo.com/featured-articles/managing-outbound-linking</link>
		<comments>http://www.fullspeedseo.com/featured-articles/managing-outbound-linking#comments</comments>
		<pubDate>Wed, 25 Nov 2009 07:13:04 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Management]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=78</guid>
		<description><![CDATA[I had my friend, Chuck Reynolds, come to me recently with a problem: He had a team of writers working on one of his sites. They were intelligent, well read, and were very diligent about citing where they got information from. Unfortunately, this meant a lot of outbound links to often untrusted sites, and he [...]]]></description>
			<content:encoded><![CDATA[<p>I had my friend, <a href="http://chuckreynolds.us/" rel="nofollow">Chuck Reynolds</a>, come to me recently with a problem: He had a team of writers working on one of his sites. They were intelligent, well read, and were very diligent about citing where they got information from. Unfortunately, this meant a lot of outbound links to often untrusted sites, and he was leaking link juice like an old car leaks oil. However, this site was part of a network of sites that he did occasionally want to pass to link juice to. WHAT A CLUSTER!</p>
<p>So, we came up with the solution that every link needed to be automatically nofollow unless it was on a whitelist. This would have been a big job to write in a plugin, but luckily there was already plugin available to modify. <a href="http://wordpress.org/extend/plugins/nolip-nofollow-links-in-posts-reborn/">NoLip</a> allows you to automatically convert all your posts&#8217; links to nofollow after a certain amount of time. This way you can still be nice to those who you&#8217;re linking to, but ultimately, you can stop the bleeding. I modified this plugin to make use of a &#8220;whitelist&#8221;. Any domain that appears in the whitelist will NOT receive the nofollow tag. Simply add a whitelist.txt in the same directory as this plugin and add domains separated by line breaks WITHOUT www. Example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">http://josh.com
http://google.com</pre></div></div>

<p>The plugin works by taking the post and parsing out all the links and adding nofollow. I simply jump in with a function called is_on_whitelist and remove the links from that list we want to preserve. Regex is used liberally here btw. Line 155 is my function, Line 108 is where I weed out the unwanted links. Here&#8217;s the modified plugin code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Plugin Name: NoLIP: Nofollow Links in Posts Reborn!
Plugin URI: http://www.theresabloginmysoup.com/wordpress-plugins/nolip/
Description: Adds the rel=&quot;nofollow&quot; to links in posts within a selected category. Useful for sponsored posts.
Author: Patrick Curl
Version: 2.0
Author URI: http://www.theresabloginmysoup.com/
*/</span>
<span style="color: #666666; font-style: italic;">/*
    Copyright (C) 2009 Patrick Curl @ TheresABlogInMySoup.com
    Originally developed by: Ibnu Asad @ TheMiak.com
&nbsp;
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
&nbsp;
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
&nbsp;
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
*/</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'make_nofollow_links'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> make_nofollow_links<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$post2cats</span> <span style="color: #339933;">=</span> wp_get_post_categories<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//getting global settings </span>
   <span style="color: #000088;">$default_older</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'global_nofollow_settings'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$default_older</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default_older</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default_older</span><span style="color: #009900;">&#41;</span>?<span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">:</span><span style="color: #000088;">$default_older</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//  $added_no_follow_cats = unserialize(get_option('nofollow_cats'));</span>
  <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cats'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">unserialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$filter_categories</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_intersect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post2cats</span><span style="color: #339933;">,</span><span style="color: #990000;">array_keys</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">//getting the post date</span>
  <span style="color: #000088;">$post_date_time</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_date</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$post_dateonly</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;-&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_date_time</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$post_timeonly</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;:&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_date_time</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$timediff</span> <span style="color: #339933;">=</span> <span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_timeonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_timeonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_timeonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_dateonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_dateonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$post_dateonly</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$totalDaysNofollow</span> <span style="color: #339933;">=</span> <span style="color: #990000;">floor</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$timediff</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">60</span><span style="color: #339933;">*</span><span style="color: #cc66cc;">60</span><span style="color: #339933;">*</span><span style="color: #cc66cc;">24</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
 <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default_older</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
 <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$totalDaysNofollow</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$cat_date</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> make_nofollow<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$content</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
 <span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
                       <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$proceed_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
                         <span style="color: #666666; font-style: italic;">//do filter for categories</span>
                             <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
                               <span style="color: #009900;">&#123;</span>
                                                 <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat_date</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                                                   <span style="color: #009900;">&#123;</span>
                                                   <span style="color: #000088;">$cat_date</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'numdays'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                                                   <span style="color: #000088;">$over_ride</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'overrideind'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                                                   <span style="color: #009900;">&#125;</span>
                                                   <span style="color: #b1b100;">else</span>
                                                   <span style="color: #009900;">&#123;</span>
                                                     <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'numdays'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&gt;</span> <span style="color: #000088;">$cat_date</span><span style="color: #009900;">&#41;</span>
                                                          <span style="color: #009900;">&#123;</span>
                                                          <span style="color: #000088;">$cat_date</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'numdays'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                                                          <span style="color: #000088;">$over_ride</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$filter_categories</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'overrideind'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                                                                                                              <span style="color: #009900;">&#125;</span>
                                                    <span style="color: #009900;">&#125;</span>
&nbsp;
                                   <span style="color: #009900;">&#125;</span>
                             <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$over_ride</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>
                                 <span style="color: #009900;">&#123;</span>
                                    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>get_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow4post'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$over_ride</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>
                                         <span style="color: #009900;">&#123;</span>
                                         <span style="color: #000088;">$proceed_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
                                         <span style="color: #009900;">&#125;</span>
                                 <span style="color: #009900;">&#125;</span>
                               <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$proceed_nofollow</span> <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$totalDaysNofollow</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$cat_date</span><span style="color: #009900;">&#41;</span>
                                 <span style="color: #009900;">&#123;</span>
                                 <span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> make_nofollow<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$content</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                                 <span style="color: #009900;">&#125;</span>
                       <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'make_nofollow'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">function</span> make_nofollow<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/&lt;a.*? href=<span style="color: #000099; font-weight: bold;">\&quot;</span>(.*?)<span style="color: #000099; font-weight: bold;">\&quot;</span>.*?&gt;(.*?)&lt;\/a&gt;/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//print_r($matches);</span>
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_on_whitelist<span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_merge</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//print_r($matches[0]);</span>
<span style="color: #666666; font-style: italic;">//echo &quot;SIZE IS &quot;.count($matches[0]);</span>
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
 <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/rel=[<span style="color: #000099; font-weight: bold;">\&quot;</span>\']*nofollow[<span style="color: #000099; font-weight: bold;">\&quot;</span>\']*/&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
   	<span style="color: #666666; font-style: italic;">//echo &quot;FOUND NO NOFOLLOW&quot;;</span>
 <span style="color: #666666; font-style: italic;">// $replaced = str_replace('&lt;a ','&lt;a rel=&quot;nofollow&quot;',$matches[0][$i]);</span>
  <span style="color: #666666; font-style: italic;">//$text = str_replace($matches[0][$i],$replaced,$text);</span>
  <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/&lt;a.*? href=<span style="color: #000099; font-weight: bold;">\&quot;</span>(.*?)<span style="color: #000099; font-weight: bold;">\&quot;</span>(.*?)&gt;(.*?)&lt;\/a&gt;/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//print_r($matches1);</span>
  <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$matches1</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot; rel='nofollow'&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$matches1</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
 <span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$text</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'make_nofollow_links'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> build_catTree<span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span><span style="color: #339933;">,</span><span style="color: #000088;">$cats_nofollow_array</span><span style="color: #339933;">,</span><span style="color: #000088;">$edit_cats</span><span style="color: #339933;">,</span><span style="color: #000088;">$default</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> get_categories<span style="color: #009900;">&#40;</span><span style="color: #000088;">$cats_nofollow_array</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;select  onchange=&quot;changeCat();&quot; name=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
 <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$categories</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span>
     <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$selected</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
         <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default</span> <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
          <span style="color: #009900;">&#123;</span>
         <span style="color: #000088;">$selected</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$default</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_ID</span>?<span style="color: #0000ff;">' Selected '</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$bold</span> <span style="color: #339933;">=</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_ID</span><span style="color: #339933;">,</span><span style="color: #000088;">$edit_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #0000ff;">' style=&quot;font-weight:bold&quot;'</span><span style="color: #339933;">:</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;option value=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; '</span><span style="color: #339933;">.</span><span style="color: #000088;">$bold</span><span style="color: #339933;">.</span><span style="color: #000088;">$selected</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cat_name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/option&gt;'</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/select&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'is_on_whitelist'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">function</span> is_on_whitelist<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$urls</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/home/burglar/public_html/wp-content/plugins/whitelist.txt&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$urls</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$urls</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$urls</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$whiteurl</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/http:\/\/((.*)(.net|.com|.biz|.org|.info))/'</span><span style="color: #339933;">,</span><span style="color: #000088;">$whiteurl</span><span style="color: #339933;">,</span><span style="color: #000088;">$whitedomain</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">//preg_match('/http:\/\/((.*)(.net|.com|.biz|.org|.info))/',$url,$testurl);</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$whitedomain</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">//echo &quot;$url is in $whitedomain[1]&quot;;</span>
			<span style="color: #666666; font-style: italic;">//die();</span>
			<span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">//================================================</span>
<span style="color: #666666; font-style: italic;">//taking the admin part into action</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/wp-admin/'</span><span style="color: #339933;">,</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">class</span> admin_makenofollow
     <span style="color: #009900;">&#123;</span>
             <span style="color: #000000; font-weight: bold;">function</span> init_makenofollow<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
               <span style="color: #009900;">&#123;</span>
              add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_menu'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'add_makenofollowoption_page'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
               <span style="color: #009900;">&#125;</span>
              <span style="color: #000000; font-weight: bold;">function</span> add_makenofollowoption_page<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//adding menu itme into option page</span>
                   <span style="color: #009900;">&#123;</span>
                                  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'get_site_option'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
&nbsp;
                          <span style="color: #009900;">&#123;</span>
                                    add_options_page<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'NoLiP'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>  __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'NoLiP'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span><span style="color: #339933;">,</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'display_makenofollow_settings'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                                   <span style="color: #009900;">&#125;</span>
&nbsp;
                           <span style="color: #009900;">&#125;</span>
&nbsp;
                           <span style="color: #000000; font-weight: bold;">function</span> display_makenofollow_settings<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
               <span style="color: #009900;">&#123;</span>
               <span style="color: #000088;">$makenofollow_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'?page=NoLiP/'</span><span style="color: #339933;">.</span><span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
			   <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'older_than_days'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'older_than_days'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
			   <span style="color: #009900;">&#123;</span>
			   update_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'global_nofollow_settings'</span><span style="color: #339933;">,</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'older_than_days'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>			   
&nbsp;
			   <span style="color: #009900;">&#125;</span>			   
&nbsp;
               <span style="color: #000088;">$default_older</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'global_nofollow_settings'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			   <span style="color: #000088;">$default_older</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default_older</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$default_older</span><span style="color: #009900;">&#41;</span>?<span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">:</span><span style="color: #000088;">$default_older</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
                          <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'btnNofollowAction'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                          <span style="color: #009900;">&#123;</span>
                          <span style="color: #000088;">$numberofdays</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'num_days'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                          <span style="color: #000088;">$overrideindividual</span> <span style="color: #339933;">=</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'over_ride'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'over_ride'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ind_over'</span>?<span style="color: #cc66cc;">1</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cats'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                 <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">unserialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
                                        <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
&nbsp;
                                <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'btnNofollowAction'</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">==</span> <span style="color: #0000ff;">'DELETE'</span><span style="color: #009900;">&#41;</span>
                                  <span style="color: #009900;">&#123;</span>
                                    <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span>
                                          <span style="color: #009900;">&#123;</span>
                                           <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$key</span><span style="color: #009900;">&#41;</span>
                                             <span style="color: #009900;">&#123;</span>
&nbsp;
                                                 <span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                                                 update_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cats'</span><span style="color: #339933;">,</span><span style="color: #990000;">serialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                                                 <span style="color: #000088;">$deleted</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
                                                 <span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Options Deleted&quot;</span><span style="color: #339933;">;</span>
                                                 <span style="color: #009900;">&#125;</span>
                                          <span style="color: #009900;">&#125;</span>
                                  <span style="color: #009900;">&#125;</span>
&nbsp;
                                <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$deleted</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                                <span style="color: #009900;">&#123;</span>
                           <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$numberofdays</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                            <span style="color: #009900;">&#123;</span>
                                <span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Enter Numeric Value in Number of Days field&quot;</span><span style="color: #339933;">;</span>
                                <span style="color: #009900;">&#125;</span>
&nbsp;
                                        <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'numdays'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$numberofdays</span><span style="color: #339933;">;</span>
                                        <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'overrideind'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$overrideindividual</span><span style="color: #339933;">;</span>
                                        update_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cats'</span><span style="color: #339933;">,</span><span style="color: #990000;">serialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                                        <span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Options Added/Updated&quot;</span><span style="color: #339933;">;</span>
                                <span style="color: #009900;">&#125;</span>
			 <span style="color: #009900;">&#125;</span>
&nbsp;
                        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                        <span style="color: #009900;">&#123;</span>
               <span style="color: #666666; font-style: italic;">//category options if any</span>
			     <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cats'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                 <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">unserialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
                 <span style="color: #000088;">$added_no_follow_cats</span> <span style="color: #339933;">=</span> <span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span>?<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #339933;">;</span>
                        <span style="color: #009900;">&#125;</span>
&nbsp;
                   <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
               <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$cat_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
               <span style="color: #009900;">&#125;</span>
&nbsp;
             <span style="color: #000088;">$parent_cat_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat_nofollow</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat_nofollow</span><span style="color: #009900;">&#41;</span>?<span style="color: #000088;">$cat_nofollow</span><span style="color: #339933;">:</span><span style="color: #990000;">min</span><span style="color: #009900;">&#40;</span>get_all_category_ids<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
                          <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$parent_cat_nofollow</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                          <span style="color: #009900;">&#123;</span>
                          <span style="color: #000088;">$nofollow_days</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$parent_cat_nofollow</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'numdays'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                          <span style="color: #000088;">$over_checked</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$parent_cat_nofollow</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'overrideind'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span>?<span style="color: #0000ff;">&quot;checked&quot;</span><span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
                          <span style="color: #000088;">$btnValue</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;EDIT&quot;</span><span style="color: #339933;">;</span>
                          <span style="color: #009900;">&#125;</span>
                          <span style="color: #b1b100;">else</span>
                          <span style="color: #009900;">&#123;</span>
                          <span style="color: #000088;">$nofollow_days</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
                          <span style="color: #000088;">$over_checked</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
                          <span style="color: #000088;">$btnValue</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ADD&quot;</span><span style="color: #339933;">;</span>
&nbsp;
                          <span style="color: #009900;">&#125;</span>
&nbsp;
                           <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;div class=&quot;wrap&quot;&gt;
&nbsp;
                           &lt;h2&gt;NoLiP - Options&lt;/h2&gt;&lt;BR /&gt;
            &lt;style type=&quot;text/css&quot;&gt;
                        a.sm_button {
                        padding:4px;
                        display:block;
                        padding-left:25px;
                        background-repeat:no-repeat;
                        background-position:5px 50%;
                        text-decoration:none;
                        border:none;
                }
&nbsp;
                a.sm_button:hover {
                        border-bottom-width:1px;
                }
&nbsp;
               &lt;/style&gt;
&nbsp;
               &lt;style type=&quot;text/css&quot;&gt;
                        div#moremeta {
                                float:left;
                                width:300px;
                                margin-right:10px;
&nbsp;
                        }
                        div#advancedstuff {
                                width:770px;
                        }
                        div#poststuff {
                                margin-top:10px;
                        }
                        fieldset.dbx-box {
                                margin-bottom:5px;
&nbsp;
                        }
&nbsp;
                        &lt;/style&gt;
                        &lt;!--[if lt IE 7]&gt;
                        &lt;style type=&quot;text/css&quot;&gt;
                        div#advancedstuff {
                                width:735px;
                        }
                        &lt;/style&gt;
                        &lt;![endif]--&gt;
&nbsp;
                              &lt;div id=&quot;poststuff&quot; &gt;
                                        &lt;div id=&quot;moremeta&quot;&gt;
                                                &lt;div id=&quot;grabit&quot; class=&quot;dbx-group&quot; style=&quot;border:1px; 
                                                border-color: #000000;
                                border-style: dashed&quot;&gt;
                                                        &lt;fieldset id=&quot;sm_pnres&quot; class=&quot;dbx-box&quot;&gt;
                                                                &lt;h3 class=&quot;dbx-handle&quot;&gt;About this Plugin:&lt;/h3&gt;
                                                                &lt;div class=&quot;dbx-content&quot;&gt;
                                                                        &lt;a class=&quot;sm_button&quot; href=&quot;http://www.thereseabloginmysoup.com/&quot;&gt;Author URI&lt;/a&gt;
                                                                        &lt;a class=&quot;sm_button&quot; href=&quot;http://www.theresabloginmysoup.com/wordpress-plugins/nolip/&quot;&gt;Plugin Homepage&lt;/a&gt;
                                                                        &lt;a class=&quot;sm_button&quot; href=&quot;http://www.twitter.com/&quot;&gt;Follow me on Twitter&lt;/a&gt;
                                                                       &lt;/div&gt;
&nbsp;
                                                        &lt;/fieldset&gt;
                                                        &lt;fieldset id=&quot;sm_smres&quot; class=&quot;dbx-box&quot;&gt;
                                                                &lt;h3 class=&quot;dbx-handle&quot;&gt;Like this Plugin? &lt;/h3&gt;
                                                                &lt;div class=&quot;dbx-content&quot; style=&quot;margin-left: 10px;&quot;&gt;
                                       If you like this plugin, please donate to our Adoption fund as a bonus you'll get your link on some huge sites!:
                                       &lt;div id=&quot;ScratchBackWidget&quot; align=&quot;center&quot;&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.scratchback.com/widget.php?id=513385ce-5e7c-d964-f17f-f2bf06efe92f&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;center&gt;&lt;strong&gt;Donate and Get YOUR Link on These Great Sites:&lt;/strong&gt;&lt;/center&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.twtfollow.com&quot;&gt;TwtFollow - Get More Twitter Followers!&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.theresabloginmysoup.com&quot;&gt;There's a Blog in my Soup: Social Media tips for a Social World!&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;font color=&quot;red&quot;&gt;PLUS - EVERY WORDPRESS ADMIN AREA that has this plugin installed!	&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;
                                                                &lt;/div&gt;
                                                        &lt;/fieldset&gt;
                                                &lt;/div&gt;        &lt;/div&gt;
&nbsp;
&nbsp;
                                                 &lt;div class=&quot;dbx-c-ontent-wrapper&quot; &gt;
                                                                        &lt;div class=&quot;dbx-content&quot;&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;h1&gt;NoFollow Links in Posts - Reloaded!&lt;/h1&gt;
&lt;table width='60%'&gt;&lt;tr&gt;&lt;td&gt;This plugin will give you some control over how you use nofollow.
&lt;p&gt;If you don't use nofollow your Google rankings will surely plummett. 
However there are sometimes when you need to follow links, for instance sometimes sponsored blog 
posts from sponsoredreviews.com requires you to give link love to their advertisers.&lt;/p&gt;
&lt;p&gt;Don't think no follow matters? I had a blog with a PR of 0 for 2 years, then added nofollow to 
EVERY LINK on the blog (except where I agreed not to for a sponsor - and my google pagerank went upto 3).&lt;/p&gt;
&lt;p&gt;Tip: When choosing how many days to wait, the minimum is currently set at 1 day. Setting this value to 0 will not work!&lt;/p&gt;
&nbsp;
 &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;center&gt;&lt;h1&gt;Plugin Settings&lt;/h1&gt;&lt;/center&gt;
                           &lt;form method=&quot;post&quot; name=&quot;makenofollow&quot; onsubmit=&quot;return check_form();&quot;&gt;
&lt;center&gt;                        &lt;table width=&quot;65%&quot; style=&quot;border:thin; border-style: dashed;&quot; &gt;
                           &lt;caption style=&quot;color:#FF0000&quot;&gt;
                           <span style="color: #000000; font-weight: bold;">&lt;?php</span>
                           <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$error</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                           <span style="color: #009900;">&#123;</span>
                           <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span>
                           <span style="color: #009900;">&#125;</span>
                           <span style="color: #000000; font-weight: bold;">?&gt;</span>
                           &lt;/caption&gt;
                           &lt;tr&gt;&lt;td width=&quot;60%&quot;&gt;Enable nofollow to links in posts older than&lt;input type=&quot;text&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$nofollow_days</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; name=&quot;num_days&quot; size=&quot;5&quot; /&gt; days in&lt;/td&gt;&lt;td align=&quot;left&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000088;">$dropdown_options_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'hide_empty'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'hierarchical'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'name'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'show_count'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'orderby'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'ID'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'selected'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$cat_nofollow</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
build_catTree<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'nofollow_cat'</span><span style="color: #339933;">,</span><span style="color: #000088;">$dropdown_options_nofollow</span><span style="color: #339933;">,</span><span style="color: #990000;">array_keys</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$added_no_follow_cats</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #000088;">$parent_cat_nofollow</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/td&gt;&lt;/tr&gt;
&nbsp;
&lt;tr&gt;&lt;td&gt;Enable individual post to override the settings&lt;input type=&quot;checkbox&quot; name=&quot;over_ride&quot; value=&quot;ind_over&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$over_checked</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> /&gt;&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$btnValue</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; name=&quot;btnNofollowAction&quot; /&gt;&amp;nbsp;<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$btnValue</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'EDIT'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;input type=&quot;submit&quot; value=&quot;DELETE&quot; name=&quot;btnNofollowAction&quot; /&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">?&gt;</span> &lt;/form&gt;&lt;/td&gt;&lt;/tr&gt;
&nbsp;
&lt;tr&gt;&lt;td width=&quot;60%&quot;&gt;
&lt;form method=&quot;post&quot; onsubmit=&quot;return checkOlderDays();&quot; name=&quot;new_form&quot;&gt;
Enable nofollow to links in ALL posts older than &lt;input type=&quot;text&quot; name=&quot;older_than_days&quot; size=&quot;3&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$default_older</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt; days&lt;br /&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;&lt;font color=&quot;red&quot;&gt;NOTE:&lt;/font&gt; If you enable this setting, all the nofollow settings for individual posts and posts within categories will be ignored.&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;APPLY&quot; /&gt; [Put -1 for no effect]
&nbsp;
&lt;/form&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;	   
	&lt;/center&gt;					   
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
						   &lt;/div&gt;&lt;/div&gt;
                                     &lt;/div&gt;
&lt;p&gt;
&lt;table align=&quot;center&quot; width=&quot;75%&quot;&gt;
&lt;tr&gt;&lt;td colspan=&quot;7&quot; align=&quot;center&quot;&gt;&lt;strong&gt;Support this Plugin: Visit our Sponsors!&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.theresabloginmysoup.com/go/woothemes/&quot;&gt;
&lt;img src=&quot;http://www.woothemes.com/ads/woothemes-125x125-1.gif&quot; border=0 alt=&quot;WooThemes - Premium WordPress Themes Club&quot; width=125 height=125&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://thirtydealsamonth.com/a.php?a=CD10123&amp;b=25367&amp;d=0&amp;l=0&amp;o=&amp;p=0&amp;c=4110&amp;s1=&amp;s2=&amp;s3=&amp;s4=&amp;s5=&quot;&gt;&lt;img src=&quot;http://users.marketleverage.com/42/10123/25367/&quot; alt=&quot;&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.theresabloginmysoup.com/go/bluehostside/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.ftjcfx.com/jd77snrflj47EE7BEA4658DDACD&quot; alt=&quot;Host Unlimited Domains on 1 Account&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.theresabloginmysoup.com/go/aweber/&quot; title=&quot;Email Marketing&quot;&gt;&lt;img src=&quot;http://www.aweber.com/banners/email_marketing/125x125_an.gif&quot; alt=&quot;Email Marketing $19/Month!&quot; style=&quot;border:none;&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.theresabloginmysoup.com/go/shoemoney/&quot;&gt;&lt;img src=&quot;http://www.theresabloginmysoup.com/shoemoneyaff.gif&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://revtwt.com/index.php?id=5674&quot;&gt;&lt;img src=&quot;http://revtwt.com/images/TwtAd_referral.jpg&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.tweetlater.com/86475-0-1-3.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.tweetlater.com/idevaffiliate/banners/tl_125_125_01.gif&quot; width=&quot;125&quot; height=&quot;125&quot;&gt;&lt;/a&gt;&lt;/td&gt;                                     
&nbsp;
&lt;/tr&gt; &lt;/table&gt;
&nbsp;
				&lt;/p&gt;	&lt;br /&gt;&lt;br /&gt;&lt;p align=&quot;center&quot;&gt;This plugin brought to you buy &lt;a href=&quot;http://www.twtfollow.com&quot;&gt;TwtFollow&amp;copy;2009&lt;/a&gt; || &lt;a href=&quot;http://www.theresabloginmysoup.com&quot;&gt;There's a Blog in my Soup&amp;copy;2009&lt;/a&gt;&lt;/p&gt;
&nbsp;
                           &lt;script language=&quot;javascript&quot;&gt;
function changeCat()
{
  if(<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$parent_cat_nofollow</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> != document.makenofollow.nofollow_cat.value)
   {
 window.location = '<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$makenofollow_url</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;nofollow_cat='+document.makenofollow.nofollow_cat.value;
   }
}
&nbsp;
function check_form()
{
   if(document.makenofollow.num_days.value == &quot;&quot;)
   {
   alert(&quot;Enter Number Of Days&quot;);
   document.makenofollow.num_days.focus();
   return false;
   }
  else if(isNaN(document.makenofollow.num_days.value))
   {
   alert(&quot;Enter Numeric Values Only&quot;);
   document.makenofollow.num_days.focus();
   return false;
   }
  else if(document.makenofollow.num_days.value &lt;= 0)
   {
   alert(&quot;Enter Greater Than Zero&quot;);
   document.makenofollow.num_days.focus();
   return false;
   }
   return true;
}
&nbsp;
function checkOlderDays()
{
if(document.new_form.older_than_days.value == &quot;&quot;)
   {
   alert(&quot;Enter Number Of Days&quot;);
   document.new_form.older_than_days.focus();
   return false;
   }
  else if(isNaN(document.new_form.older_than_days.value))
   {
   alert(&quot;Enter Numeric Values Only&quot;);
   document.new_form.older_than_days.focus();
   return false;
   }
   return true;
}
&lt;/script&gt;
                           <span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
                           <span style="color: #009900;">&#125;</span>
  <span style="color: #000000; font-weight: bold;">function</span> advanced_makefollow<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'wp_version'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;=</span> <span style="color:#800080;">2.5</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;div id=&quot;makenofollow&quot; class=&quot;postbox closed&quot;&gt;
                &lt;h3&gt;Nofollow Links in Posts - Advanced Option&lt;/h3&gt;
                &lt;div class=&quot;inside&quot;&gt;
                &lt;div id=&quot;makenofollow&quot;&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;div class=&quot;dbx-b-ox-wrapper&quot;&gt;
                &lt;fieldset id=&quot;makenofollowdiv&quot; class=&quot;dbx-box&quot;&gt;
                &lt;div class=&quot;dbx-h-andle-wrapper&quot;&gt;
                &lt;h3 class=&quot;dbx-handle&quot;&gt;Nofollow Links in Posts&lt;/h3&gt;
                &lt;/div&gt;
                &lt;div class=&quot;dbx-c-ontent-wrapper&quot;&gt;
                &lt;div class=&quot;dbx-content&quot;&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;input type=&quot;checkbox&quot; name=&quot;always_dofollow&quot; value=&quot;1&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> get_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow4post'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot; checked&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span> /&gt;&amp;nbsp;Always DoFollow Links
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
                 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'wp_version'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'2.5'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;/div&gt;
                &lt;/fieldset&gt;
                &lt;/div&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
&nbsp;
     <span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> nofollow2posts<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$post_option_nofollow</span> <span style="color: #339933;">=</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'always_dofollow'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'always_dofollow'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'1'</span>?<span style="color: #cc66cc;">1</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
delete_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow4post'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow4post'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post_option_nofollow</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
admin_makenofollow<span style="color: #339933;">::</span><span style="color: #004000;">init_makenofollow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'wp_version'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;=</span> <span style="color:#800080;">2.5</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit_form_advanced'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'advanced_makefollow'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'dbx_post_advanced'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'advanced_makefollow'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit_post'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow2posts'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'publish_post'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow2posts'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'save_post'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_makenofollow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nofollow2posts'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/managing-outbound-linking/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Digg To Get Dugg</title>
		<link>http://www.fullspeedseo.com/link-bait/using-digg-to-get-dugg</link>
		<comments>http://www.fullspeedseo.com/link-bait/using-digg-to-get-dugg#comments</comments>
		<pubDate>Tue, 24 Nov 2009 22:29:13 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Link Bait]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=72</guid>
		<description><![CDATA[If you play a lot in the link bait arena, you&#8217;ll know one of the most difficult things is to get Diggs without paying for them, or doing anything nefarious. The only real way to accomplish this is to be a good member of the community, have a lot of friends, and digg them on [...]]]></description>
			<content:encoded><![CDATA[<p>If you play a lot in the link bait arena, you&#8217;ll know one of the most difficult things is to get Diggs without paying for them, or doing anything nefarious. The only real way to accomplish this is to be a good member of the community, have a lot of friends, and digg them on a regular basis. However, this can be quite a time sink. Luckily, I found a way to semi-automate the dirty work.</p>
<p>Digg, in an effort to be cool and friendly will post an RSS feed of your friends submissions. These are what your friends look at to decide who it &#8220;taking care of them&#8221; on Diggs. Everyone has one, and yours is available in beautifully formatted XML. http://digg.com/users/username/friends/submissions.rss</p>
<p>The following piece of PHP fetches it, and writes an Imacro program for you, ready to load. Just copy and paste. If you weren&#8217;t lazy like I am, you&#8217;d have it output a file, but I&#8217;m lazy. You can file_put_contents on your own.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$useragent</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1&quot;</span><span style="color: #339933;">;</span> 
<span style="color: #000088;">$Program</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;pre&gt;VERSION BUILD=6240709 RECORDER=FX<span style="color: #000099; font-weight: bold;">\n</span> TAB T=1<span style="color: #000099; font-weight: bold;">\n</span> SET !TIMEOUT 180<span style="color: #000099; font-weight: bold;">\n</span>SET !ERRORIGNORE YES<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span> 
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://digg.com/users/username/friends/submissions.rss&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_USERAGENT<span style="color: #339933;">,</span> <span style="color: #000088;">$useragent</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$digg</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$digg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">channel</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$Program</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;URL GOTO=&quot;</span><span style="color: #339933;">.</span><span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">link</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Program</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;TAG POS=1 TYPE=A ATTR=ID:diggit-*<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Program</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;WAIT SECONDS=2<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$Program</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Then, just load the resulting <a href="https://addons.mozilla.org/en-US/firefox/addon/3863">iMacro</a> program, and watch as your top 20 most recent friends subs are dugg. With 150+ friends I notice that I get a brand new list in about an hour. I would run this AT LEAST twice a day if you&#8217;re looking to build loyal Digg friends.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/link-bait/using-digg-to-get-dugg/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Closed Captioning SEO</title>
		<link>http://www.fullspeedseo.com/featured-articles/closed-captioning-seo</link>
		<comments>http://www.fullspeedseo.com/featured-articles/closed-captioning-seo#comments</comments>
		<pubDate>Fri, 20 Nov 2009 20:49:50 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[SEO Theory]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=62</guid>
		<description><![CDATA[Google has now taken the voice transcribing technology they have been working on, and have applied it to a limited number of YouTube videos to create close captions. This takes the spoken word and creates text transcripts &#8230;. searchable text transcripts. In addition, they unveiled a feature called &#8220;Auto-Timing&#8221;. If you have a transcript of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2009/11/automatic-captions-in-youtube.html?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed%3A+blogspot%2FMKuf+%28Official+Google+Blog%29">Google</a> has now taken the voice transcribing technology they have been working on, and have applied it to a limited number of YouTube videos to create close captions. This takes the spoken word and creates text transcripts &#8230;. searchable text transcripts. In addition, they unveiled a feature called &#8220;Auto-Timing&#8221;. If you have a transcript of your video, without time codes, it matches up your spoken words with your written words. </p>
<p>Take a look for yourself&#8230;</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/YpzVSGBMpFM&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/YpzVSGBMpFM&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/closed-captioning-seo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Arkayne To Build Highly Targetted Links</title>
		<link>http://www.fullspeedseo.com/featured-articles/using-arkayne-to-build-highly-targetted-links</link>
		<comments>http://www.fullspeedseo.com/featured-articles/using-arkayne-to-build-highly-targetted-links#comments</comments>
		<pubDate>Thu, 19 Nov 2009 06:48:44 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[Get Links]]></category>

		<guid isPermaLink="false">http://www.fullspeedseo.com/?p=45</guid>
		<description><![CDATA[Arkayne is a plugin for Wordpress to show contextual links on your website. It puts you as part of a social network of people whose work you &#8220;Recommend&#8221;. If they recommend your work, and you write a relevant post to theirs, you will show up on their site as a dofollow link. Conversely, if they [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arkayne.com/">Arkayne</a> is a plugin for Wordpress to show contextual links on your website. It puts you as part of a social network of people whose work you &#8220;Recommend&#8221;. If they recommend your work, and you write a relevant post to theirs, you will show up on their site as a dofollow link. Conversely, if they recommend you, you&#8217;ll show up on their site as a dofollow link. Like Twitter, you&#8217;ll need a following of people to recommend their pages, so there is an inherently social aspect to this. This strategy isn&#8217;t for your trash-and-burn spam sites. This is for a site you&#8217;re looking to promote using white hat methods, and that has a brand. People ultimately approve you, to be on their site, so put your best face forward.</p>
<p>Here&#8217;s my formula for success:</p>
<p>&#8220;Recommend&#8221; people in your niche. The relevant outbound links won&#8217;t hurt too bad by default, but we can even make that better. You can edit the PHP wordpress plugin to make the links &#8220;nofollow&#8221; if you&#8217;re worried. Here&#8217;s how: Arkayne pulls all the code they put on your website off their mothership. When you get it, it&#8217;s been pre-formatted and is ready to roll. Their plugin just puts it into your content. So you just need to add after curl_close($ch).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000088;">$arkayne_data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/&lt;a href=/&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;a rel=&quot;nofollow&quot; href='</span><span style="color: #339933;">,</span><span style="color: #000088;">$arkayne_data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>to the arkayne_link() function. So, you now have:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> arkayne_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$arkayne_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://www.arkayne.com/widget/&quot;</span> <span style="color: #339933;">.</span> arkayne_token<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/?type=wordpress&amp;url=&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$timeout</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// set to zero for no timeout</span>
  <span style="color: #990000;">curl_setopt</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$arkayne_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_TIMEOUT<span style="color: #339933;">,</span> <span style="color: #000088;">$timeout</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_setopt</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_CONNECTTIMEOUT<span style="color: #339933;">,</span> <span style="color: #000088;">$timeout</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$arkayne_data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$http_code</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_getinfo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLINFO_HTTP_CODE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$arkayne_data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/&lt;a href=/&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;a rel=&quot;nofollow&quot; href='</span><span style="color: #339933;">,</span><span style="color: #000088;">$arkayne_data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$http_code</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">200</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$arkayne_data</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Now that we&#8217;re not dripping link juice and page rank like a stuck pig; we&#8217;re left with the social aspect of this. How do we get people recommending us? Well, this problem is handled half by us, and half by Arkayne. It&#8217;s awesome because if my posts dont match up in relevancy with someone else&#8217;s, their links won&#8217;t show up, so I don&#8217;t look like some scammy link farm. However, even if they have a blog about basketball, and mention something about basketball linkbait, I&#8217;ll probably show up. So there is no HARM in &#8220;Recommending&#8221; lots of people. I think most will recommend you back. Because Arkayne calculates relevancy for us, we don&#8217;t have to worry about outbound links to Pro-Cheerleading websites being a problem, especially since we nofollowed them.</p>
<p>How do we find people to recommend?</p>
<p>Lucky for us, Arkayne has a footprint. =) Sure, they have a search feature on their site, but it&#8217;s woefully inadequate for what we&#8217;re looking for. So, using a simple google search we can find sites running Arkayne. Bloggers running Arkayne will have the text, &#8220;Recommend me on Arkayne&#8221; on their site.<br />
<img src="http://www.fullspeedseo.com/wp-content/uploads/2009/11/Picture-3.png" alt="Picture 3" title="Picture 3" /></p>
<p>Then, it&#8217;s just a matter of finding people in your niche&#8230;. or not. I like to be specific because I think it adds to the overall approval conversion rate. I did a Google Search for &#8220;Recommend me on arkayne&#8221; SEO. Then, I just go click the Arkayne link which takes me to their profile, and recommend them. Rinse and repeat.</p>
<p>It&#8217;s very similar to ping crawl, but it allows for a more dynamic selection of links, and allows you to &#8220;trust&#8221; the people you&#8217;re linking. This kind of twitter-like system is useful if you want relevant content from outside your niche.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullspeedseo.com/featured-articles/using-arkayne-to-build-highly-targetted-links/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
