<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Affiliate Marketing blog by James Little &#187; twitter</title>
	<atom:link href="http://www.3wdl.co.uk/category/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3wdl.co.uk</link>
	<description>James Little writes about Affiliate Marketing, SEO, PPC, Blogging, Internet Revenue, and other random thoughts</description>
	<lastBuildDate>Mon, 09 Jan 2012 23:02:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Getting links from your twitter friends</title>
		<link>http://www.3wdl.co.uk/2011/03/07/getting-links-from-twitter/</link>
		<comments>http://www.3wdl.co.uk/2011/03/07/getting-links-from-twitter/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 17:39:06 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Affiliates]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.3wdl.co.uk/?p=430</guid>
		<description><![CDATA[I’m sure a lot of people are doing this already, but one gem that I got out of ThinkVisibility from an SEO perspective this weekend was about how to find (and then analyse) the websites of your twitter followers. First of all the inspiration from this is from distilled, specifically the presentation from Paddy and [...]]]></description>
			<content:encoded><![CDATA[<p>I’m sure a lot of people are doing this already, but one gem that I got out of <a href="http://www.thinkvisibility.com">ThinkVisibilit</a>y from an SEO perspective this weekend was about how to find (and then analyse) the websites of your twitter followers.</p>
<p>First of all the inspiration from this is from <a href="http://www.distilled.co.uk">distilled</a>, specifically the <a href="http://www.distilled.co.uk/blog/seo/think-visibility-march-2011-the-jaamit-award-pick-n-mix/ ">presentation from Paddy</a> and a <a href="http://www.distilled.co.uk/blog/seo/how-to-build-agile-seo-tools-using-google-docs/">previous post from Tom</a>.</p>
<p>So lets talk first about the end results of what you’ll get from this:</p>
<ul>
<li>List      of twitter followers</li>
<li>Website      address of twitter followers</li>
<li>Website      PR rank of twitter followers</li>
<li>Alexa      rank of twitter followers</li>
</ul>
<p>Obviously with this info you can then build some targets of relevant sites &amp; have an easy way of getting in touch via twitter DM.   It could probably be adapted to include the email addresses from the domain whois, but that’s one for another time.</p>
<p>It’s also worth mentioning that you could also do this to check other twitter users accounts – so if you are trying to build your own twitter profile then it may also come in handy..</p>
<p><strong>Before you start: </strong> This can save you a lot of time and effort but it’s not perfect.  Google have a limit of 50 XML Imports per sheet so you’ll need to do a lot of copying and pasting if you have a lot of followers.</p>
<p><strong>1. Get your follower details</strong></p>
<p><strong> </strong></p>
<p>The first thing that you need to do is export a list of your followers to CSV – you can’t do this on the official twitter site so you’ll need to head on over to <a href="http://friendorfollow.com/">Friend of Follow</a> instead.</p>
<p>Pop in your twitter username and once it loads go to the “Fans” tab.  Now Export to a CSV.</p>
<p><strong>2. Upload CSV into Google Docs</strong></p>
<p>Log into Google Docs (<a href="http://docs.google.com/">http://docs.google.com</a>) and select Upload.  Once all done open it up within Google Docs – you may need to add some more columns (click on far right column then select Insert / Columns Right).</p>
<p><strong>3. Scraping the Web URL</strong></p>
<p>Now the fun part starts.   Friend of Follow gives you some good info but it doesn’t give you the twitter users web address, to do this you are going to have to use a feature in Google called ImportXML to scrape it.    You could scrape this from twitter but in this case we’ll use <a href="http://qwerly.com/">Qwerty</a> as it doesn’t force you to login.</p>
<p>Have a quick look at your profile within Qwerly and you will see that under the Profile info (example <a href="http://qwerly.com/twitter/3wdl">http://qwerly.com/twitter/3wdl</a>) it has the website address.</p>
<p>So now back to the Google Doc.    The first thing that we’re going to do is create a column with the users qwerly URL.  This is simple and the formula you will need is something like this:</p>
<p>=&#8221;http://qwerly.com/twitter/&#8221;&amp; A2</p>
<p>Next we’re going to do the actual scraping – this uses Google’s ImportXML function and again, you can refer to the <a href="http://www.distilled.co.uk/blog/seo/how-to-build-agile-seo-tools-using-google-docs/">distilled blog post here</a> or Google’s own <a href="http://docs.google.com/support/bin/answer.py?hl=en&amp;answer=75507">very limited documentation</a> on it here.  Distilled also give ref to <a href="http://seogadget.co.uk/playing-around-with-importxml-in-google-spreadsheets/">SEO Gadget</a> so it’s own fair we pop in their link too.</p>
<p>So if you have a look at the Qwerly site you can view the source code on how they display the web URL, here is an example:</p>
<p>&lt;h2&gt;<br />
&lt;strong&gt;Web&lt;/strong&gt; &lt;span&gt;&lt;a href=&#8221;http://lovemonkeysblog.blogspot.com&#8221; rel=&#8221;me&#8221;&gt;http://lovemonkeysblog.blogspot.com&lt;/a&gt;&lt;/span&gt;<br />
&lt;/h2&gt;</p>
<p>So the formula that you’ll need for qwerly is:</p>
<p>=importxml(K2,&#8221;//h2[@class='website']//a&#8221;)</p>
<p>This is telling you to look at cell K2 (which is where we placed the Qwerly URL), then look at the h2 headings for a class called website.  Within website we just want the link (which is what the a is for).</p>
<p>So now we have a list of your twitter followers and their web addresses.   This is nice, but I want more.</p>
<p><strong>4. Adding in Google Page Rank</strong></p>
<p>You could probably scrape Google / another site to find the page rank, but in this case it’s actually 100x similar.  All you need to do is add a script into the Googledoc, to do this:</p>
<ol>
<li>Go      to Insert</li>
<li>Select      Script</li>
<li>Search      for Google Page Rank</li>
<li>Click      Install</li>
<li>Select      Authorize</li>
</ol>
<p>Now go back to your Google doc and enter the following formula</p>
<p>=pageRank(L2)</p>
<p>Now you will see that the Pagerank should now be populated.</p>
<p>But why stop there?   Alexa ranking isn’t the best thing in the world, but I do still use it as a good guide over traffic to sites, especially as it’s free.</p>
<p><strong>5. Adding in Alexa Details</strong></p>
<p><strong> </strong></p>
<p>Kudos to <a href="http://blog.fosketts.net/2010/07/02/cool-google-spreadsheet-importxml-xpath/">Stephen Fosktt</a> for this one.   I played about with Alexa scraping for ages and was tearing my hair out because of their pretty awful source code before seeing Stephen’s blog and seeing that I could scrape it quite easily from the search results.</p>
<p>The formula for Alexa is:</p>
<p>=value(importXML(&#8220;http://www.alexa.com/search?q=&#8221;&amp;L2,&#8221;//ul[@class='traffic-stats']/li/a[@href][1]&#8220;))</p>
<p>Now your sheet has some really useful info – you can sort by how popular there are on twitter, their PR rank, etc.    As stated earlier, the big problem that you have is the frustrating limit that Google put on the number of XMLImports that you can do.   The sheet could be expanded to include other info on the web about these sites but this has been enough for me for now.</p>
<p>You can view the completed version to use as an example here:</p>
<p><a href="https://spreadsheets.google.com/ccc?key=0AvoNoE_CqGaBdGFFSmRDbXlKMGtyN3NjU2hKdVRWV0E&amp;hl=en">https://spreadsheets.google.com/ccc?key=0AvoNoE_CqGaBdGFFSmRDbXlKMGtyN3NjU2hKdVRWV0E&amp;hl=en</a></p>
<p>Make sure you check the other resources used, namely:</p>
<p><a href="http://www.distilled.co.uk/blog/seo/how-to-build-agile-seo-tools-using-google-docs/">http://www.distilled.co.uk/blog/seo/how-to-build-agile-seo-tools-using-google-docs/<br />
</a><a href="http://seogadget.co.uk/playing-around-with-importxml-in-google-spreadsheets/">http://seogadget.co.uk/playing-around-with-importxml-in-google-spreadsheets/</a> and<br />
<a href="http://blog.fosketts.net/2010/07/02/cool-google-spreadsheet-importxml-xpath/">http://blog.fosketts.net/2010/07/02/cool-google-spreadsheet-importxml-xpath/</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3wdl.co.uk/2011/03/07/getting-links-from-twitter/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

