<?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>Flintston.es &#187; Nerd Stuff</title>
	<atom:link href="http://flintston.es/category/nerd-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://flintston.es</link>
	<description>Affiliate Multivitamins</description>
	<lastBuildDate>Sat, 03 Jul 2010 20:05:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Video: As Seen on TV &#8211; a tribute to doing it wrong</title>
		<link>http://flintston.es/affiliate-marketing/video-as-seen-on-tv-a-tribute-to-doing-it-wrong/</link>
		<comments>http://flintston.es/affiliate-marketing/video-as-seen-on-tv-a-tribute-to-doing-it-wrong/#comments</comments>
		<pubDate>Mon, 31 May 2010 04:42:06 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Doing it Wrong]]></category>
		<category><![CDATA[Infomercials]]></category>
		<category><![CDATA[Tribute]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=372</guid>
		<description><![CDATA[Might be old, but was new to me and as an avid fan of infomercials (sadly, I think I recognized nearly every clip from this) this was pretty good.]]></description>
			<content:encoded><![CDATA[<p>Might be old, but was new to me and as an avid fan of infomercials (sadly, I think I recognized nearly every clip from this) this was pretty good.</p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/08xQLGWTSag&amp;hl=en_US&amp;fs=1&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/08xQLGWTSag&amp;hl=en_US&amp;fs=1&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<img src="http://flintston.es/?ak_action=api_record_view&id=372&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/affiliate-marketing/video-as-seen-on-tv-a-tribute-to-doing-it-wrong/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nerd Alert! Share Mouse &amp; Keyboard between Several PC&#8217;s with no KVM.</title>
		<link>http://flintston.es/nerd-stuff/nerd-alert-share-mouse-keyboard-between-several-pcs-with-no-kvm/</link>
		<comments>http://flintston.es/nerd-stuff/nerd-alert-share-mouse-keyboard-between-several-pcs-with-no-kvm/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 04:14:08 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Multiple Computers]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Synergy-Plus]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=360</guid>
		<description><![CDATA[Came across this pretty badass application today. It&#8217;s called Synergy-Plus. Basically it allows you to manage multiple computers, with a single mouse and keyboard (and monitor(s)&#8230;). All this without the use of VNC software, or KVM software. So, what&#8217;s this mean? Well, if you&#8217;re like me and have a bunch of computers humming along you [...]]]></description>
			<content:encoded><![CDATA[<p>Came across this pretty badass application today. It&#8217;s called <a href="http://code.google.com/p/synergy-plus/" target="_blank">Synergy-Plus</a>.</p>
<p>Basically it allows you to manage multiple computers, with a single mouse and keyboard (and monitor(s)&#8230;). All this without the use of VNC software, or KVM software.</p>
<p>So, what&#8217;s this mean? Well, if you&#8217;re like me and have a bunch of computers humming along you may want this. For example, one computer that you may be using Traktor or Ableton Live on, one that you&#8217;re checking stats on and one that you do your work on, you can quickly and easily drag your mouse across to each of them when required.</p>
<p>No more flipping switches, or connecting over a possibly unsafe connection.</p>
<p>It&#8217;s free, opensource, and fucking awesome.</p>
<div id="attachment_361" class="wp-caption aligncenter" style="width: 538px"><a href="http://code.google.com/p/synergy-plus/"><img class="size-full wp-image-361" title="Synergy Plus" src="http://flintston.es/wp-content/uploads/2010/03/synergy-plus-frontpage.jpg" alt="" width="528" height="245" /></a><p class="wp-caption-text">Synergy Plus - Share Multiple Computers without KVM or VNC</p></div>
<p>Like I said &#8211; pretty fucking awesome, eh?</p>
<p>Here&#8217;s the feature list from their site in-case you&#8217;re curious.</p>
<ul>
<li><a name="Interesting_features">Move your mouse easily between  computers </a></li>
<li><a name="Interesting_features">Requires nothing  other than existing ethernet </a></li>
<li><a name="Interesting_features">Copy  and paste between your computers </a></li>
<li><a name="Interesting_features">No need to press any buttons (unlike KVM) </a></li>
<li><a name="Interesting_features">You can still use multiple monitors on the  same computer </a></li>
<li><a rel="nofollow" href="http://code.google.com/p/synergy-plus/wiki/UserFAQ#Q._How_do_I_lock_the_mouse_on_one_screen?">Lock the mouse</a> to one screen temporarily (useful for  games)</li>
</ul>
<p>You can <a href="http://code.google.com/p/synergy-plus/" target="_blank">grab the code here</a>, and make use of it yourself.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=360&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/nerd-stuff/nerd-alert-share-mouse-keyboard-between-several-pcs-with-no-kvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tired of OpenX&#8217;s Lack Of Great Analytics, Enter Adtelligence?</title>
		<link>http://flintston.es/news/tired-of-openxs-lack-of-great-analytics-enter-adtelligence/</link>
		<comments>http://flintston.es/news/tired-of-openxs-lack-of-great-analytics-enter-adtelligence/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 10:42:57 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Adtelligence]]></category>
		<category><![CDATA[Adtelligenz]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[OpenX]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=320</guid>
		<description><![CDATA[Got this email today from a company that is introducing a new product to help with the analytics portion of OpenX. I know a lot of us use OpenX before moving on to one of the paid ad managers, so I thought this would be kind of relevant to a lot of us. This application, [...]]]></description>
			<content:encoded><![CDATA[<p>Got this email today from a company that is introducing a new product to help with the analytics portion of OpenX. I know a lot of us use OpenX before moving on to one of the paid ad managers, so I thought this would be kind of relevant to a lot of us. This application, that appears to be free (for now) with forthcoming paid extensions. Doesn&#8217;t work with the hosted version of OpenX &#8211; only the enterprise and self-hosted version (who doesn&#8217;t self-host anyway..) so that&#8217;s something to look out for if you&#8217;re using the hosted version of OpenX. Other than that, seems like a pretty decent looking and feature-rich new application.</p>
<p>No. I wasn&#8217;t paid for this post, just got this random email from them explaining their product and to check it out &#8211; probably because OpenX has my email address or because I&#8217;m on their consultancy list with one of my other companies.</p>
<blockquote><p>I thought I’d contact you to introduce you to Adtelligence, a new analytics application which will change the way agencies, ad networks and publishers will monitor the performance of campaigns, and report information to their advertisers, and help you reinforce the value of OpenX to your clients.</p>
<p>Adtelligence sits on top of OpenX (*) and offers a level of intuitiveness, customization and convenience that are unknown in ad serving and campaign reporting&#8230; and at no cost for the product currently online.</p>
<p>(*) Adtelligence is however compatible with the OpenX Community Download and OpenX Enterprise only. We&#8217;re not able to accommodate users of the OpenX Community Hosted product.</p>
<p>At a later stage, Adtelligence will also deliver inventory optimization and yield management capabilities, helping your clients and any media agencies, large publishers and ad networks make the right decisions regarding the management of their advertising inventory. Since we&#8217;re planning to charge these future applications, we will want to discuss with you at that point a model that will let you benefit financially from the commercialization of these applications to your clients.</p>
<p>We&#8217;d love to get your views on Adtelligence, and would therefore recommend you take a look at the product demo at <a href="http://www.adtelligence.net/">www.adtelligence.net</a>. Also feel free to start using the product with your clients, if you think the product is right for them.</p>
<p>Thank you for helping us gain visibility with your clients and future OpenX users. We’d be happy to speak with you over the phone, in the event you’d like to know more about our project and company.</p></blockquote>
<p>And, here&#8217;s their video.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/TUM2Z1633Ko&amp;hl=en_US&amp;fs=1&amp;color1=0xe1600f&amp;color2=0xfebd01" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/TUM2Z1633Ko&amp;hl=en_US&amp;fs=1&amp;color1=0xe1600f&amp;color2=0xfebd01" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>If I remember I&#8217;ll post an update after I check it out and what my thoughts are on it.</p>
<p>ASW Post is still severely late, but it&#8217;s coming I swear.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=320&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/news/tired-of-openxs-lack-of-great-analytics-enter-adtelligence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010 Prediction: Smart Marketers Will Use A Poken</title>
		<link>http://flintston.es/news/2010-prediction-smart-marketers-will-use-a-poken/</link>
		<comments>http://flintston.es/news/2010-prediction-smart-marketers-will-use-a-poken/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:04:17 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Contact Information]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Poken]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=307</guid>
		<description><![CDATA[As marketers we know how often we share information with the people we meet. For example, I personally handed out over 350 business cards alone at Affiliate Summit East in just 2 nights and quickly ran out. While it’s awesome to be handing out so many cards and getting my name out there, it does [...]]]></description>
			<content:encoded><![CDATA[<p>As marketers we know how often we share information with the people we meet. For example, I personally handed out over 350 business cards alone at <a href="http://www.affiliatesummit.com/">Affiliate Summit East</a> in just 2 nights and quickly ran out. While it’s awesome to be handing out so many cards and getting my name out there, it does come at a cost – you know that scene in the Lord of War with Nicholas Cage when he’s shooting the gun and every bullet makes a ca-ching noise, handing out business cards is similar – especially if you pay good money to have nice looking cards. Not to mention, running out of cards at a conference totally sucks.</p>
<p>But, that’s okay because there’s something new out there that makes all of this history. I found out about these things called a “<a href="http://flintston.es/links/links.php?sendto=poken">Poken</a>”. In basic terms, these things are electronic business cards. They’re a small USB device that stores all of your key information so you can quickly transmit it to others. This means no more business card printing which is great for the environment and no chance of running out of cards to hand out – of course, if you lose the device you’re kinda screwed, but how often do you lose your keys? I assume, never.</p>
<p>So, why do smart marketers need one of these? Simple, it’ll cut down on your luggage if you’re bringing 1000 cards and you can keep everything organized in one spot and quickly download it to your computer or laptop when you need to. No more rummaging through napkins, post it notes or whatever else you have peoples contact information written on. Not to mention that these <a href="../links/links.php?sendto=poken">Pokens</a> come in cool colors and styles – ranging from business professional to cutesy little ninjas and monsters.</p>
<p>So, how do they work? Just as you’d expect in today’s technology driven world – you simply walk up to anyone else with a <a href="../links/links.php?sendto=poken">Poken</a>, touch them together and you’ve transferred your contact information. Could it really get any simpler? I don’t think so.</p>
<p>Obviously it will take some time for everyone to have these, so the transition might involve some hand writing and converting information to get it on your <a href="/links/links.php?sendto=poken">Poken</a>, but in the long term I really think lots of people will start using these and it will only get better and easier as time passes.</p>
<p>I personally love this idea, and will definitely be picking one up to use at <a href="http://www.affiliatesummit.com/">Affiliate Summit West</a>, now the problem is deciding which one I want to get!</p>
<p>See you at <a href="http://www.affiliatesummit.com/">ASW 2010</a> and I’ll even let you touch my <a href="../links/links.php?sendto=poken">Poken</a> if you ask nicely!</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=307&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/news/2010-prediction-smart-marketers-will-use-a-poken/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>For The Leet Folk. How to Set Up PHPBay with LigHTTPD Rewrites Instead Of Apache.</title>
		<link>http://flintston.es/nerd-stuff/for-the-leet-folk-how-to-set-up-phpbay-with-lighttpd-rewrites-instead-of-apache/</link>
		<comments>http://flintston.es/nerd-stuff/for-the-leet-folk-how-to-set-up-phpbay-with-lighttpd-rewrites-instead-of-apache/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 17:01:29 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[PHPBay]]></category>
		<category><![CDATA[Rewrite]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=301</guid>
		<description><![CDATA[Tonight I was setting up PHPBay and noticed they don&#8217;t seem to have any instructions on their site, or in their documentation or anyone in forums (and, only 3 pages of google results for this.. so I guess nobody else runs LigHTTPD with PHPBay). So, if you happen to be like me, and prefer speed [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I was setting up <a href="http://flintston.es/links/links.php?sendto=phpbay" target="_blank">PHPBay</a> and noticed they don&#8217;t seem to have any instructions on their site, or in their documentation or anyone in forums (and, only 3 pages of google results for this.. so I guess nobody else runs LigHTTPD with PHPBay). So, if you happen to be like me, and prefer speed and simplicity to large bloated http servers this may help you out.</p>
<p>I&#8217;m not a super ninja with rewrite rules, so I had my buddy <a href="http://www.elisand.com/" target="_blank">Eli Sand</a> from <a href="http://nerdscene.com" target="_blank">nerdscene</a> give me a hand on these. Also note, depending on your configuration options these might need to be changed. The key thing to note is to convert the <strong>(.*)</strong> to<strong> ([^_])</strong> instead.</p>
<p>Here are the original Apache Rewrite rules;</p>
<blockquote><p>RewriteRule ^item-(.*)_(.*)_(.*)_(.*).html$ auction.php?title=$1&amp;item=$2&amp;country=$3&amp;ccid=$4<br />
RewriteRule ^item-(.*)_(.*)_(.*).html$ auction.php?title=$1&amp;item=$2&amp;country=$3<br />
RewriteRule ^item-(.*)_(.*).html$ auction.php?title=$1&amp;item=$2</p></blockquote>
<p>Here are the typical redirect rules for your LIGHTTPD WordPress Vhost;</p>
<blockquote><p>url.rewrite = (<br />
&#8220;^/(wp-admin|wp-includes|wp-content)/(.*)&#8221; =&gt; &#8220;$0&#8243;,<br />
&#8220;^/(.*)\.(.+)$&#8221; =&gt; &#8220;$0&#8243;,<br />
&#8220;^/(.+)/?$&#8221; =&gt; &#8220;/index.php/$1&#8243;,<br />
)</p></blockquote>
<p>And, here&#8217;s what we&#8217;ve added to make it compatible with <a href="http://flintston.es/links/links.php?sendto=phpbay" target="_blank">PHPBay</a></p>
<blockquote><p>url.rewrite = (<br />
<strong>&#8220;^/item-([^_]+)_([^_]+)_([^_]+)_([^_]+).html$&#8221; =&gt; &#8220;/auction.php?title=$1&amp;item=$2&amp;country=$3&amp;ccid=$4&#8243;,<br />
&#8220;^/item-([^_]+)_([^_]+)_([^_]+).html$&#8221; =&gt; &#8220;/auction.php?title=$1&amp;item=$2&amp;country=$3&#8243;,<br />
&#8220;^/item-([^_]+)_([^_]+).html$&#8221; =&gt; &#8220;/auction.php?title=$1&amp;item=$2&#8243;,</strong><br />
&#8220;^/(wp-admin|wp-includes|wp-content)/(.*)&#8221; =&gt; &#8220;$0&#8243;,<br />
&#8220;^/(.*)\.(.+)$&#8221; =&gt; &#8220;$0&#8243;,<br />
&#8220;^/(.+)/?$&#8221; =&gt; &#8220;/index.php/$1&#8243;,<br />
)</p></blockquote>
<p><a href="../links/links.php?sendto=phpbay" target="_blank"> </a>Pretty easy stuff really, but took a minute to wrap our heads around the conversion of the rules.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=301&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/nerd-stuff/for-the-leet-folk-how-to-set-up-phpbay-with-lighttpd-rewrites-instead-of-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>User Contributed Databases.. For Free?</title>
		<link>http://flintston.es/nerd-stuff/user-contributed-databases-for-free/</link>
		<comments>http://flintston.es/nerd-stuff/user-contributed-databases-for-free/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 08:51:47 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Logos]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=290</guid>
		<description><![CDATA[Okay. Something totally blew my mind tonight for coming up with new ideas. This morning, after working on the new campaign I&#8217;m launching I took a break for about .. oh 3 hours, and just did procrastination shit like catching up on emails, working on some beats in ableton live, doing some client work, and [...]]]></description>
			<content:encoded><![CDATA[<p>Okay. Something totally blew my mind tonight for coming up with new ideas.</p>
<p>This morning, after working on the new campaign I&#8217;m launching I took a break for about .. oh 3 hours, and just did procrastination shit like catching up on emails, working on some beats in ableton live, doing some client work, and catching up on rss. I was reading this <a href="http://www.webresourcesdepot.com/" target="_blank">design blog</a> and he had a link off to this place that has free databases, that you can download. What?. Yup. Free CSV databases of all sorts of things.</p>
<p>Hiking Trails, Restaurants in California, Beer Comparisons, Etc.</p>
<p>It&#8217;s called <a href="http://www.factual.com/" target="_blank">Factual</a>.</p>
<p>I got a database as a test of those restaurants in california, and it was 54k rows, and 20 megabyte download. Niche stuff, free, constantly updated, and already formatted for you.</p>
<p>Who knew!</p>
<p>On another note, I also found this cool site for a bunch of <a href="http://www.shaboopie.com/category/logos" target="_blank">free photoshop or illustrator logos</a> on it. I&#8217;ve seen most of these before, or very similar ones, but they are good as samples to go from or to modify into your creations.</p>
<p>While not directly affiliated marketing related, these types of tools are great for any web entrepreneur to have in his or her toolbox.</p>
<p>I&#8217;m sure this is &#8220;teh old&#8221; to some, but it was pretty cool of a find to me.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=290&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/nerd-stuff/user-contributed-databases-for-free/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating Quick Scrapers Using Xpather, Snoopy &amp; PHP</title>
		<link>http://flintston.es/nerd-stuff/creating-quick-scrapers-using-xpather-snoopy-php/</link>
		<comments>http://flintston.es/nerd-stuff/creating-quick-scrapers-using-xpather-snoopy-php/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 08:43:00 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Scraping]]></category>
		<category><![CDATA[Snoopy]]></category>
		<category><![CDATA[Xpather]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=275</guid>
		<description><![CDATA[I’ve been working on a bunch of review sites, and because of this I’ve had to gather some data from websites – mostly stuff that’s not included in the data feeds that I’m using and wanted to compliment my information with some additional specifications for my users to check out items this coming holiday season, [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working on a bunch of review sites, and because of this I’ve had to gather some data from websites – mostly stuff that’s not included in the data feeds that I’m using and wanted to compliment my information with some additional specifications for my users to check out items this coming holiday season, with ease, and hopefully make them click happy for purchasing J</p>
<p>I started out reading a bunch of tutorials on using Curl and PHP to scrape and even built a little scraper that worked fucking awesome for the page I created it for, it had 21 regex’s, and used a bunch of curl lines to connect and grab the information I needed. I was so proud, so proud of this monstrosity. So, after testing it repeatedly on one page, I had it run through nearly 200 pages – guess what, I only got results from 2 pages because they were so different.</p>
<p>Fuck.</p>
<p>So, after spending about a day learning some regex’s, and testing out all this crazy stuff, it was pointless. I was on IRC venting my frustrations and <a href="http://datarecall.org" target="_blank">Datarecall</a> jumped in and told me about this awesome program called <a href="https://addons.mozilla.org/en-US/firefox/addon/1192" target="_blank">Xpather</a>. It’s a plugin for firefox that lets you just simply right click any element on the page, and view the full xpath for an item.</p>
<p><strong>I did learn that Firefox will automatically inject TBODY tags, so you may have to remove those for your scraper to work. Thought I should mention this incase you run into troubles like I did.</strong></p>
<p>Anyway, so yeah, with this plugin and Firefox I was now armed with the tools needed to create a new scraper, that actually grabbed all the data from the pages I needed.</p>
<p>I ended up using the <a href="http://sourceforge.net/projects/snoopy/" target="_blank">Snoopy</a> class from sourceforge to make the curl connections nice and easy, and simplify a lot of the base coding so I didn’t have to do it myself. If I had more time, maybe, but for now it’s quicker using something pre built and does the job. Remember, we’re trying to save time now and in the future right?</p>
<p>Anyway, so after grabbing snoopy and making sure it connected to the site I wanted, I created some basic code to get me started;</p>
<p>I opened a file called <strong>snooper.php</strong> and added the following to it;</p>
<blockquote><p>&lt;?php<br />
error_reporting(E_ERROR);// | E_WARNING | E_PARSE);<br />
include (&#8216;Snoopy.class.php&#8217;);<br />
function convert_smart_quotes($string)</p>
<p>{<br />
$search = array(chr(194),chr(146),chr(147),chr(148),chr(151),chr(174),&#8221;  &#8220;);<br />
$replace = array(&#8220;&#8221;,&#8221;&#8216;&#8221;,&#8217;&#8221;&#8216;,&#8217;&#8221;&#8216;,&#8217;-',&#8217; &#8216;,&#8217; &#8216;);<br />
return str_replace($search, $replace, $string);<br />
}</p></blockquote>
<p>What this does is sets up the error reporting (when dealing with scraping, you might see a lot of errors, this tones it down a bit for us. You can always comment it out if you want to see all the errors for debugging or troubleshooting purposes).</p>
<p>Following the error reporting, we include the snoopy class so that it sets up the connection to our website that we’re going to scrape.</p>
<p>Now, the next lines are optional, but I found with some funky characters in my output they really helped. That’s what the Convert_Smart_Quotes function does, it will go ahead and take any fancy characters, double spaces, or whatever you throw at it and convert them to whatever proper character you want. You might not need this, or want to edit it, but I found it nearly invaluable to getting nice clean data at the end.</p>
<p>Next we’re going to want to add a few lines to load all our urls from a text file.</p>
<blockquote><p>$lines = file(&#8216;urls.list&#8217;);</p>
<p>foreach ($lines as $line_num =&gt; $line)</p>
<p>{</p></blockquote>
<p>If you&#8217;re quick, you&#8217;ll notice that we&#8217;re missing a closing bracket, that&#8217;s fine we&#8217;ll add it later.</p>
<p>What this does is pretty simple, it’s going to look for a file called “urls.list” in the same directory as the script, and for each line of the file it will run your scraper. This is where you’d put your list of urls in the format that looks like this.</p>
<blockquote><p>url1<br />
url2<br />
url3<br />
etc</p></blockquote>
<p>So, if you want to test you can just put one or two urls in here, and then populate it later it’s really up to you, but it’s nicer to have this part of the overall scraper already done for you. I’m not going to tell you where or how to get your URL list, gotta leave some things up to you right?</p>
<p>Now, between our foreach loop we’re going to want to add some more code, this is the start of our scraper, and the connections it makes;</p>
<blockquote><p>unset($snooper);<br />
unset($output);<br />
$snooper = new Snoopy();</p></blockquote>
<p>What this does is unsets the snooper variable each time it runs through the foreach loop on our urls, this is important so we don’t get doubled up information in our output later on. The same thing for the output variable here too and why we’re unsetting it too.  The next line sets up our snooper with the class we downloaded from sourceforge, no fuss no muss.</p>
<p>Now we’re getting somewhere. We have a script that’s going to turn off error reporting, load up the snooper class, loop through a list of urls, creating a snooper connection for each url.</p>
<p>Now we need to get some data, this is where the xpather plugin for firefox comes in handy. Go to one of the pages you want to scrape, and select an element on the page. For our example, lets say there’s a table with two rows and we want to grab the information from each one. We might add something like this following the code we added above.</p>
<blockquote><p>if ($snooper-&gt;fetch($line)) {</p>
<p>$dom = new DomDocument();<br />
@$dom-&gt;loadHTML($snooper-&gt;results);<br />
$x = new DomXPath($dom);</p>
<p>foreach ($nodes = $x-&gt;query(&#8220;//td[@class='tablerow1']&#8220;) as $node) {<br />
$row1 = convert_smart_quotes(str_replace(array(&#8220;\n&#8221;, &#8220;\r&#8221;, &#8220;\t&#8221;), &#8221;,$node-&gt;nodeValue)) . &#8220;&#8221;;<br />
$output['row1'][] = $row1;<br />
}<br />
foreach ($nodes = $x-&gt;query(&#8220;//td[@class='tablerow2']&#8220;) as $node ){<br />
$row2 = convert_smart_quotes(str_replace(array(&#8220;\n&#8221;, &#8220;\r&#8221;, &#8220;\t&#8221;), &#8221;,$node-&gt;nodeValue)) . &#8220;&#8221;;<br />
$output['row2info'][] = $row2;<br />
}</p></blockquote>
<p>So, what this does for us, is checks the source of the items in the url list, for a table with a class of ‘tablerow1’ and ‘tablerow2’, obviously you’ll have to change that for what’s specific to your case.</p>
<p>This will give you the results of everything from row1, and row2 on the page. Now you need to display it. So, we’ll add something like this after this new code</p>
<blockquote><p>$display .= trim(str_replace(array(&#8220;\n&#8221;, &#8220;\r&#8221;, &#8220;\t&#8221;), &#8221;, &#8220;&lt;h2&gt;Row 2 Info&lt;/h2&gt;&lt;ul&gt;&#8221;));<br />
foreach($output['row2info'] as $k =&gt; $v) {<br />
$display .= &#8220;&lt;li&gt;&#8221; . str_replace(array(&#8220;\n&#8221;, &#8220;\r&#8221;, &#8220;\t&#8221;), &#8221;, trim($output['row1'][$k]) . trim($v)) . &#8220;&lt;/li&gt;&#8221;;<br />
}<br />
$display .= str_replace(array(&#8220;\n&#8221;, &#8220;\r&#8221;, &#8220;\t&#8221;), &#8221;, trim(&#8220;&lt;/ul&gt;&#8221;));<br />
$display .= &#8220;\n&#8221;;<br />
}</p></blockquote>
<p>What this does, is gives you a heading with ROW2, and then an un-ordered list with each item in row 2 displayed for you, with ROW1 as the heading for each.</p>
<p>You can change how it displays entirely, this just happened to suit the particular need I had for it, which was to grab a table with many rows of specifications followed by the specification detail.</p>
<p>After this, you just have to add the following lines and you should be good to go.</p>
<blockquote><p>print($display);</p>
<p>?&gt;</p></blockquote>
<p>You can <a href="/wp-content/uploads/scraper4.php.txt" target="_blank">download the full script here</a> if you don’t want to paste all this crazy stuff into a file, and just upload it along with <a href="http://sourceforge.net/projects/snoopy/" target="_blank">Snoopy</a> to your server and start playing around with it. Remember you’ll have to create a file called<strong> urls.list</strong> to work with, and modify the xpath of the items you’re trying to grab using <a href="https://addons.mozilla.org/en-US/firefox/addon/1192" target="_blank">Xpather</a>.</p>
<p>Hope this helps somebody else with scraping.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=275&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/nerd-stuff/creating-quick-scrapers-using-xpather-snoopy-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Save Time Roughing Your Applications With Balsamiq</title>
		<link>http://flintston.es/reviews/save-time-roughing-your-applications-with-balsamiq/</link>
		<comments>http://flintston.es/reviews/save-time-roughing-your-applications-with-balsamiq/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 00:49:17 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Balsamiq]]></category>
		<category><![CDATA[Napkee]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=269</guid>
		<description><![CDATA[Stop using napkins for that important business idea. Balsamiq allows you full control and flexibility when it comes to sketching or thumbnailing your latest idea. Check out our review. ]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve all been there. Struck by a moment of ambition and creativity. A new application, tool or website idea has popped into our heads and we have nowhere to write it down to remember our idea. Except for maybe the closest napkin or piece of scrap paper. This of course opens up the possibility to losing the paper, or accidentally throwing it out or whatever.</p>
<p>Whether we like to admit it or not, this is a common problem among many entrepreneurs &#8211; many of us have ADD, and we&#8217;re serial entrepreneurs. We have about 100 ideas at all times and want to get something out as quick as possible, and communicate it effectively.</p>
<p>Enter <a href="http://www.balsamiq.com" target="_blank">Balsamiq</a>.</p>
<p>You may have heard of this application a year or so ago when it was highlighted on Digg and Slashdot. I had too, but honestly never took the time to download it and test it out myself. I probably should have though.</p>
<p>In case you&#8217;re not familiar with the application, at the simplest level relates back to my <a href="http://flintston.es/affiliate-marketing/wanna-make-internet-monies-just-fucking-do-it/" target="_blank">Just Fucking Do It</a> post about getting things done. This application lets you rough out your ideas super quickly, and efficiently with their pre-developed set of graphical elements to toss into your sketch.</p>
<p>Here&#8217;s the introduction video, which can probably explain it much quicker and more eloquently than I ever could.</p>
<div style="text-align: center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/zLysy3IPfFI&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/zLysy3IPfFI&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p>What&#8217;s really cool about this application, similar to mind mapping, it lets you get your ideas out and into digital format at almost the same speed of regular pen and paper. If you&#8217;re like me, you know that using a pen and paper is the quickest way to get your ideas out but almost always ends up with a messy sheet of paper, with a bunch of things crossed out or erased and updated ideas inserted. Using <a href="http://www.balsamiq.com/" target="_blank">Balsamiq</a> avoids this because everything is digital so you can actually delete items and just replace them. Much like a word processor, except for your application/website/whatever ideas.</p>
<p>I&#8217;m planning some applications with a few groups and have been testing out this software for them over the past few days. It&#8217;s working great however I do still notice that it&#8217;s &#8220;software&#8221; and not &#8220;pen and paper&#8221;, but this is probably just something that has stuck in my head for nearly 30 years and won&#8217;t take long to get over. I imagine it would be even better if I had a tablet pc, however I don&#8217;t so I can&#8217;t comment on that.The software is definitely saving me time, and allowing me to communicate my ideas much easier than before. I tend to think fast, and the &#8220;curse of knowledge&#8221; affects me and I think that others also understand the same things I do &#8211; even if they aren&#8217;t geeks &#8211; this software helps me keep things simple and explain my ideas visually which really really helps me with my work.</p>
<p>I also really enjoy that it looks.. like a drawing you&#8217;d create on a napkin. Here, take a look at this screen shot for an example;</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-270" title="Balsamiq Mockup Image" src="http://flintston.es/wp-content/uploads/2009/10/mytube-300x267.gif" alt="Balsamiq Mockup Image" width="300" height="267" /><p class="wp-caption-text">Balsamiq Mockup Image</p></div>
<p>I think this approach, keeping things simple I mean, makes this application all the better. I&#8217;ve seen other mind mapping tools like this, but they try and make everything look fancy which in my opinion makes the application harder to use, and won&#8217;t allow your brain to get past the &#8220;it&#8217;s gotta be perfect&#8221; mentality and instead into the &#8220;lets just get this shit done so we can finalize it and get it out there&#8221; mentality.</p>
<p><em>Side Note: While thinking about this post, I thought I should mention one of the mind mapping application I do like, which is slightly different than a thumbnail sketcher but along the same lines for the creative thinking aspect, is <a href="http://mindjet.com/" target="_blank">Mindjet</a> &#8211; but that&#8217;s a whole other article in itself. </em></p>
<p>Another thing that&#8217;s pretty cool about this thumbnail sketching software, especially for me when designing landing pages or site templates is the <a href="http://www.napkee.com/" target="_blank">napkee</a> extension that&#8217;s available to take your <a href="http://www.balsamiq.com/" target="_blank">Balsamiq</a> creation, and export it as a html/css page. This lets me quickly map something out, even if I&#8217;m on the phone, and then quickly upload it for a client to check out &#8211; saves me lots of time, or scanning in my hand drawn notes (and often converting them in illustrator because they&#8217;re so messy). Saving time, is saving money which you can never go wrong with.</p>
<div id="attachment_272" class="wp-caption aligncenter" style="width: 309px"><img class="size-medium wp-image-272" title="Napkee Plugin" src="http://flintston.es/wp-content/uploads/2009/10/napkee_hp-299x196.jpg" alt="Napkee Plugin" width="299" height="196" /><p class="wp-caption-text">Napkee Plugin</p></div>
<p>I know these applications cost some coin, but I like to think of it this way, when I go ahead and drop the $49 on Napkee, and 79$ on Balsamiq, this is $128. Which, in my case depending on the client is about 2 hours worth of my &#8220;time billed&#8221;. Not to mention the time it saves me for my personal affiliate/internet marketing ventures that I am creating. So, saying this saves me 30 minutes in the roughing out process of every application or idea I have, that only means 4 ideas and I essentially have my money back for the expense of this product.</p>
<p>No, I am not an affiliate of theirs, I&#8217;m not being paid to write this post. I just wanted to show you guys other areas you can save huge amounts of time besides the automation or scripting you&#8217;re already doing. The more you streamline your whole operation, the more time you&#8217;ll have laying on the beaches of Thailand.</p>
<p>Thanks <a href="http://www.balsamiq.com/" target="_blank">Balsamiq</a> for the review copy that made this post possible and for indirectly cleaning up my desk and wallet!</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=269&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/reviews/save-time-roughing-your-applications-with-balsamiq/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Review 3.0 Plugin Installed, Upgraded and Reviewed.</title>
		<link>http://flintston.es/reviews/wordpress-review-3-0-plugin-installed-upgraded-and-reviewed/</link>
		<comments>http://flintston.es/reviews/wordpress-review-3-0-plugin-installed-upgraded-and-reviewed/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 09:05:56 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Wordpress Review Plugin]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=258</guid>
		<description><![CDATA[Incase you live under a rock, I’ll let you in on a little secret about one of the coolest wordpress plugins available today for making monies online. WordPress Review Plugin. Yup, turn your wordpress site into a review site in a few minutes with this baby. If you’re already aware of the plugin or maybe [...]]]></description>
			<content:encoded><![CDATA[<p>Incase you live under a rock, I’ll let you in on a little secret about one of the coolest wordpress plugins available today for making monies online.</p>
<p><strong>WordPress Review Plugin.</strong></p>
<p>Yup, turn your wordpress site into a review site in a few minutes with this baby.</p>
<p>If you’re already aware of the plugin or maybe even a current user you’re probably already in the know about the latest release of the WordPress Review Plugin. This past week <a href="/links/links.php?sendto=reviewplugin" target="_blank">version 3.0</a> was released. This rendition of the plugin includes some pretty cool new features that I’ll talk about later. But first some information about the plugins for anyone not familiar with it already.</p>
<p>What this plugin does, is it turns your WordPress sites into easy and highly customizable review sites in just a few minutes. I’ve been a user since the very first release and wow has it ever been impressing me every step of the way.</p>
<p>At first I was a little skeptical about the price that they were charging for the plugin, but once I realized that I had unlimited domain usage and the speed at which new releases and features were unleashed on us I don’t think one can really go wrong.</p>
<p>In the beginning, this plugin overall wasn’t very feature rich, but it worked and imported your data quite nicely, but it just wasn’t super duper professional. With the latest release of 3.0, there’s a number of new features and improved features that really make this a kickass plugin for automating review sites and creating income for a long time, all while delivering tangible and credible information to your site visitors.</p>
<p>This release brings full integration of Google Maps, scheduled and Cron importing of all your datafeeds or whatever it is you’re importing for the site to review. There’s also a thread on the members area of the forum where you can get customized star icons to show different types of images to your visitors depending on the niche of the site – cool!</p>
<p>So, what exactly have I been up to for the past couple days with this plugin? Well, first I wanted to test it out on a new site and install it from scratch. This was obviously very easy, and also was pleased to find out that 3.0.2 fixed the nasty issue of your license.txt being replaced. Thanks guys!</p>
<h2><strong>Installing on a new domain</strong></h2>
<p>I uploaded the plugin to my site, and then shamefully spent a couple days building a scraper to compliment the information the advertiser already provided for me in their datafeed. After I had my CSV file created with all my information in it, I just spent some time researching a theme for the site I was creating and then customizing it to my market. After that I just uploaded the CSV and I was ready to start building links.</p>
<p>Wait just a minute here. Lets look at that again, and put some times associated with it;</p>
<ol>
<li>Register Domain and Point DNS – <em>5 minutes</em></li>
<li>Download Plugin – <em>30 Seconds</em></li>
<li>Create License for Site – <em>30 Seconds</em></li>
<li>Install WordPress and WFReview Plugin – <em>5 Minutes</em></li>
<li>Find Theme – <em>~30 Minutes</em></li>
<li>Scrape Data or Download Datafeed and organize &#8211; <em>~1hr &#8211; ~3hr</em></li>
<li>Theme Customizations &#8211; <em>~30 Minutes</em></li>
<li>Link Building &#8211; <em>~5 Minutes on Wickedfire</em></li>
<li>Submit to Google Sitemaps – <em>1 Minute</em></li>
</ol>
<p>That, ladies and gentlemen is a complete site up and running in 2 hours and 17 minutes at the shorter end of things. Of course this wouldn’t be including your market research and other things that “pop up” but still, it just goes to show how quick it can be to get this plugin rocking and ready to receive <a href="/links/links.php?sendto=reviewplugin" target="_blank">the internet monies</a> for you and you&#8217;re ready to move on to the next site. As you can probably guess, this is especially the case when you’re dealing with data feeds.</p>
<p>Did I mention that the latest version of the plugin also lets you schedule imports from feeds, This means you can set it to update from a csv file that’s dropped in place every few days or weeks to add new products, so your site could theoretically have an endless stream of reviewable products for the public to enjoy and purchase. Keeping the consumer happy, keeps you happy after all.</p>
<h2>Upgrading WFReview</h2>
<p>After getting that site finished, I thought I should try an update of the plugin. For this I decided to run it on one of my old local niche sites for business reviews. I was running the very first edition of the plugin on it, so very old. I figured I would have a tough time upgrading it and oh boy did I ever.</p>
<p>Yeah, I had to make 2 whole changes in my CSS file and re-import my CSV file which took a whole 5 minutes.</p>
<p>Gotta say guys, this was pretty impressive. Usually shit always breaks, and it takes forever for a major upgrade, not to mention across two whole product versions. Props!</p>
<p>You’ll see here some of the differences between the two plugins and what’s changed. I took a couple screenshots just before I upgraded the plugin.</p>
<div id="attachment_260" class="wp-caption aligncenter" style="width: 165px"><img class="size-full wp-image-260" title="WF Review Old Menu" src="http://flintston.es/wp-content/uploads/2009/10/2_menu.JPG" alt="Old Menu" width="155" height="155" /><p class="wp-caption-text">Old Menu</p></div>
<p>And now, look at the new menu.</p>
<div id="attachment_261" class="wp-caption aligncenter" style="width: 169px"><img class="size-full wp-image-261" title="WFReview 3.0 Menu" src="http://flintston.es/wp-content/uploads/2009/10/3bar.JPG" alt="New Menu in 3.0" width="159" height="247" /><p class="wp-caption-text">New Menu in 3.0</p></div>
<p>As you can see there&#8217;s a bunch more options, and it&#8217;s laid out a little more sequentially than it was before. Again, the little things are what really matters for plugins like this. Keeping things easy, streamlined and efficient is the best way to go.</p>
<p>And, as mentioned the sought after scheduled importing of files has arrived. Check this out.</p>
<div id="attachment_262" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-262" title="Scheduling Posts" src="http://flintston.es/wp-content/uploads/2009/10/30_schedule.JPG" alt="Scheduling Posts" width="500" height="256" /><p class="wp-caption-text">Scheduling Posts</p></div>
<p>Pretty cool eh?</p>
<h2>Overall WFReview Thoughts</h2>
<p>As you can tell from my post, I&#8217;m pretty enthusiastic about this plugin and what it can handle for you. Way back when I first bought this, I was able to get about 10 sites up for a local niche I&#8217;m trying to dominate and it only took me like a week including building two scrapers to get the content I required for the site. How cool is that. Back then, I probably would have had a lot more to put into this list as a negative aspect of the plugin.</p>
<p>Today, there&#8217;s not much I can complain about. It would be nice if when replacing your data, you could have an option to keep comments left by site visitors, and if a kickass theme came with this plugin out of the box, but I&#8217;m sure that&#8217;s in the works for feature releases.</p>
<p>I&#8217;m also pretty stoked about the forthcoming release of the Featured Review plugin by the same guys who make the wordpress review plugin. I think these two things combined will be pardon the french, fucking awesome.</p>
<p>To buy this plugin, you should really <a href="/links/links.php?sendto=reviewplugin" target="_blank">use this link</a> because I told you so. /waves jedi hand/</p>
<blockquote>
<h3><strong>No Bullshit Review, <strong>8/10</strong>, only because it&#8217;s missing a rad theme.</strong></p>
<p><strong><a href="/links/links.php?sendto=reviewplugin" target="_blank">GET WFREVIEW 3.0 HERE HOMIE<br />
</a></strong></h3>
</blockquote>
<img src="http://flintston.es/?ak_action=api_record_view&id=258&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/reviews/wordpress-review-3-0-plugin-installed-upgraded-and-reviewed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Script: Redundant Automatic Link Updating Across Your Sites</title>
		<link>http://flintston.es/nerd-stuff/free-script-redundant-automatic-link-updating-across-your-sites/</link>
		<comments>http://flintston.es/nerd-stuff/free-script-redundant-automatic-link-updating-across-your-sites/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 08:17:57 +0000</pubDate>
		<dc:creator>Bamm</dc:creator>
				<category><![CDATA[Nerd Stuff]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Automatic]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Linking]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://flintston.es/?p=209</guid>
		<description><![CDATA[Today I was spending time updating some of the links across my sites that were setup in htaccess files, or in the virtual host files for redirects to my affiliate links. I was getting super bored, and a little bit pissed off. Then I thought to myself, why am I not automating this so I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was spending time updating some of the links across my sites that were setup in htaccess files, or in the virtual host files for redirects to my affiliate links. I was getting super bored, and a little bit pissed off.</p>
<p>Then I thought to myself, why am I not automating this so I only have to go to one place to update all the links across my sites.</p>
<p>Thanks mainly to <a title="BlackHat SEO Automation Blog" href="http://contempt.me/" target="_blank">Contempt.me</a> for putting me in the automation/make myself even more lazy mindset on this one.</p>
<p>I&#8217;m really not a programmer, but I&#8217;ve been around it for 15+ years so I do have a slight familiarity with code. I figured this task would be easy enough to accomplish if I did a bit of reading. So, I sat down with a coffee and got to work figuring out how to make this little idea of mine a reality. Overall, it wasn&#8217;t very difficult even for a non programmer such as myself.</p>
<p>What my little script does is the following;</p>
<ul>
<li>You upload it to your server after creating your database (explained later)</li>
<li> You create links on your site using a special URL (explained later)</li>
<li> The user clicks on it and is directed to the appropriate offer from the script.</li>
</ul>
<p>Pretty simple when you think about it, but there&#8217;s a catch. What if something is wrong with the keyword or no keyword is entered at all? Well, not a problem when you have a default site created as well.</p>
<p>Yup, this script also checks if the keyword is missing or blank, and then will direct the user to a default site for the given domain. This is a great way to switch all your links out to the default link in a matter of seconds.</p>
<h3>For example;</h3>
<blockquote><p>Say a user visits your site, and you have a simple link to your links script</p>
<p>The user then clicks on that link</p>
<p>The script then checks if there&#8217;s an affiliate link associated with the domain the click is coming from, and the keyword used on the link.</p>
<p>If no affiliate link is available for that particular site and keyword, it will then check if there&#8217;s a default link for the particular site.</p>
<p>If no affiliate link is available as a default for the site either, then it will go on to reading a global default from the database.</p>
<p>but wait, <strong>i shit you not</strong>, there&#8217;s more.</p>
<p>If no affiliate link is available, or something&#8217;s wrong with the database, then it will use a hardset super world domination global link from the script itself.</p></blockquote>
<p>That&#8217;s right, even if all hell is breaking lose, that user will still get to an affiliate offer of your choosing. This may not be totally targetted or anything, but at least you have full control over what the user is seeing the whole way down the chain on your sites.</p>
<p>You&#8217;re probably wondering how to install this little beast on your servers to try out. Well, it&#8217;s pretty easy after you create a shitload of configuration files, and then telnet to nasa and then .. no I&#8217;m just kidding, you just have to create a database, make 4 edits to the script, and then upload it and you&#8217;re done. Then you just have to fill up the database and you&#8217;re away to the races.</p>
<h3>Requirements;</h3>
<ul>
<li>MySQL</li>
<li>PHP</li>
<li> Web Server</li>
<li> About 5 minutes of your time</li>
</ul>
<h3>Here&#8217;s how to install this bad boy;</h3>
<ol>
<li>Download the <a href="/wp-content/uploads/auto-linker.zip" target="_blank">Automatic Link Updating PHP Script and Database</a> files</li>
<li>Create a new database on your server name it something creative if you enjoy</li>
<li> Create a user that has access to the database, similarly creative name and password an option here too for you artistic folk out there. Read only access is fine, man.</li>
<li> Now insert the SQL included in the archive to your database, we even have some sample entries in there for you. You can do this using PHPMyadmin or whatever.<strong>
<p></strong><strong>Change the following in the SQL if you want it to work right out of the box for testing;</strong><br />
All references to &#8220;<strong>yourdomain.com</strong>&#8221; must become your <strong>actual domain</strong>.</li>
<li> Now you&#8217;re ready to edit the <strong>links.sql</strong> file included</li>
<li> Change the following items in there;<strong>
<p></strong><strong>hardlink</strong> &#8211; set this to whatever you want the super duper global link to be when all else fails<br />
<strong>dbhost</strong> &#8211; set this to teh database host<br />
<strong>db user</strong> &#8211; set this to the database user<br />
<strong>dbpass</strong> &#8211; set the database password<br />
<strong>dbname</strong> &#8211; set the database name</li>
<li> Upload <strong>links.php</strong> to your server</li>
</ol>
<p>You&#8217;re essentially done, but of course, you should test everything. This is how you do that.</p>
<h3>Testing things out</h3>
<p>First you should hit up phpmyadmin, and change any of the links or keywords, but we&#8217;re going to assume you&#8217;re lazy and just went with our defaults, <strong>only changing your domain name (this is a must, if you didn&#8217;t do this, go do it now!).</strong></p>
<p>First test the script works, by hitting here;</p>
<blockquote><p><em>http://yourdomain.com/links.php</em></p></blockquote>
<p>That should take you off to <strong>lulz.com</strong></p>
<p>Now, test the script for your domain and keywords</p>
<blockquote><p><em>http://yourdomain.com/links.php?sendto=trink </em></p></blockquote>
<p>That should zip you off to <strong>bingo.com</strong></p>
<p>Now if you want to get extra fancy, go in and edit the sql, and change the keyword &#8220;<strong>default</strong>&#8221; on your domain, and put it to something like <strong>pizza</strong> or whatever you like.</p>
<blockquote><p><em>http://yourdomain.com/links.php?sendto=whatever</em></p></blockquote>
<p>Now hit your site again, and it should take you to <strong>digg.com</strong></p>
<p>If you see <strong>digg</strong>, bravo. You can also run through and remove the &#8220;<strong>default</strong>&#8221; keyword from the global default item in the database to test out the super duper global default site you hardcoded in the script earlier.</p>
<p>If you did decide to test out the global default, without changing anything you probably see <strong>wickedfire</strong>.</p>
<h3>Final Setup Stuffz</h3>
<p>Congratulations, your shit is working and you&#8217;re now automated.</p>
<p>All that needs to be done now is go through PHPMyadmin and add a bunch of sites to your list, and keywords, and affiliate links. This will let you do creative things like have all sorts of subid&#8217;s across your pages to create your own heatmaps or other things, and lets you have super fine control if all your links die and you quickly want to redirect everything to a default link.</p>
<p><strong>Note that for the sitename, you will have to enter it without the www, otherwise the script will get confused because it&#8217;s stripping those off to make everything nice. </strong></p>
<p>Just add links to your site like the following</p>
<blockquote><p><em>&lt;a href=&#8221;http://yourdomain.com/links.php?sendto=keyword&#8221; title=&#8221;Anchor&#8221;&gt;Anchor&lt;/a&gt;</em></p></blockquote>
<p>I guess you could use nofollow on there too, not sure if it&#8217;d be beneficial or not though.</p>
<p>Obviously eventually i&#8217;ll get around to creating a  GUI backend for this, and a few more features will be added, but for now it&#8217;s good enough for me, and probably a lot better than what a lot of you are using.</p>
<img src="http://flintston.es/?ak_action=api_record_view&id=209&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://flintston.es/nerd-stuff/free-script-redundant-automatic-link-updating-across-your-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
