<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Layered Thoughts</title>
	
	<link>http://www.layeredthoughts.com</link>
	<description>Ideas on SEO, Local SEO, Linkbuilding, Programming, and Automation</description>
	<lastBuildDate>Fri, 20 Aug 2010 05:30:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/LayeredThoughts" /><feedburner:info uri="layeredthoughts" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>LayeredThoughts</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>The Truth About Competing Pages – SEO Gurus Are Liars</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/s3c866xp4r0/the-truth-about-competing-pages-seo-gurus-are-liars</link>
		<comments>http://www.layeredthoughts.com/keyword-research/the-truth-about-competing-pages-seo-gurus-are-liars#comments</comments>
		<pubDate>Fri, 20 Aug 2010 05:29:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Keyword Research]]></category>
		<category><![CDATA[competing pages]]></category>
		<category><![CDATA[read the data]]></category>
		<category><![CDATA[SEO Competition]]></category>
		<category><![CDATA[seo gurus are liars]]></category>
		<category><![CDATA[test test test]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=164</guid>
		<description><![CDATA[You&#8217;ve seen it time and time again. Google SERPs screenshots with red handwritten font and hand drawn looking circles showing off the millions of competing pages a certain keyword has and the site the person was able to rank #1 in &#8220;just 28 days!&#8221; On the surface, it looks impressive. I mean, damn, 25 million [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">You&#8217;ve seen it time and time again. Google SERPs screenshots with red handwritten font and hand drawn looking circles showing off the millions of competing pages a certain keyword has and the site the person was able to rank #1 in &#8220;just 28 days!&#8221; On the surface, it looks impressive. I mean, damn, 25 million results for that keyword? #1? That person must know their shit, right?</p>
<p style="text-align: left;">I&#8217;ve literally never seen a guru advertise a product with a screenshot like this that showed a legitimate, challenging ranking that they earned. Nearly every single time, the person is blowing smoke up your ass, for a variety of reasons that I&#8217;m going to try and explain here.</p>
<h2>Let&#8217;s Get Started</h2>
<div id="attachment_172" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/posted-index-competition-hp-tablet-review1.png" rel="lightbox[164]"><img class="size-large wp-image-172" title="posted-index-competition-hp-tablet-review" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/posted-index-competition-hp-tablet-review1-550x332.png" alt="" width="550" height="332" /></a><p class="wp-caption-text">OMG 47 days?!?! Here&#39;s ALL of my money!! Take it!</p></div>
<p style="text-align: left;">Anyone who tells you that SEO is easy and fast and is trying to 1) get you to buy their software/ebook/service or 2) trying to get you to opt-in to their list and are hands down not telling you the truth and probably don&#8217;t know the first thing about SEO, link building, or anything else. They most likely grew up in Warrior Forum and have learned that it&#8217;s more important to launch a product than actually learn a single fucking thing about what they are actually trying to sell. It&#8217;s a self perpetuating mess that has left the SEO space full of shitty products, shitty guides, and shitty advice.<span id="more-164"></span></p>
<p>Here&#8217;s a perfect example of what I mean:</p>
<p>This screenshot is a prime example of the crap I&#8217;m talking about. From an initial glance, this looks impressive. 3 million other competitors? Wow, this person is on to something. To people just getting going with SEO, this is where they&#8217;ve reached the end of their own knowledge and begin to buy into what the person is selling, handing over cash or contact information to someone who does not deserve it. There are a few things you can do to analyze a claim like this person is making to see if they&#8217;re bullshitting you. Here&#8217;s how:</p>
<p>Probably 99% of the time, the screenshots these people are using to sell you on whatever they&#8217;re trying to sell you on is of a relatively long tail keyword. This is for a few reasons. 1, it&#8217;s because they&#8217;d be stupid to show you their sites that they have that rank for good profitable keywords. 2, it&#8217;s because they don&#8217;t actually have any sites ranking for good, profitable keywords. And 3, because the keywords they&#8217;re showing off aren&#8217;t really competitive at all and don&#8217;t actually make any money.</p>
<p>In the above screenshot, there is a simple little trick going on that these gurus are using. On the surface, this looks like a lot of competitors. But the nature of their search query, a broad match keyword, means that the results are <strong>highly inflated</strong>. Let me explain.</p>
<p>As I have covered before, the way a broad match search (one with no quotes) works, is that Google runs a query for pages that include all of the words in the query, regardless of whether they are all on the pages returned. So in this example for <em>hp tablet review</em>, the query is actually returning results that have to do with <em>hp, tablet, review, hp tablet, tablet review</em>, etc. So that&#8217;s why you&#8217;re seeing 3 Million+ results.</p>
<p style="text-align: left;">Also, notice how they cut the paid ads out of the screenshot. That&#8217;s because, as you&#8217;ll see in the next one I&#8217;m going to show you, there&#8217;s <strong>only one paid advertiser</strong>. That&#8217;s a big red flag when looking for profitable niches: if no one is paying to be there, chances are making money with the keyword is going to be tricky.</p>
<p style="text-align: left;">So the way to see the actual results for that keyword is to run the search with the quotes around it. And with that, we find that&#8230;</p>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/real-index-competition-hp-tablet-review1.png" rel="lightbox[164]"><img class="size-large wp-image-171" title="real-index-competition-hp-tablet-review" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/real-index-competition-hp-tablet-review1-550x458.png" alt="" width="550" height="458" /></a><p class="wp-caption-text">Ummm...where&#39;d the competition go?</p></div>
<p style="text-align: left;">&#8230;there&#8217;s only <strong>15,000 pages</strong> that actual use the whole phrase &#8220;hp tablet review&#8221;. Not so impressive anymore, eh?</p>
<h2>But The Search Volume Is Still Good, Right?</h2>
<p style="text-align: left;">It gets better. As was also covered here before, when checking search volume with broad match queries, the volume returned will be highly inflated as well and generally completely unrealistic. So let&#8217;s compare the exact match keyword results to the broad match results that the guru dude is advertising his skills with:<br />
<a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/search-volume-hp-tablet-review.png" rel="lightbox[164]"><img class="aligncenter size-large wp-image-173" title="search-volume-hp-tablet-review" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/search-volume-hp-tablet-review-550x179.png" alt="" width="550" height="179" /></a><br />
so the keyword most likely actually gets about 20-30% as much as the guy promotes his ranking as getting. Plus, the keyword isn&#8217;t a buying keyword, so this keyword and bragging is all kinds of fail.</p>
<h2>Some More Info About Competing Pages</h2>
<p style="text-align: left;">All is not lost here, there is some value in analyzing competing pages in Google. You just need to be doing it correctly, as you can get huge competition and search volume fluctuations if you aren&#8217;t careful. Next thing you know, you&#8217;ll be all stoked with yourself because you&#8217;re ranking in the top 3 for a keywords with million of &#8220;competing&#8221; pages. Truth be told, you aren&#8217;t really up against much.</p>
<p>A rule I generally stick to is that if you see more than 50,000 exact match competing pages for your keyword, it&#8217;s gonna take some effort to get up into the top 3. Less than 50k you can generally hit pretty easily, depending on the competition of the top 10. More than 150,000+, and you&#8217;re looking at a pretty serious project. 500,000+, you either need to get really advanced, blackhat, or have a damn powerful site.</p>
<h2>So What Does Real Competition Look Like?</h2>
<p style="text-align: left;">Here&#8217;s a good example of an actual difficult keyword: <strong>buy electronic cigarettes</strong>. This keyword is a buying keyword, has a lot of paid advertisers, and there are a ton of affiliate offers out there that make this a high profile target. Here&#8217;s the screenshot of the broad match search data:</p>
<p style="text-align: left;"><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/buy-electronic-cigarettes-broad-index-screenshot.png" rel="lightbox[164]"><img class="aligncenter size-large wp-image-174" title="buy-electronic-cigarettes-broad-index-screenshot" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/buy-electronic-cigarettes-broad-index-screenshot-550x388.png" alt="" width="550" height="388" /></a><br />
3.1 million competing pages, a full side of paid advertisers, and every result seems to be highly optimized for the exact phrase (notice the difference compared to the screens above&#8230;every result for the ecigs page has the exact phrase in the title, description, and I&#8217;m sure in the body. Each url has a significant amount of backlinks, and packs a punch.</p>
<p>Now here&#8217;s the exact match results:<br />
<a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/buy-electronic-cigarettes-exact-index-screenshot.png" rel="lightbox[164]"><img class="aligncenter size-large wp-image-175" title="buy-electronic-cigarettes-exact-index-screenshot" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/08/buy-electronic-cigarettes-exact-index-screenshot-550x393.png" alt="" width="550" height="393" /></a><br />
700,000 results. Time to dig in and really pound it out, and hope that the FTC doesn&#8217;t shut shit down before you start ranking <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Finishing Up</h2>
<p style="text-align: left;">Beware of guys who are flaunting their rankings to sell anything. The guys who are ranking for actual difficult keywords definitely do not show off their rankings. ALWAYS dig deeper when people start bragging about what they have done publicly, because as anyone with even a bit of a clue knows in this industry, you never brag about your niche.</p>
<p>The majority of people peddling this shit are service providers who have ineffective services, link building tool creators (most likely crappy tools) and info product marketers who probably don&#8217;t have a clue and are just trying to sling eBooks. Be smart about it, and start to instinctively doubt anyone who leads a conversation with their rankings, because they most likely don&#8217;t get it and are just trying to fleece you.</p>
<p>Keep your eyes peeled and dig into the data.</p>
<p>D</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/s3c866xp4r0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/keyword-research/the-truth-about-competing-pages-seo-gurus-are-liars/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/keyword-research/the-truth-about-competing-pages-seo-gurus-are-liars</feedburner:origLink></item>
		<item>
		<title>The Difference Between Broad, Phrase, and Exact Match Search Volume Data</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/8xCM0WWQqy4/the-difference-between-broad-phrase-and-exact-match-search-volume-data</link>
		<comments>http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data#comments</comments>
		<pubDate>Sat, 08 May 2010 01:51:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Keyword Research]]></category>
		<category><![CDATA[broad match]]></category>
		<category><![CDATA[exact match]]></category>
		<category><![CDATA[phrase match]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=160</guid>
		<description><![CDATA[This will be a quick post, no real need to go into deep detail. This is something that&#8217;s important and a lot of people ask me about so I want to make sure everyone has a clear understanding of what&#8217;s going on. Let&#8217;s start. There are 3 ways to check keyword search volume with Google: [...]


Related posts:<ol><li><a href='http://www.layeredthoughts.com/case-studies/the-power-of-micro-niche-sites-with-exact-match-domain-names' rel='bookmark' title='Permanent Link: The Power of Micro Niche Sites with Exact Match Domain Names'>The Power of Micro Niche Sites with Exact Match Domain Names</a></li>
<li><a href='http://www.layeredthoughts.com/keyword-research/interpreting-the-market-samurai-seo-competition-module-data' rel='bookmark' title='Permanent Link: Interpreting the Market Samurai SEO Competition Module Data'>Interpreting the Market Samurai SEO Competition Module Data</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-161" title="google-phrase-match-and-exact-match" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/google-phrase-match-and-exact-match-300x274.png" alt="" width="300" height="274" />This will be a quick post, no real need to go into deep detail. This is something that&#8217;s important and a lot of people ask me about so I want to make sure everyone has a clear understanding of what&#8217;s going on.</p>
<p>Let&#8217;s start. There are 3 ways to check keyword search volume with Google: broad, phrase, and exact match. What the hell is the difference? And which one should you be checking search volume with?</p>
<h2>Broad Match</h2>
<p>Broad match is the default setting when using the Keyword Tool. What broad match means is that any time any part of the keyword shows up in a search phrase, that data gets added to the reported total searches per month. For instance, if the keyword is &#8220;sunflower seeds&#8221;, then any search with either &#8220;sunflower&#8221; or &#8220;seeds&#8221; or &#8220;sunflower seeds&#8221; in it will be added into the total volume. So the actual search terms &#8220;sunflower seeds&#8221; might only get 100 searches, while &#8220;seeds&#8221; gets 2000 searches and &#8220;fruit seeds&#8221; gets 600 searches.</p>
<p>So broad match search volume is an aggregate of all searches involving any combination of any of the keywords as well as other words you didn&#8217;t account for. It&#8217;s an inflated number when estimating search volume.</p>
<h2>Phrase Match</h2>
<p>Phrase match keyword search volume works like this: if you check phrase match search volume for &#8220;sunflower seeds&#8221; then the number returned will include all traffic for the main phrase as well as phrases like &#8220;huge sunflower seeds&#8221; and &#8220;sunflower guide for seeds&#8221;. The number returned is the aggregate of all search phrases that must include the entire set of main keywords, no matter if they are split up by other words or not. This number is definitely more accurate than broad match, but can still be slightly inflated.</p>
<h2>Exact Match</h2>
<p>Finally, there is exact match keyword data. The volume of searches returned when checking exact match keywords is simply for only that single keyphrase. So there are no aggregates involved, it&#8217;s only <strong>the total number of searches for just that exact phrase, typed exactly into Google, with no other words included</strong>. This is the most accurate number to reference when researching niches, as it doesn&#8217;t aggregate traffic you might not actually rank for and get. You should always check your search volumes with this setting on.</p>
<h2>Finishing Up</h2>
<p>The point of this post is that it is easy to be deceived by broad and phrase match data, so you should use exact match data when searching for niches. When trying to get ranked for certain keywords, you cannot guarantee that you will be able to rank for all variations and combinations of keywords, so the most realistic estimate of possible traffic is the exact match search volume data.</p>
<p>I&#8217;ll post more this weekend, I have some cool ideas in the works.</p>
<p>Til then,</p>
<p>D</p>


<p>Related posts:<ol><li><a href='http://www.layeredthoughts.com/case-studies/the-power-of-micro-niche-sites-with-exact-match-domain-names' rel='bookmark' title='Permanent Link: The Power of Micro Niche Sites with Exact Match Domain Names'>The Power of Micro Niche Sites with Exact Match Domain Names</a></li>
<li><a href='http://www.layeredthoughts.com/keyword-research/interpreting-the-market-samurai-seo-competition-module-data' rel='bookmark' title='Permanent Link: Interpreting the Market Samurai SEO Competition Module Data'>Interpreting the Market Samurai SEO Competition Module Data</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/8xCM0WWQqy4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data</feedburner:origLink></item>
		<item>
		<title>Something Cool Will Be Released Tomorrow (maybe)</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/C3Dnfvhd8Ng/something-cool-will-be-released-tomorrow-maybe</link>
		<comments>http://www.layeredthoughts.com/development/something-cool-will-be-released-tomorrow-maybe#comments</comments>
		<pubDate>Tue, 04 May 2010 06:49:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[coming soon]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=156</guid>
		<description><![CDATA[So I&#8217;m 75% done with a pretty cool little script that I want to give out here. It really is just something that will help increase your efficiency (hopefully), and is nothing more than a wrapper around some API functions. But it works well and as far as I know, doesn&#8217;t exist yet. Should hopefully [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-158" title="coming soon" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/coming-soon-300x281.jpg" alt="" width="300" height="281" />So I&#8217;m 75% done with a pretty cool little script that I want to give out here. It really is just something that will help increase your efficiency (hopefully), and is nothing more than a wrapper around some API functions. But it works well and as far as I know, doesn&#8217;t exist yet. Should hopefully you cut a few minutes of time out of your normal day.</p>
<p>The script is designed for anyone that has a lot of different SEO sites and is constantly checking their traffic. It is also built around Google Analytics so that is definitely a pre-requisite for use. I need to finish up a few functions and then style it up a bit to make it nice and clean, but as soon as that is done, I&#8217;ll post it up here along with some installation instructions (it&#8217;s basic, no worries).</p>
<p>Til then, peace,</p>
<p>D</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/C3Dnfvhd8Ng" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/development/something-cool-will-be-released-tomorrow-maybe/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/development/something-cool-will-be-released-tomorrow-maybe</feedburner:origLink></item>
		<item>
		<title>Setting Up Ubuntu 10.04 For Local Web Development With LAMP, PHPMyAdmin, and Local Domains</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/XZi_YSJBzX4/setting-up-ubuntu-10-04-for-local-web-development-with-lamp-phpmyadmin-and-local-domains</link>
		<comments>http://www.layeredthoughts.com/development/setting-up-ubuntu-10-04-for-local-web-development-with-lamp-phpmyadmin-and-local-domains#comments</comments>
		<pubDate>Sun, 02 May 2010 22:37:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[development tips]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[local domains]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=151</guid>
		<description><![CDATA[So back on Friday, I opted to upgrade to the new 10.04 from 9.10 of Ubuntu. And of course, it froze midway through and I had to reinstall my OS. Thankfully I had a live cd laying around, because I popped that in and backed up my /home folder to an external drive I had. [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-152" title="lamp-ubuntu" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/lamp-ubuntu-300x192.jpg" alt="" width="300" height="192" />So back on Friday, I opted to upgrade to the new 10.04 from 9.10 of Ubuntu. And of course, it froze midway through and I had to reinstall my OS. Thankfully I had a live cd laying around, because I popped that in and backed up my /home folder to an external drive I had. Then I proceeded to install 10.04 from scratch. Everything was good after that.</p>
<p>Of course, that means it nuked my Ruby install as well as my local dev environment. I really should have scripts written to automatically do all this crap when I need to, but since it&#8217;s only every few months, I don&#8217;t care that much. I also don&#8217;t care enough to remember all of these commands, so I just have a bookmarked list of guides that I follow when I need to.</p>
<p>So without further adieu, here&#8217;s what I just did to install a LAMP server, PHPMyAdmin, and configure local domains, to make local development easy as pie.</p>
<h2>Installing LAMP</h2>
<p>So Ubuntu makes this really fucking easy to do. All you need to do is open up a terminal and type the command:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo tasksel</div></div>
<p>and then select LAMP and follow the prompts. You can read a more through <a href="http://www.unixmen.com/linux-tutorials/570-install-lamp-with-1-command-in-ubuntu-910" target="_blank">guide here</a><span id="more-151"></span></p>
<h2>Installing PHPMyAdmin</h2>
<p>Some purists might complain about abstracting into a MySQL manager tool, but I don&#8217;t care. This thing makes it easy to play around with database tables and get things rocking initially. It&#8217;s a good idea to install locally to save some of your sanity. This is an easy install as well, so just follow <a href="http://tuxtweaks.com/2010/04/installing-lamp-on-ubuntu-10-04-lucid-lynx/" target="_blank">this guide</a> and you&#8217;ll be good (start with the Installed PHPMyAdmin section).</p>
<h2>Setting Up Local Domains</h2>
<p>So this is something a lot of people don&#8217;t do, which surprises me. Most people work off of subfolders of their localhost directory, so like http://localhost/project1. That isn&#8217;t a good representation of your final deployment environment, which will probably be at the root level. So a good idea is to setup local domains that allow you to use something like http://project1.local as your address. It&#8217;s a good idea to use something other than .com/.net/.org/.whatever (any real tld&#8217;s) so that you don&#8217;t unintentionally block yourself from the real domain down the road. I use .local for my projects.</p>
<p>What this does is tell your system to route whatever local domains you have to your own IP address. Makes life easy. Follow <a href="http://www.survivethedeepend.com/zendframeworkbook/en/1.0/creating.a.local.domain.using.apache.virtual.hosts" target="_blank">this guide</a> to get them all setup.</p>
<p>One other note, I like to keep my dev sites in a www folder in my account directory (so /home/username/www). This keeps everything under one location and makes it easy to back things up when it all gets nuked from a botched install <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Finishing Up</h2>
<p>This was a quick little post, I know. I just wanted to get all of this stuff in one place, and I know one or two of you will find it useful. I&#8217;m going to go into some more details about my development tips and tricks soon, and I&#8217;m tossing around the idea of doing a screencast of me doing a slice and dice job on a Photoshop design and the process of making it a functional WordPress site.</p>
<p>Let me know if that sounds interesting to anyone. I&#8217;m going to go get some fresh air for a bit now because it&#8217;s amazing outside, but I&#8217;ll be back later to write another post that continues on with the Ultimate Niche Product Sites Guide tonight.</p>
<p>Easy,</p>
<p>D</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/XZi_YSJBzX4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/development/setting-up-ubuntu-10-04-for-local-web-development-with-lamp-phpmyadmin-and-local-domains/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/development/setting-up-ubuntu-10-04-for-local-web-development-with-lamp-phpmyadmin-and-local-domains</feedburner:origLink></item>
		<item>
		<title>Traffic Stats From Month 1 of Layered Thoughts</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/u_GlX_C9SvM/traffic-stats-from-month-1-of-layered-thoughts</link>
		<comments>http://www.layeredthoughts.com/monthly-stats/traffic-stats-from-month-1-of-layered-thoughts#comments</comments>
		<pubDate>Sat, 01 May 2010 17:53:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monthly Stats]]></category>
		<category><![CDATA[blog traffic]]></category>
		<category><![CDATA[monthly statistics]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=138</guid>
		<description><![CDATA[Yeah, I know, I&#8217;ve been lagging pretty hard on posting here. Oh well. I&#8217;ve been in a less than good mood lately so wasn&#8217;t feeling it. But I&#8217;m going to try and post every other day in May, and I have a pretty solid list of topics I want to hit, so til then, chill [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know, I&#8217;ve been lagging pretty hard on posting here. Oh well. I&#8217;ve been in a less than good mood lately so wasn&#8217;t feeling it. But I&#8217;m going to try and post every other day in May, and I have a pretty solid list of topics I want to hit, so til then, chill out. I&#8217;m also going to write up at least 2 more posts in the niche product sites guide, hopefully more, so stay tuned for that too.</p>
<p>So around the end of March, I resurrected this old blog domain of mine and ripped out all of the old posts and decided to start fresh with a whole new set of topics and posts. Since then, things have gone pretty well. I got ridiculous traffic from that post I did on the simple Watir bot, which was sweet. I definitely need to man up and write up some more posts on that topic, people were obviously very interested in it. After that post, things settled down quite a bit, and I&#8217;m back to about 75-100 visitors a day pretty consistently. I&#8217;m really happy about that, blogging without readers is always difficult <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So enough with the babbling, here are my analytics screenshots for the first month of Layered Thoughts:</p>
<h2>Traffic Overview</h2>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-traffic.jpg" rel="lightbox[138]"><img class="aligncenter size-large wp-image-141" title="month-1-traffic" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-traffic-550x400.jpg" alt="" width="550" height="400" /></a>As you can see in there, I got a little over 4000 visits, about 6500 page views, and an average time on site of a minute and a half. Not too bad. You can also see the traffic breakdown per page, as well as the splits amongst my referrers. Search traffic actually makes up a small portion of my traffic this month, all because of that post sending a huge amount of traffic through Hacker News, Wickedfire, and random other sites. I would imagine my search traffic will be a much larger percentage this month.<span id="more-138"></span></p>
<p>That Watir Post got me just under 1000 visitors (980, damn it) the day after it was posted.</p>
<h2>Content Stats</h2>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-content.jpg" rel="lightbox[138]"><img class="aligncenter size-large wp-image-142" title="month-1-content" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-content-550x219.jpg" alt="" width="550" height="219" /></a>Standard stuff&#8230;watir post was number 1, my main url #2, and the niche product sites guide #3. The last two are most definitely because of my forum signature at Wickedfire.</p>
<h2>Keyword Stats</h2>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-keywords.jpg" rel="lightbox[138]"><img class="aligncenter size-large wp-image-143" title="month-1-keywords" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-keywords-550x226.jpg" alt="" width="550" height="226" /></a>This data is fun. It&#8217;s always interesting to look at the keywords people find a higher traffic site with. You get an idea of all of the stuff you never would have seen/planned for when doing keyword research. I have a whole post planned about my rankings for the keywords &#8220;web bots&#8221;. I&#8217;m also planning on doing some actual link building down the road to try and get up at the top for those keywords (I&#8217;m currently at around #11-13). I&#8217;ll case study that stuff for sure.</p>
<h2>Visitor Stats</h2>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-visitors.jpg" rel="lightbox[138]"><img class="aligncenter size-large wp-image-144" title="month-1-visitors" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-visitors-550x254.jpg" alt="" width="550" height="254" /></a>Obviously a savvy crowd reads this site, as Internet Explorer makes up 4.71% of the browsers used. That is not a normal number for most sites, it is usually much higher. But this data is typical of nerdy sites <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Subscription Stats</h2>
<p><img class="aligncenter size-full wp-image-145" title="month-1-subscribers" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/05/month-1-subscribers.jpg" alt="" width="523" height="91" />49 subscribers is pretty awesome. Anyone who wants to seriously blog should focus on his subscribers count, as this number is a count of people who will immediately see when I post without having to check back on the site. Good stuff, thanks to everyone who subscribed!</p>
<h2>Coming Up</h2>
<p>I&#8217;m going to do a post like this every month, because I know that when I was getting started with all of this stuff, I always wanted to see numbers and graphs and real data.</p>
<p>Coming up, I have a few random posts I want to write as well as I&#8217;m planning to finish up the niche product sites guide. There are some great topics coming up with that guide, including keyword research, content creation, and link building, so definitely stay tuned, it&#8217;s going to get fun.</p>
<p>Like I said in the beginning of this post, I&#8217;m going to try and post every other day in May. Posting every day is too cliche <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I also want to try and keep pushing this blog further and start getting more and more traffic for it to see what level I can get it to.</p>
<p>Finally, I&#8217;m planning on doing either some interviews with some of the more popular IM/SEO guys or some guest blog posts from there, or a mix of both, so if there is anyone you want to see talk here or anything you want me to ask people, let me know in the comments section.</p>
<p>Til next time,</p>
<p>D</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/u_GlX_C9SvM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/monthly-stats/traffic-stats-from-month-1-of-layered-thoughts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/monthly-stats/traffic-stats-from-month-1-of-layered-thoughts</feedburner:origLink></item>
		<item>
		<title>How to Choose a Niche For Your Niche Product Site</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/S9SxlvIoGGk/how-to-choose-a-niche-for-your-niche-product-site</link>
		<comments>http://www.layeredthoughts.com/niche-product-sites-guide/how-to-choose-a-niche-for-your-niche-product-site#comments</comments>
		<pubDate>Thu, 22 Apr 2010 07:32:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Niche Product Sites Guide]]></category>
		<category><![CDATA[choosing a niche]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=122</guid>
		<description><![CDATA[This is going to be a short post because I&#8217;m tired as hell, and this topic is pretty simple. Picking a niche is a pretty simple thing really. All you need is some intuition, some brainstorming time, and some keyword tools. The big goal is to try and find high level, broad keywords, then dig [...]


Related posts:<ol><li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site' rel='bookmark' title='Permanent Link: Goals, Keywords, &#038; Some Specifics About Our Niche Product Site'>Goals, Keywords, &#038; Some Specifics About Our Niche Product Site</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-123" title="nichemarketingtarget" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/nichemarketingtarget.jpg" alt="" width="300" height="297" />This is going to be a short post because I&#8217;m tired as hell, and this topic is pretty simple. Picking a niche is a pretty simple thing really. All you need is some intuition, some brainstorming time, and some keyword tools. The big goal is to try and find high level, broad keywords, then dig down into those keywords to find high volume exact match keywords to target with your sites.</p>
<h2>Finding Niches</h2>
<p>Go to WalMart. Seriously. Just go to WalMart and look around. Everything in that store can probably be built as its own niche site, targeted around specific keywords. For example, take sewing.</p>
<p>Sewing is a topic that is nearly entirely targeted at women, and generally, adult women. This is a good thing. These are people who are a good demographic to target for making online purchases. So fire up your keyword tool and just start off by typing in &#8220;sewing&#8221; and see what comes up.</p>
<p>You want to look for long tail keywords that get pretty solid traffic. You then want to switch down to exact match and make sure that that traffic still holds up. If it does, you&#8217;re looking good.</p>
<p>Now, you&#8217;re going to want to identify a good amount of solid keywords from this broad keyword. These will be important for the next step, which is choosing a keyword.</p>
<h2>What Are The Best Niches?</h2>
<p>The niches that you know something about. The site I&#8217;m building and writing this guide around is a topic that I know a good amount about. I&#8217;m not an expert, but I know enough to have a voice on the topic.<span id="more-122"></span></p>
<p>This is important for me, because I&#8217;m going to be publishing and selling my own guide on the site. If I didn&#8217;t know a damn thing about the niche topic, I could still fake it and probably do ok, but you&#8217;re in a much safer position if you do actually understand the topic. Plus, and this is especially important when you&#8217;re bootstrapping early on, if you know about the topic, writing your own content is a hell of a lot easier.</p>
<h2>Oh Yeah, Target People Who Can Have Credit Cards</h2>
<p>Kids suck for this stuff, so don&#8217;t go after kid keywords. If you can monetize in other ways, these sites might work for kids, but for the most part, target adults in niches where they normally pay money to participate anyways. People who sew don&#8217;t sew for free, so chances are you can get them to buy something with the right targeting.</p>
<p>I know that&#8217;s a simple reminder, but it&#8217;s important.</p>
<h2>Go Forth And Make Keyword Lists</h2>
<p>So go punch in your broad keywords into your keyword research tools and generate some keyword lists. Use the criteria I outlined from my last past about filtering out the low traffic volume keywords, then follow the guidelines in my next post about what to look for with competition. Then look and see what the keywords look like for creating or selling a product.</p>
<p>That&#8217;s pretty much it. It really is a simple topic. Just look around at a store and you can find niches. The keyword research takes intelligence and effort though, but I&#8217;ll go over specific details in the next post that will outline exactly what you need to do to succeed.</p>
<p>Good luck and good night,</p>
<p>D</p>


<p>Related posts:<ol><li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site' rel='bookmark' title='Permanent Link: Goals, Keywords, &#038; Some Specifics About Our Niche Product Site'>Goals, Keywords, &#038; Some Specifics About Our Niche Product Site</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/S9SxlvIoGGk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/niche-product-sites-guide/how-to-choose-a-niche-for-your-niche-product-site/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/niche-product-sites-guide/how-to-choose-a-niche-for-your-niche-product-site</feedburner:origLink></item>
		<item>
		<title>Goals, Keywords, &amp; Some Specifics About Our Niche Product Site</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/gdcaHYX0A8c/goals-keywords-some-specifics-about-our-niche-product-site</link>
		<comments>http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site#comments</comments>
		<pubDate>Sat, 17 Apr 2010 22:32:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Niche Product Sites Guide]]></category>
		<category><![CDATA[Keyword Research]]></category>
		<category><![CDATA[link building]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[search volume]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=114</guid>
		<description><![CDATA[Alright, time to get into the nitty gritty of what we&#8217;re going to be doing here. When it comes to these sites, at least for me, the goal is to get them built, get them ranked, get them to convert, then let them sit. Then you can just follow the pattern and build out as [...]


Related posts:<ol><li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/how-to-choose-a-niche-for-your-niche-product-site' rel='bookmark' title='Permanent Link: How to Choose a Niche For Your Niche Product Site'>How to Choose a Niche For Your Niche Product Site</a></li>
<li><a href='http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data' rel='bookmark' title='Permanent Link: The Difference Between Broad, Phrase, and Exact Match Search Volume Data'>The Difference Between Broad, Phrase, and Exact Match Search Volume Data</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-118" title="niche-authority" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/niche-authority-300x225.jpg" alt="" width="300" height="225" />Alright, time to get into the nitty gritty of what we&#8217;re going to be doing here. When it comes to these sites, at least for me, the goal is to get them built, get them ranked, get them to convert, then let them sit. Then you can just follow the pattern and build out as many as you can until you&#8217;re happy.</p>
<p>I&#8217;m going to start with the overarching goals and expectations you can expect from these kinds of sites, and then go into the details of how we&#8217;re going to get there, and what we can do once we get there. These topics will all be expanded on in detail in the upcoming posts in this series.</p>
<h2>What We (Hopefully) Want To Get From These Micro Niche Product Sites (Hopefully)</h2>
<p>$10 a day. That&#8217;s it. Of course, more is always better, but at the very least, $10/day. Now, we&#8217;re not going to be doing this with Adsense or CPA, this will be with selling our own products. So I&#8217;ve priced the product I&#8217;m going to be selling at $9.99. So that means I need one conversion a day to reach my goal.</p>
<p>How much traffic do I need for one conversion a day? No fuckin idea. BUT, until I have real data, I&#8217;m going to say that I&#8217;m going to get a 1% conversion rate. So for every 100 unique visitors to my site, I&#8217;ll sell one copy of my product. This could be really high, really low, or just right, I really have no idea yet. We&#8217;ll find out soon enough though.</p>
<p>So if we know we are shooting for a <strong>1% conversion rate</strong>, that leads us perfectly into search volume goals for our target keywords.<span id="more-114"></span></p>
<h2>Click Through Rate Matters</h2>
<p><img class="alignleft size-full wp-image-115" title="se-clicktrough-graph1" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/se-clicktrough-graph1.gif" alt="" width="355" height="269" />A few years back, AOL released a shit ton of search data. From that data, people were able to calculate the average Click Through Rate for each position on the front page of the SERPS. So using the graph on the left, if you rank number 1 for a keyword that gets 100 exact match searches a day, you can expect about 42 visitors. If you&#8217;re number 2, that drops down to about 12 visitors.</p>
<p>Now obviously, these numbers are dependent on a lot of variables. If you have more compelling meta data than people above you, you might snag a few more clicks. But for the most part, this is spot on.</p>
<p>So what does that mean for us? It means that we can work backwards and find the minimum daily searches we want to shoot for to make $10 a day from our sites.</p>
<h2>Let&#8217;s Calculate Our Minimum Monthly Searches We Need</h2>
<p>Yay for math time. Here we go.</p>
<p>We need 100 unique visitors a day (not pageviews, actual visitors). Knowing that, and knowing the average CTR of the front page of the SERPS, that means that if we rank #1, we will get 42 visitors for every 100 searches.</p>
<p><strong>So to get to 100 uniques a day, we would need to rank #1 for a keyword that gets about 240 exact searches per day. </strong></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">42/100 = 100/x<br />
<br />
42x = 10,000<br />
<br />
x = 238.09</div></div>
<p>(Remember Algebra?)</p>
<p>Ok, so that&#8217;s all fine and dandy, but what about if you can&#8217;t get to #1? Well, then you&#8217;re going to need a keyword that gets about 850 searches a day. That&#8217;s definitely doable if you dig deep enough, but it&#8217;s significantly harder than if you ranked #1.</p>
<p>Now this is all assuming there is one single keyword that you could ever receive traffic for. The beauty of SEO is that you get ranked for all of the related keywords as well, so you&#8217;ll oftentimes get a lot of traffic that you weren&#8217;t even expecting. But for simplicity&#8217;s sake, we&#8217;re just going to go with 240 as the minimum searches a day that we&#8217;re shooting for.</p>
<h2>I&#8217;m Cheating For This Though</h2>
<p>The keyword I&#8217;m basing this series off of actually only gets about 150 exact searches a day. It&#8217;s not that big of a deal, I just need to either a) raise my conversion rate or b) get more traffic. Or else I can expect to make $10 every other day.</p>
<p>You&#8217;re not always going to find the right domains/right keywords/right volume. Cut corners and be smart and you can make up for it in other ways.</p>
<h2>What&#8217;s the Site Going to Be Like?</h2>
<p>So for this project and site, I&#8217;ve built out a long landing page style home page, with about 3000 words of content on it, all highly optimized. I&#8217;ve also added about, privacy, and contact us pages, that are all linked to in the footer. I&#8217;m also going to include about 4 or 5 articles that are linked to throughout the page to increase the content site wide.</p>
<p>This site is fully geared towards sales, so it has large calls to actions and is very optimized. I&#8217;ll be posting a wireframe of where I put things on the layout so you guys can get an idea of how it looks.</p>
<p>I&#8217;m going to be using Buy Now buttons that go directly to a PayPal Buying page. Quick and easy, and well trusted by mostly everyone online.</p>
<h2>Where&#8217;s the Traffic Going to Come From?</h2>
<p><img class="alignright size-full wp-image-119" title="link-building" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/link-building.jpg" alt="" width="321" height="258" />Organic SEO all the way. Standard link building rules apply here, I&#8217;m going to utilise a variety of sources and shoot for very high quality links at all times. Here&#8217;s an overview of what I&#8217;ll be using:</p>
<ul>
<li>Social Bookmarks, from red_virus at Wickedfire. This guy is just damn amazing, does great work</li>
<li>Link wheel with full bookmarking, RSS submissions, etc</li>
<li>Profile Links</li>
<li>Lots and lots of links to each hub of the link wheel (if you catch my drift)</li>
<li>Really high quality blog comments</li>
</ul>
<p>The blog comments stand to give the biggest boost. I have a system down where I can scrape a huge amount of blogs, then filter the list down to High Page Rank, Low Out Bound Link Blogs. Those are the perfect targets for getting comments on, so in order to make them work as best as possible, I&#8217;ll be manually posting comments. Probably about 10-20 a day, depending on how many blogs I can scrape total. I&#8217;ll cover all this later.</p>
<h2>What&#8217;s Getting Sold?</h2>
<p>A 20 or so page book. It&#8217;s a how to guide, something that women/moms will probably enjoy a lot. It will delivered as a PDF with their name and email stamped on the bottom so they are afraid to share it with friends. It is actually very high quality and probably pretty valuable to people who want to learn how to do what it is about.</p>
<p>I designed a 3d cover for it using a template I found online, and am just formatting it in Word. Basic formatting, table of contents, nice cover, border, image on each page. Nice big colorful fonts and pages. Easy stuff, like you&#8217;re writing a report for school.</p>
<h2>Coming Up Next</h2>
<p>Alright, so I need to figure out how to nicely tie together all of this posts for easy browsing. All blog post series plugins suck, so I&#8217;ll hack something together later to use.</p>
<p>Next I&#8217;m going to write about how to pick a niche. After that, we&#8217;ll do some keyword and competition research. Then it&#8217;s on to how to build the site and how to get it ranked high.</p>
<p>Til next time,</p>
<p>D</p>


<p>Related posts:<ol><li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/how-to-choose-a-niche-for-your-niche-product-site' rel='bookmark' title='Permanent Link: How to Choose a Niche For Your Niche Product Site'>How to Choose a Niche For Your Niche Product Site</a></li>
<li><a href='http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data' rel='bookmark' title='Permanent Link: The Difference Between Broad, Phrase, and Exact Match Search Volume Data'>The Difference Between Broad, Phrase, and Exact Match Search Volume Data</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/gdcaHYX0A8c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site</feedburner:origLink></item>
		<item>
		<title>Introducing “The Ultimate Guide to Building Niche Product Sites”</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/-KxspQ34muU/introducing-the-ultimate-guide-to-building-niche-product-sites</link>
		<comments>http://www.layeredthoughts.com/niche-product-sites-guide/introducing-the-ultimate-guide-to-building-niche-product-sites#comments</comments>
		<pubDate>Wed, 14 Apr 2010 22:53:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Niche Product Sites Guide]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=97</guid>
		<description><![CDATA[This is something I&#8217;ve mentioned that I want to do a few times now, and am now ready to move forward on it. I&#8217;m going to be going through a full niche product site build, from niche and keyword research, to choosing the right domain, designing a theme and coding the site out, creating or [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-99" title="niche_site" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/niche_site-300x215.png" alt="" width="300" height="215" />This is something I&#8217;ve mentioned that I want to do a few times now, and am now ready to move forward on it. I&#8217;m going to be going through a full niche product site build, from niche and keyword research, to choosing the right domain, designing a theme and coding the site out, creating or finding a product to sell, link building, and periodic status updates after all of that to show you how things are going. I will be showing you why I make the decisions I do as I build out this kind of site. It&#8217;s gonna be fun.</p>
<h2>Why are you telling people about this?</h2>
<p>Honestly, because I like writing about how to do things. I think a lot of things that people wonder about will get covered in this, and I know that most people, like myself, are always dying for case studies instead of hypothetical numbers. So this will hopefully serve as a good place for people to reference when getting started with these types of sites.</p>
<h2>No seriously. Why are you telling people about this?</h2>
<p>Alright, you got me. There&#8217;s honestly two reasons why I felt compelled to put together this guide. The first reason is that I&#8217;ve been meaning to kick myself in the ass and get a bunch of these sites rolled out anyways, so what better way to get moving than to write a damn guide about them. 99% of the reasons why people fail at Internet Marketing is simply because of execution. You can be the smartest guy in the world when it comes to this stuff, but if you simply don&#8217;t build and test and try, you&#8217;ll never make a dime.</p>
<p>Secondly, and this goes along with the last point, is that I&#8217;m really not too worried about a bunch of people leeching these ideas and beating me to the punch. Nothing I&#8217;m about to write about is ground breaking in any way whatsoever, all I&#8217;m really doing is putting a bunch of information in one place and adding in my own knowledge where I can. An industrious individual could find everything I&#8217;m about to write in an afternoon of searching.<span id="more-97"></span></p>
<h2>What is a Niche Product Site?</h2>
<p>Niche product sites are simply sites that are optimized around a certain product/service/offer and are pretty limited in scope. These are not portal sites and are not really trying to rank for more than a few keywords at the most (oh yeah, did I mention this was an SEO case study?).</p>
<p>Generally with these sites, you are searching for a high search volume exact match keyword domain name. That&#8217;s right, a high search volume exact match keyword domain name. These are the diamonds in the rough of this type of site. I&#8217;ll go into the details of what constitutes one of those domains and how to go about finding them in later posts in this series.</p>
<p>When it comes to the product you&#8217;re trying to sell, this can be a number of things. The main things you can promote are:</p>
<ul>
<li>Affiliate Offers</li>
<li>Third party products (wholesale or drop sale)</li>
<li>Your own products</li>
</ul>
<p>For this guide, I will covering how to sell your own products. I won&#8217;t go too much into the ins and outs of how to create your own product in this guide per se, but I will cover how to sell digital products, what to look for in content and creation of the product, and how not to create a bullshit product that will get you flamed on all of the boards.</p>
<h2>Dude. Really. An eBook?</h2>
<p>Yeah, a damn ebook. For these sites, I will not be creating bullshit &#8220;Hey, you don&#8217;t have a degree unlike all of the PHD&#8217;s at Google, but we still want you to work for us!&#8221; Make Money Online offers. These are going to be specific guides and books about certain niche markets that will add value to the market and be useful to the people who buy them. I&#8217;ll cover this in more detail later as well.</p>
<h2>What Next?</h2>
<p>I have an internal list going on right now in terms of planning out the next few posts. This whole series will probably span a dozen or so posts, each one hopefully covering what you guys care about in as much depth as possible. In order to prevent any data skewing, I will not be outing my niche for this guide. Maybe one day.</p>
<p>I am using this write up as a proof of concept for about a half dozen other sites that I have domains for and am looking to build out. Once you get the process down and dial in your work ethic, you can seriously pump these out. We&#8217;ll see what I can pull off.</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/-KxspQ34muU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/niche-product-sites-guide/introducing-the-ultimate-guide-to-building-niche-product-sites/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/niche-product-sites-guide/introducing-the-ultimate-guide-to-building-niche-product-sites</feedburner:origLink></item>
		<item>
		<title>The Power of Micro Niche Sites with Exact Match Domain Names</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/eXA8D_RuLrA/the-power-of-micro-niche-sites-with-exact-match-domain-names</link>
		<comments>http://www.layeredthoughts.com/case-studies/the-power-of-micro-niche-sites-with-exact-match-domain-names#comments</comments>
		<pubDate>Fri, 09 Apr 2010 07:31:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[exact match keyword domain names]]></category>
		<category><![CDATA[micro niche sites]]></category>
		<category><![CDATA[ranking high]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=81</guid>
		<description><![CDATA[This is a topic that I&#8217;m actually planning on exploring in some case studies very very soon, but there was a post on Hacker News a few days ago that served as a great example of this topic so I figured why the hell not, let&#8217;s start there. What I&#8217;m going to go over here [...]


Related posts:<ol><li><a href='http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data' rel='bookmark' title='Permanent Link: The Difference Between Broad, Phrase, and Exact Match Search Volume Data'>The Difference Between Broad, Phrase, and Exact Match Search Volume Data</a></li>
<li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site' rel='bookmark' title='Permanent Link: Goals, Keywords, &#038; Some Specifics About Our Niche Product Site'>Goals, Keywords, &#038; Some Specifics About Our Niche Product Site</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/number_1.gif" rel="lightbox[81]"><img class="alignleft size-full wp-image-88" title="number_1" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/number_1.gif" alt="" width="301" height="329" /></a>This is a topic that I&#8217;m actually planning on exploring in some case studies very very soon, but there was a post on Hacker News a few days ago that served as a great example of this topic so I figured why the hell not, let&#8217;s start there.</p>
<p>What I&#8217;m going to go over here is how truly effective an <strong>exact match keyword domain name</strong> can be when used on simple micro niche sites. I guess I&#8217;ll first go into what both of those concepts mean, then I&#8217;ll jump into the subject of this analysis.</p>
<h2>What is an Exact Match Domain Name?</h2>
<p>This is simply a domain name that has the EXACT keyword that you want to target in it. That&#8217;s it. No extras &#8220;the&#8221; or &#8220;at&#8221; or extra words at the beginning or end of it. Simply the exact keyword someone would type in at Google to come to your site, without the spaces. Technically, hyphens don&#8217;t count either, but sometimes domains with them can work out well.</p>
<p>So if you wanted to rank for &#8220;sunflower seeds&#8221;, having the domain www.sunflowerseeds.com, .org, or .net would be the exact match domain name. Something like www.sunflowerseedsstore.com wouldn&#8217;t cut it.</p>
<p>You might have seen people talk about the advantages of an exact match domain name around different forums and blog posts before, so this might not come as a surprise, but having your exact keywords in your domain name can give you a HUGE boost in the SERPS. Google eats up sites like this, and in low to moderate competition niches, you can pretty easily rank on the front page with minimal backlinking. Additionally, if you see an exact match domain name in the top ten, you better be prepared to really beat them in terms of linkbuilding and on page SEO, because they will have an inherent advantage over you because of the keywords in their domain.<span id="more-81"></span></p>
<h2>What is a Micro Niche Site?</h2>
<p>The best way to describe a micro niche site is that it is a site that is targeting a market with moderate monthly searches, super low allintitle competition,low to medium front page competition, and generally long tail keywords. These sites will often be very small, sometimes just 1-4 pages, and are usually about just a single product/list/offer.</p>
<p>You generally don&#8217;t need an active blog or a bunch of content on these kinds of sites, as the competition is so low that it doesn&#8217;t take much to rank for the keywords. The real trick to these types of sites is that they are somewhat hard to find. Often times, long tail keywords won&#8217;t have enough monthly searches to really be worth pursuing with a site. So you really have to dig in there and find a few keywords that have low enough competition coupled with enough monthly searches to convert to a point that&#8217;s worth your time.</p>
<p>Here are some rough numbers I look for when I research micro niches:</p>
<ul>
<li>allintitle competition of less than 10-30,000</li>
<li>Front Page Competition with average PR of 3 or less</li>
<li>Low backlinks (&lt;3-500 max) for each front page site</li>
<li>At least 5000 searches a month</li>
<li>Exact match domain name available for .com, .org. or .net</li>
</ul>
<p>Now, techie readers will realise that that all of those things can be found out basically automatically with the right keyword lists and some know how. But that will be something I probably won&#8217;t go into too much here at least <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>Analysis of Micro Niche Site</h2>
<p>So recently, <a href="http://www.gabrielweinberg.com/blog/2010/04/patrick-mckenzie-on-seo-adwords-for-bingo-card-creator.html" target="_blank">this interview</a> was posted to Hacker News. In the interview, Patrick McKenzie, the creator of <a href="http://www.bingocardcreator.com" target="_blank">Bingo Card Creator</a>, goes into some pretty great details about what I consider &#8220;active white hat SEO&#8221;. He&#8217;s not doing anything shady, or actively building any links for that matter, but he is paying attention to his SEO and encouraging others to build links to his sites. Additionally, he&#8217;s utilising micro niche sites with exact match domains to promote his seasonal bingo cards, with a bit of success it seems. He says in the interview:</p>
<blockquote><p>I don&#8217;t want to say that microsites are the right solution for everyone.  The problem with microsites is that they cause you to split your domain equity and link equity.  The basic idea behind PageRank (the core of Google&#8217;s original search ranking algorithm) is that any link to a page is a vote that that page and site is trusted and should appear higher in the search engine rankings.  Separate from PageRank is what is called the exact match domain bonus &#8212; if your domain (.net, .com, .org, or country-level TLD like .co.uk if the searcher is in the UK) exactly matches &#8212; and I mean character-for-character match when you strip out the spaces &#8212; you get a super bonus.</p></blockquote>
<blockquote><p>For example, if you registered patricksfunnydomain.com , and tried to rank for [Easter Bingo Cards], you might need hundreds of links or dozens of links until you&#8217;re competitive for that search result.  f I was putting it on Bingo Card Creator, which has hundreds of links, it would probably rank on the top page but near the bottom of it, until I built a significant amount of links directly to that page.  The exact match bonus causes easterbingocards.com to rank in the top three with a handful of links in a matter of weeks &#8212; a link from my blog, a few from directories, that is all it takes really.</p></blockquote>
<p>There&#8217;s a lot of gems in what he&#8217;s saying right there. Let&#8217;s go into one of his micro sites.</p>
<h2>Examination of a Micro Site</h2>
<p>Here&#8217;s one of Patrick&#8217;s micro sites that has an exact match domain:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/site-screenshot.jpg" rel="lightbox[81]"><img class="aligncenter size-medium wp-image-83" title="site-screenshot" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/site-screenshot-186x300.jpg" alt="" width="186" height="300" /></a>Really basic site, has a theme that matches the topic, a few content pages (home + 4 subpages) and a hell of a lot of links to his money site (bingocardcreator.com). The entire point of this site is to act simply as a landing page, capturing visitors who were searching for &#8220;halloween bingo cards&#8221;, and sending them to his actual bingo card site to get them to buy cards.</p>
<p>What he&#8217;s doing here though is leveraging the fact that he owns www.halloweenbingocards.net and because of that ranks #1 for that keyword. So he&#8217;s getting a bunch of clicks without doing much of anything. Some simple linkbuilding and that domain name, and he made it to the top.</p>
<p>I want to go over some of the numbers behind his site to show you what I mean in terms of a micro site and how effective the exact match domain name can be in terms of ranking. Here&#8217;s the keyword research data (I know, I haven&#8217;t gone over this topic yet for Market Samurai, I will next week probably):</p>
<p style="text-align: center;"><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/keyword-research.png" rel="lightbox[81]"><img class="aligncenter size-large wp-image-90" title="keyword-research" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/keyword-research1-550x42.png" alt="" width="550" height="42" /></a></p>
<p>About 120 searches a day, with an allintitle (SEOTC) competition of just 1,930. Those search numbers are a little low, but they are averaged out throughout the year. Searches in Halloween time would probably be significantly higher (I believe he said he got somewhere around 30,000 visitors during that week).</p>
<p>Next is the front page competition data:</p>
<p style="text-align: center;"><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/seo-competition.png" rel="lightbox[81]"><img class="aligncenter size-large wp-image-91" title="seo-competition" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/seo-competition1-550x184.png" alt="" width="550" height="184" /></a>This is where you can truly see how effective an exact match domain name is. As you can see, his site is firmly at #1, while his stats are pretty much terrible compared to his competitors. He has the lowest domain backlinks of everyone, pretty weak page backlinks, moderate Page Rank, and doesn&#8217;t even have his keyword in his meta description.</p>
<p>But none of that matters because he has an <strong>exact match keyword domain name</strong>. This is a perfect example of why these sites work so well. Just look at the PR spread of his backlinks (all 57 of them):</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/pr-analysis.png" rel="lightbox[81]"><img class="aligncenter size-large wp-image-92" title="pr-analysis" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/pr-analysis1-550x377.png" alt="" width="550" height="377" /></a>He only has 25 PR 1 or greater backlinks and yet is rock solid at the number 1 spot. You could sneeze and get that many backlinks in a day.</p>
<p>His on page setup is good, take a look:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/on-page-screen.png" rel="lightbox[81]"><img class="aligncenter size-large wp-image-93" title="on-page-screen" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/on-page-screen1-550x327.png" alt="" width="550" height="327" /></a>You can see his halloween bingo cards keyword in each of his header tags as well as his meta title (not description though). He has a few subpages, but honestly, he probably doesn&#8217;t even need those.</p>
<h2>Finishing Up</h2>
<p>So nothing truly earth shattering here, just a really good example of how to leverage your exact match domain name to rank high and fast. I have a few plans to further pursue this topic, both from the research side of things as well as from the case study side, so I&#8217;ll try and keep this topic fresh as we move forward.</p>
<p>I&#8217;m planning on launching a one page (well technically, it will have About, Privacy, and Contact pages) site over the weekend to sell a little info product (not a bullshit make money online ebook, something that has nothing to do with the web and that is well written and pretty useful to people who care). I have an exact match .org domain and the site design/lander ready, and am now just finishing up the content.</p>
<p>My plan is to pretty thoroughly document the linkbuilding I do and the rankings that follow from them. I&#8217;m going to be using a mix of a few popular techniques so it should be interesting.I&#8217;ll try and be as candid as possible without giving away the niche. I also might (I stress the might here) do a bit of Facebook Advertising for this site as there is a specific demographic I&#8217;m targeting that I can pretty cheaply it there.</p>
<p>I&#8217;m going to start with organic traffic though.</p>
<p>Stay tuned.</p>
<p>D</p>


<p>Related posts:<ol><li><a href='http://www.layeredthoughts.com/keyword-research/the-difference-between-broad-phrase-and-exact-match-search-volume-data' rel='bookmark' title='Permanent Link: The Difference Between Broad, Phrase, and Exact Match Search Volume Data'>The Difference Between Broad, Phrase, and Exact Match Search Volume Data</a></li>
<li><a href='http://www.layeredthoughts.com/niche-product-sites-guide/goals-keywords-some-specifics-about-our-niche-product-site' rel='bookmark' title='Permanent Link: Goals, Keywords, &#038; Some Specifics About Our Niche Product Site'>Goals, Keywords, &#038; Some Specifics About Our Niche Product Site</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/eXA8D_RuLrA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/case-studies/the-power-of-micro-niche-sites-with-exact-match-domain-names/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/case-studies/the-power-of-micro-niche-sites-with-exact-match-domain-names</feedburner:origLink></item>
		<item>
		<title>How To Write Your First Ruby Web Bot In Watir – Scraping Weather.com</title>
		<link>http://feedproxy.google.com/~r/LayeredThoughts/~3/5fcbwgAM-sY/how-to-write-your-first-ruby-web-bot-in-watir-scraping-weather-com</link>
		<comments>http://www.layeredthoughts.com/automation/how-to-write-your-first-ruby-web-bot-in-watir-scraping-weather-com#comments</comments>
		<pubDate>Sun, 04 Apr 2010 19:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[bots]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[watir]]></category>
		<category><![CDATA[web bots]]></category>

		<guid isPermaLink="false">http://www.layeredthoughts.com/?p=58</guid>
		<description><![CDATA[Time for the fun stuff now. The holy grail for a lot of Internet Marketers is automation. This can be obtained through simple iMacros scripts, some PHP scripts on a server, or with a little tool called Watir using the Ruby programming language. All of these combos have their own inherent advantages and disadvantages, but [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-59" title="web bot2" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/web-bot2.jpg" alt="" width="360" height="324" />Time for the fun stuff now. The holy grail for a lot of Internet Marketers is <strong>automation</strong>. This can be obtained through simple iMacros scripts, some PHP scripts on a server, or with a little tool called <a href="http://www.watir.com" target="_blank">Watir</a> using the Ruby programming language. All of these combos have their own inherent advantages and disadvantages, but that&#8217;s not something I&#8217;m going to go over here. I like to use Watir for a lot of botting needs, so that&#8217;s what I&#8217;m going to show you how to do today.</p>
<h2>Why Ruby? Why Watir?</h2>
<p><img class="alignleft size-full wp-image-76" title="ruby_logo" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/ruby_logo.png" alt="" width="106" height="109" />For anyone who has had the joy of switching to Ruby from other languages, this question should be a no brainer. Ruby is a fun language, it&#8217;s clear and concise, reads like English, and has a great collection of plugins (gems) that allow you to significantly expand the capabilities of your apps. Ruby obviously came to fame because of Rails, which is a really nice and powerful framework, but is a whole different beast from web bots. Ruby is a great general purpose language that can be used for a lot of different projects.<span id="more-58"></span></p>
<p><img class="alignleft size-full wp-image-75" title="watir" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/watir.gif" alt="" width="110" height="103" />As for Watir, here&#8217;s the basic run down. Watir is a browser based web app front end testing tool. Automated testing is a big deal for guys who work on large code bases, but when it comes to doing assertions on the visual side of things, there&#8217;s no substitution for simulating a browser. What Watir allows you to do is directly control your Firefox (or Chrome, Safari, or IE even) through Ruby code to simulate a user on a site to make sure your site doesn&#8217;t break down if a user clicks a button 10,000 times for instance.</p>
<p>So Watir exists for noble causes, but there are obviously other ways you can utilise the power that it gives you. Admittedly, it&#8217;s not the fastest botting solution out there, cause Firefox is heavy as hell. Also, running concurrent (threaded) bots becomes difficult because of Firefox&#8217;s heft as well. But no other solution allows you to so quickly and easily get up and running with a fully functional, robust bot. Plus, you can watch the thing run as you&#8217;re testing in your browser, so you can see exactly what you need to do next. It&#8217;s sweet.</p>
<h2>Let&#8217;s Get Started</h2>
<p>Ok, so there&#8217;s a couple things you need to do to prepare to write bots with Watir. First, you need to get Ruby installed. On Windows, there are things like the One Click installer or just the actual Ruby installer. For Linux, like Ubuntu (what I&#8217;m running), you can use apt-get to install everything you need. I&#8217;m not going to go over how to install everything, I&#8217;m just going to point you to Watir&#8217;s installation page: <a href="http://watir.com/installation/" target="_blank">Install Watir</a></p>
<p>Next, you should install Firefox. You could technically run this bot in any browser, but there are a couple of plugins that make this a lot easier and you can only use those in Firefox. So go do it.</p>
<p>Once Firefox is installed, you need to get the JSSH Plugin installed as well. The instructions for that are on the <a href="http://watir.com/installation/" target="_blank">Install Watir</a> page as well.</p>
<p>Next, you need to install those Firefox plugins. Here are the ones that we&#8217;ll use in this guide:</p>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/9760" target="_blank">Test-Wise Recorder</a> &#8211; This plugin is amazing. It records your interactions with a site and spits out Ruby Watir code. It&#8217;s not 100% all of the time, but it is a damn good starting point.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a> &#8211; If you want to write web bots but don&#8217;t know what Firebug is, just, uhhh, come on. Go get it. Go love it.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/11900" target="_blank">FireXPath</a> &#8211; This lets you right click any item on the page and grab the exact XPath string to access it through code. It is super handy for a lot of these projects.</li>
</ul>
<p>Finally, you need to install the Ruby Gem Nokogiri. Your best bet is to actually install Mechanize, because Mechanize comes with Nokogiri, and you&#8217;re going to need both of them eventually, so you might as well. Should be as simple as:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">gem install mechanize</div></div>
<p>If that doesn&#8217;t work right, fire up Google and get it to work.</p>
<h2>Party Time</h2>
<p>So what are we going to build? There are obviously a lot of dubious projects that you can do with the tools described in this guide, but for now, I&#8217;m going to keep things nice and white hat. So today, we&#8217;re going to build a bot that will automatically scrape the forecast for a location 7 days from today. I know, super useful.</p>
<p>So anywho, fire up your browser and go to weather.com. You should see something like this:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/weather-com-home.png" rel="lightbox[58]"><img class="aligncenter size-medium wp-image-61" title="weather-com-home" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/weather-com-home-300x157.png" alt="" width="300" height="157" /></a>Now, when botting, you want to run through (often times, a lot) the process to get a feel for exactly what you&#8217;re going to do. So go ahead and type in your location in the search box up top (I did San Diego, CA for this guide). You should now see this:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/initial-results.png" rel="lightbox[58]"><img class="aligncenter size-medium wp-image-63" title="initial-results" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/initial-results-300x168.png" alt="" width="300" height="168" /></a>Ok, so to get the forecast for a week from today, you need to get over to the &#8220;10-Day&#8221; page, so click that link on the blue menu bar:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/10-day-results.png" rel="lightbox[58]"><img class="aligncenter size-medium wp-image-64" title="10-day-results" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/10-day-results-300x184.png" alt="" width="300" height="184" /></a>Finally, what we want is the 8th row of that table (it includes today, so 7 + 1 = simple math). That box looks like this:</p>
<p><a href="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/7-days.png" rel="lightbox[58]"><img class="aligncenter size-medium wp-image-65" title="7-days" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/7-days-300x98.png" alt="" width="300" height="98" /></a>And what we want to pull out from that box is the text underneath the rainy clouds, <strong>Showers</strong>.</p>
<p>Seems easy enough, right? Let&#8217;s get started.</p>
<h2>Writing The Bot</h2>
<p>So now, go back to weather.com&#8217;s home page, and fire up &#8220;iTest2 Recorder Sidebar&#8221; in Firefox. A menu will pop up on the left side of the screen, that looks like this:</p>
<p><img class="aligncenter size-full wp-image-66" title="itest-screen" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/itest-screen.png" alt="" width="371" height="448" /></p>
<p>So what we want to do is click the Watir tab on that, then start interacting with the website. As you click around, enter form fields, etc, it records what you do and <strong>spits out Ruby code</strong>. Really cool.</p>
<p>So go ahead and click into the search box, and type in that location you used when we were exploring the site earlier. Then click &#8220;Search&#8221;.</p>
<p>Now, click on the &#8220;10-Day&#8221; link in the blue menu bar. Your iTest Panel should now have this code in it:</p>
<p><img class="aligncenter size-full wp-image-67" title="itest-code" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/itest-code.png" alt="" width="360" height="260" />Now, right click in that box, select &#8220;Copy All&#8221;, and fire up your text editor and paste that code into there. You can close up iTest now.</p>
<p>Next, we&#8217;re going to get the appropriate require&#8217;s into your code so we can run this initial script. At the top of your ruby file, add these lines:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'watir'</span><br />
<br />
<span style="color:#6666ff; font-weight:bold;">Watir::Browser</span>.<span style="color:#9900CC;">default</span> = <span style="color:#996600;">&quot;firefox&quot;</span></div></div>
<p>All we&#8217;re doing there is getting the right gems loaded up, then making sure that when Watir starts running, it uses Firefox by default. Your code should now look like this:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'watir'</span><br />
<br />
<span style="color:#008000; font-style:italic;">#start the browser up</span><br />
<span style="color:#6666ff; font-weight:bold;">Watir::Browser</span>.<span style="color:#9900CC;">default</span> = <span style="color:#996600;">&quot;firefox&quot;</span><br />
browser = <span style="color:#6666ff; font-weight:bold;">Watir::Browser</span>.<span style="color:#9900CC;">start</span>  <span style="color:#996600;">&quot;http://www.weather.com/&quot;</span><br />
<br />
browser.<span style="color:#9900CC;">text_field</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:id</span>, <span style="color:#996600;">&quot;whatwhereForm2&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">set</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;san diego, ca&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<br />
browser.<span style="color:#9900CC;">button</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:src</span>,<span style="color:#996600;">&quot;http://i.imwx.com/web/common/searchbutton.gif&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">click</span><br />
<br />
browser.<span style="color:#9900CC;">link</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:text</span>, <span style="color:#996600;">&quot;10-Day&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">click</span></div></div>
<p>Save that file out as weather.rb, then drop down into the command line/terminal and navigate to where you saved the file and run it by entering:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ruby weather.<span style="color:#9900CC;">rb</span></div></div>
<p>If everything was setup correctly, you should see Firefox pop up, visit weather.com, type in your location, then click the 10-Day link. Sweet!</p>
<h2>Scraping the Forecast with Nokogiri and XPath</h2>
<p>So now that we&#8217;re on the right page, we need to get that specific forecast for one week from today. In Firefox, right click the &#8220;Showers&#8221; forecast in the table row for 7 days from today (in this case, it&#8217;s April 11th) and click &#8220;Inspect XPath&#8221;.  You should see this:</p>
<p><img class="aligncenter size-full wp-image-71" title="xpath" src="http://www.layeredthoughts.com/cms/wp-content/uploads/2010/04/xpath.png" alt="" width="488" height="313" />Copy the &#8220;.//*[@id='tenDay']/div[8]/div/div[2]/div/p&#8221; code out and paste it into your weather.rb file.</p>
<p>So now we&#8217;re going to load the current page into Nokogiri, and using the .xpath method, parse out this row of the table and get the text within that &lt;p&gt; tag.</p>
<p>Just under your &#8220;require &#8216;watir&#8217;&#8221; line, you need to add this:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'nokogiri'</span></div></div>
<p>Next, after the current last line of your script (the line that gets us onto the 10-Day forecase page), you&#8217;re going to add this:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">page_html = <span style="color:#6666ff; font-weight:bold;">Nokogiri::HTML</span>.<span style="color:#9900CC;">parse</span><span style="color:#006600; font-weight:bold;">&#40;</span>browser.<span style="color:#9900CC;">html</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<br />
<span style="color:#CC0066; font-weight:bold;">puts</span> page_html.<span style="color:#9900CC;">xpath</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;.//*[@id='tenDay']/div[8]/div/div[2]/div/p&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">inner_text</span></div></div>
<p>What the hell is that? Well, the first line is instantiating the variable &#8220;page_html&#8221; and setting it to the result from parsing the current page (accessible via browser.html) with Nokogiri. The current page for Watir is always stored in browser.html, fyi. What this is basically doing is getting it locked and loaded in Nokogiri so you can parse out the relevant information from the DOM that you want.</p>
<p>The next line is printing to the screen (that&#8217;s what &#8220;puts&#8221; does, it&#8217;s like &#8220;echo&#8221; in PHP) the inner_text of whatever is located at the XPath location that we copied from FireXPath earlier. Let me break that down a bit.</p>
<p>I&#8217;m not going into what XPath is here, but it&#8217;s basically a quick way to traverse the DOM. What this XPath says is &#8220;go through the whole page, find any element with the id of &#8216;tenDay&#8217;, find the 8th div inside of that, find the first div inside of that, the 2nd div inside of that, the first div inside of that, then the first p inside of that&#8221;. If we left out the .inner_text call, this would spit out all of the html code inside of that &lt;p&gt; tag.</p>
<p>But by adding .inner_text, you are telling Nokogiri to ignore all of the HTML in that &lt;p&gt; tag and just print out whatever text is located in there, which in this case is &#8220;Showers&#8221;.</p>
<p>So that&#8217;s basically it. Your final code should look like this:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'watir'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'nokogiri'</span><br />
<br />
<span style="color:#008000; font-style:italic;">#start the browser up</span><br />
<span style="color:#6666ff; font-weight:bold;">Watir::Browser</span>.<span style="color:#9900CC;">default</span> = <span style="color:#996600;">&quot;firefox&quot;</span><br />
browser = <span style="color:#6666ff; font-weight:bold;">Watir::Browser</span>.<span style="color:#9900CC;">start</span>  <span style="color:#996600;">&quot;http://www.weather.com/&quot;</span><br />
<br />
browser.<span style="color:#9900CC;">text_field</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:id</span>, <span style="color:#996600;">&quot;whatwhereForm2&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">set</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;san diego, ca&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<br />
browser.<span style="color:#9900CC;">button</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:src</span>,<span style="color:#996600;">&quot;http://i.imwx.com/web/common/searchbutton.gif&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">click</span><br />
<br />
browser.<span style="color:#9900CC;">link</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:text</span>, <span style="color:#996600;">&quot;10-Day&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">click</span><br />
<br />
<span style="color:#008000; font-style:italic;">#pass in current page's html to nokogiri for parsing</span><br />
page_html = <span style="color:#6666ff; font-weight:bold;">Nokogiri::HTML</span>.<span style="color:#9900CC;">parse</span><span style="color:#006600; font-weight:bold;">&#40;</span>browser.<span style="color:#9900CC;">html</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<br />
<span style="color:#CC0066; font-weight:bold;">puts</span> page_html.<span style="color:#9900CC;">xpath</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;.//*[@id='tenDay']/div[8]/div/div[2]/div/p&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">inner_text</span></div></div>
<p>Run that with &#8220;ruby weather.rb&#8221; again, and it should run and stop on the 10-Day forecast page. Check your terminal, and it should print out &#8220;Showers&#8221;.</p>
<p>Boom. You just botted Weather.com.</p>
<h2>Where To Go From Here?</h2>
<p>Ok, so I&#8217;ll admit it, that was a really simple and White Hat bot. But, there is A LOT of potential with what I just wrote up if you take some time to plan out some good targets. So start tweaking this code and try botting some other sites. Once you&#8217;re comfortable, start thinking about how you can expand your efforts.</p>
<p>I want to write some more guides like this for different efforts, but I probably won&#8217;t ever write anything very Black Hat just because that&#8217;s a job for you to figure out anyways <img src='http://www.layeredthoughts.com/cms/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . There are a few other useful topics revolving around these concepts though that I will write about soon, so stay tuned.</p>
<p>Good luck,</p>
<p>D</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/LayeredThoughts/~4/5fcbwgAM-sY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.layeredthoughts.com/automation/how-to-write-your-first-ruby-web-bot-in-watir-scraping-weather-com/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		<feedburner:origLink>http://www.layeredthoughts.com/automation/how-to-write-your-first-ruby-web-bot-in-watir-scraping-weather-com</feedburner:origLink></item>
	</channel>
</rss>
