<?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>BlinkTag Inc &#187; twitter</title>
	<atom:link href="http://blinktag.com/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blinktag.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Jul 2010 04:50:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>simple python script and fun with GeoAPI</title>
		<link>http://blinktag.com/simple-python-script-and-fun-with-geoapi/</link>
		<comments>http://blinktag.com/simple-python-script-and-fun-with-geoapi/#comments</comments>
		<pubDate>Mon, 03 May 2010 15:33:11 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apis]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[geoapi]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[the mission]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blinktag.com/?p=787</guid>
		<description><![CDATA[I had my first opportunity yesterday to play around with the GeoAPI geo-referencing service. Although not quite as intuitive as Google Map&#8217;s forward and reverse geocoding services, GoeAPI gives you immediate access to geo-located feeds from Twitter, Flickr, and YouTube, plus the ability to create custom neighborhoods (what they called &#8220;guids&#8221;) for you to query. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geoapi.com"><img src="http://blinktag.com/wp-content/uploads/2010/05/Screen-shot-2010-05-03-at-8.14.14-AM-300x119.png" alt="" title="Screen shot 2010-05-03 at 8.14.14 AM" width="300" height="119" class="alignright size-medium wp-image-788" /></a></p>
<p>I had my first opportunity yesterday to play around with the <a href="http://geoapi.com/">GeoAPI</a> geo-referencing service.  Although not quite as intuitive as <a href="http://code.google.com/apis/maps/documentation/services.html">Google Map&#8217;s forward and reverse geocoding services</a>, GoeAPI gives you immediate access to geo-located feeds from <a href="http://twitter.com">Twitter</a>, <a href="http://flickr.com/photos/jedhorne">Flickr</a>, and <a href="http://youtube.com">YouTube</a>, plus the ability to create custom neighborhoods (what they called &#8220;guids&#8221;) for you to query.</p>
<p>Sounds nerdy &#8211; so here&#8217;s the English translation:</p>
<p><em>You now can, with a few lines of code, get Tweets happening real-time in your neighborhood.</em></p>
<p>Fun?  I guess it depends on where you live.  Mostly what I&#8217;ve been finding is that my neighbors <a href="http://missionmission.wordpress.com/">are kind of pervs</a>.</p>
<p>Here&#8217;s a quick and dirty Python code sample for you to get started.  <a href="http://spreadsheets.google.com/viewform?formkey=dGJscE5kWmc1ZjVDUzFQUW8yMmdNa0E6MA">You&#8217;ll need your own API key first</a>.</p>
<p>Also, you&#8217;ll need to know the latitude and longitude of a point in the neighborhood you&#8217;re interested in.  Try (37.766 -122.417) for the Mission.  Also, because sometimes you get garbage for location data (like <em>Where: !!!!Frisco U noe!!!!</em>), I&#8217;ve add a quick parser to find correctly formatted latitude and longitude pairs.  Plenty more you can do with this with a few minutes of time.</p>
<p>&#8211; Nerdy Part &#8211;</p>
<pre>
import sys, os, json, urllib, re

#usage: python get_tweets.py [lat] [lng]

lat = sys.argv[1]
lng = sys.argv[2]

# Regex to find properly formatted lat-long pairs in the where response.

lat_lng_re = re.compile('^[\D]*[^-^\d](?P<lat>[\d\.-]+)\s*\,\s*(?P<lng>[\d\.-]+).*')
api = '[YOUR API KEY]'

parent_request = 'http://api.geoapi.com/v1/parents?lat=%s&#038;lon=%s&#038;apikey=%s' % (lat,lng,api)
response = urllib.urlopen(parent_request).read()

json1 = json.loads(response)

# Find your neighborhood 

guid = json1['result']['parents'][0]['guid']
print "\n\nYour neighborhood: %s\n\n" % json1['result']['parents'][0]['meta']['name']
print "--TWEETS--\n\n"

# Get Tweets in your neighborhood

tweets_request = 'http://api.geoapi.com/v1/e/%s/view/twitter?apikey=%s' % (guid,api)

response = urllib.urlopen(tweets_request).read()

json2 = json.loads(response)

for tweet in json2['result']:
	print "Tweet: %s" % tweet['text']
	print "When: %s" % tweet['created_at']
	loc = lat_lng_re.match(tweet['location'])
	if loc:
		print "Lat: %s Lng: %s" % (loc.group('lat'),loc.group('lng'))
	else:
		print "Unusable location: %s" % tweet['location']
	print "User: %s" % tweet['from_user']
	print "Profile image url: %s\n" % tweet['profile_image_url']
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/simple-python-script-and-fun-with-geoapi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redirect root domain of custom short URLs using bit.ly pro</title>
		<link>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/</link>
		<comments>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 08:06:51 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bit.ly]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[shorteners]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[URLs]]></category>

		<guid isPermaLink="false">http://blinktag.com/?p=755</guid>
		<description><![CDATA[We recently used bit.ly pro to implement custom short urls for 511contracosta.org &#8211; with 511cc.org. Its currently a free service and works the same as bit.ly shortened URLs, only with a custom domain name of your choosing. Amazon just announced yesterday that they are using bit.ly pro for custom URLs using amzn.to. Things worked great, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blinktag.com/wp-content/uploads/2010/04/bitly_logo.png" alt="" title="bitly_logo" width="146" height="39" class="alignright size-full wp-image-759">We recently used <a href="http://bitly.pro/">bit.ly pro</a> to implement custom short urls for <a href="http://511contracosta.org">511contracosta.org</a> &#8211; with <a href="http://511cc.org">511cc.org</a>.  Its currently a free service and works the same as bit.ly shortened URLs, only with a custom domain name of your choosing. <a href="http://techcrunch.com/2010/04/14/amazon-goes-pro-with-bit-ly/"> Amazon just announced yesterday</a> that they are using bit.ly pro for custom URLs using amzn.to.</p>
<p>Things worked great, and it was easy to set up the custom url with bit.ly pro by changing the A record for the domain name, however this meant that anyone going to 511cc.org directly with no hash on the end would be redirected to bit.ly&#8217;s main page.  We needed this to redirect to a URL of our choosing, in this case 511contracosta.org.  This isn&#8217;t an option in bit.ly pro, <a href="http://bitly.pro/faq#root">according to their FAQ</a> its only available for bitly.Pro Enterprise users which <a href="http://blog.bit.ly/post/519223659/bit-ly-1-3">costs $995/month</a>.  This was way beyond our price range.</p>
<p>Fortunately, its pretty easy to use .htaccess to carry out this.  </p>
<ul>
<li>First, you need to set up the short domain name to use namesevers that point to a hosting account you control.  For us, this was <a href="mediatemple.net/">Media Temple</a> so we set nameservers to ns1.mediatemple.net and ns2.mediatemple.net.</li>
<li>Next, add a file called <code>.htaccess</code></li>
<li>The contents of the .htaccess file should be:<br />
<blockquote><p><code>RewriteEngine on<br />
RewriteRule ^/?$ http://511contracosta.org [L]<br />
RewriteRule ^(.*)$ http://bit.ly/$1 [R=301,NC]<br />
</code></p></blockquote>
</li>
<li>You should replace &#8220;http://511contracosta.org&#8221; with the domain name you&#8217;d like to redirect the root to</li>
<li>Enjoy bit.ly pro, with at least one feature of bitly.pro enterprise</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Google Buzz to a WordPress Site</title>
		<link>http://blinktag.com/how-to-add-google-buzz-to-a-wordpress-site/</link>
		<comments>http://blinktag.com/how-to-add-google-buzz-to-a-wordpress-site/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 10:07:14 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google Buzz]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blinktag.com/?p=699</guid>
		<description><![CDATA[Its been a day since Google Buzz launched publicly, but given that it works inside of gmail, there is already a huge user base. You might have a &#8220;Digg This&#8221; or &#8220;Tweet This&#8221; button on your blog or site, but now you need a &#8220;Buzz This&#8221; button. TechCrunch created their own &#8220;Buzz it&#8221; button and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-700" title="google_buzz_logo" src="http://blinktag.com/wp-content/uploads/2010/02/google_buzz_logo.jpg" alt="" width="98" height="78" />Its been a day since Google Buzz launched publicly, but given that it works inside of gmail, there is already a huge user base.  You might have a &#8220;Digg This&#8221; or &#8220;Tweet This&#8221; button on your blog or site, but now you need a &#8220;Buzz This&#8221; button.</p>
<p><a href="http://techcrunch.com/2010/02/10/google-buzz-button/">TechCrunch created their own</a> &#8220;Buzz it&#8221; button and posted a <a href="http://pastie.org/819310">link to the code</a> in the comments.  Its easy to add to any wordpress site (or really any other content management system.  The following steps will show you how to add a &#8220;Buzz This&#8221; link to your site, like the one above on the <a href="http://blinktag.com/blog">BlinkTag Blog</a>.</p>
<ul>
<li>Open the <code>single.php</code> file of your sites template.  You can do this via FTP or in WordPress by going to <strong>&#8220;Appearance&#8221; -&gt; &#8220;Editor&#8221;</strong> and selecting <code>single.php</code>.</li>
<li>Paste the following code where you would like the Buzz It button to appear.  If you are not sure where, the line right before or after <code>&lt;?php the_content(); ?&gt;</code> is a good place.</li>
<pre><textarea style="border:1px solid #999;word-wrap:break-word;width:500px;height:100px;">&lt;a href="javascript:var%20b=document.body;var%20GR________bookmarklet_domain=&amp;quot;http://www.google.com&amp;quot;;if(b&amp;amp;&amp;amp;!document.xmlVersion){void(z=document.createElement(&amp;quot;script&amp;quot;));void(z.src=&amp;quot;http://www.google.com/reader/ui/link-bookmarklet.js&amp;quot;);void(b.appendChild(z));}else{}"&gt;
&lt;img src="http://IMAGE HERE" border="0" alt="Share on Google Buzz" /&gt; Share on Google Buzz&lt;/a&gt;</textarea></pre>
<li>Replace <code>http://IMAGE HERE</code> with the URL of your image, or remove the image code entirely to have a text only link.  If you want, take this 16&#215;16 Buzz Logo image: <img src="http://blinktag.com/wp-content/themes/blinktag/images/google_buzz.png"> but please copy it to your site, don&#8217;t link directly the image hosted on BlinkTag.</li>
<li>Save the <code>single.php</code> file.  Test it out on an individual posts page on your site.</li>
<li>This same process can be in used in <code>page.php</code> or any other template file to add a Buzz link to your WordPress pages.</li>
</ul>
<p>Respond in the comments if you come up with a better way to accomplish this.  If you liked this post, please Buzz it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/how-to-add-google-buzz-to-a-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass Email&#8230; Great Sucess</title>
		<link>http://blinktag.com/mass-email-great-sucess/</link>
		<comments>http://blinktag.com/mass-email-great-sucess/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 20:19:34 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blinktag]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[phplist]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blnktag.com/?p=407</guid>
		<description><![CDATA[If you didn&#8217;t already get it, we sent out an email to most of our past and present clients, friends, colleagues, drinking buddies and facebook friends.  Thanks for all of the positive replies, I&#8217;ll make sure to respond to everyone who wrote back within a day or two. We don&#8217;t email our list very often [...]]]></description>
			<content:encoded><![CDATA[<p>If you didn&#8217;t already get it, we <a href="http://blinktaginc.createsend3.com/t/r/e/tjiyhl/mdrlrluj/">sent out an email</a> to most of our past and present clients, friends, colleagues, drinking buddies and facebook friends.  Thanks for all of the positive replies, I&#8217;ll make sure to respond to everyone who wrote back within a day or two.</p>
<p>We don&#8217;t email our list very often (once a year or less).  If anyone wants to follow us more closely than that, subscribe to <a href="http://blinktag.com/blog">this blog</a> or follow us on twitter (<a href="http://twitter.com/brendannee">@brendannee</a> <a href="http://twitter.com/jedhorne">@jedhorne</a>).</p>
<p><img class="alignleft size-full wp-image-408" title="campaignmonitor" src="http://blinktag.com/wp-content/uploads/2009/04/campaignmonitor.jpg" alt="campaignmonitor" width="227" height="46" /><img class="alignright size-full wp-image-409" title="phplist-logo" src="http://blinktag.com/wp-content/uploads/2009/04/phplist-logo.png" alt="phplist-logo" width="155" height="70" />Many of our clients send out emails to their constituents/customers/subscribers/fans using a variety of platforms.  We&#8217;ve had good luck with <a href="http://campaignmonitor.com">Campaign Monitor</a> and <a href="http://www.phplist.com/">PHPList</a>.  Campaign Monitor is fully hosted and costs money, but provides a slick interface, decent analytics and bounce tracking and supports custom templates and custom user fields.  PHPList is an open source application that you can host yourself.  As such, its customizable in any way you&#8217;d like and its completely free.  The interface isn&#8217;t as streamlined and intuitive as campaign monitor but it does the job.</p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/mass-email-great-sucess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>feel the burn: BART on twitter?</title>
		<link>http://blinktag.com/feel-the-burn-bart-on-twitter/</link>
		<comments>http://blinktag.com/feel-the-burn-bart-on-twitter/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 19:27:43 +0000</pubDate>
		<dc:creator>Jed Horne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BART]]></category>
		<category><![CDATA[Burning Man]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blnktag.com/?p=337</guid>
		<description><![CDATA[Stop the presses! BART is now twittering. I don&#8217;t know about you, but I didn&#8217;t know that you could ride the train all the way to Black Rock City.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blinktag.com/images/765cbbd85d5dcb5a4ad372c6ce784664.png" alt="burners" /></p>
<p>Stop the presses! <a href="http://twitter.com/sfbart">BART is now twittering</a>.  I don&#8217;t know about you, but I didn&#8217;t know that you could ride the train all the way to <a href="http://www.flickr.com/photos/jedhorne/sets/72157601883330212/">Black Rock City</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/feel-the-burn-bart-on-twitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter is great (if you know how to use it)</title>
		<link>http://blinktag.com/twitter-is-great-if-you-know-how-to-use-it/</link>
		<comments>http://blinktag.com/twitter-is-great-if-you-know-how-to-use-it/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 11:16:33 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blnktag.com/?p=241</guid>
		<description><![CDATA[We’ve been using twitter for a while and have helped a few of our clients get up and running. Explaining the concept of twitter to someone can be challenging, and new users are bound to make mistakes. Virginia GOP chairman Jeff Frederick used twitter to ruin his party’s chances of luring a Democratic senator to [...]]]></description>
			<content:encoded><![CDATA[<p>We’ve been using twitter for a while and have helped a few of our clients get up and running. Explaining the concept of twitter to someone can be challenging, and new users are bound to make mistakes.</p>
<p><img class="alignnone" title="Frederick" src="http://blinktag.com/images/115e9dc5c90ebcddc25ac13be356cadf.png" alt="" width="339" height="97" /></p>
<p>Virginia GOP chairman Jeff Frederick used twitter to ruin his party’s chances of luring a Democratic senator to switch parties, shifting the balance of power with this tweet:</p>
<p><img class="alignleft" style="margin: 5px;" title="Tedisco" src="http://blinktag.com/images/8ca06c391a981b75bdd200e8e16c25ec.png" alt="" width="155" height="221" /><em>&#8220;Big news coming out of Senate: Apparently one dem is either switching or leaving the dem caucus. Negotiations for power sharing underway.&#8221;</em></p>
<p>Meanwhile, New York Republican Jim Tedisco used twitter to pull in nasty comments from his opposition directly to his website in real time. Tweets like:</p>
<p><em>&#8220;Will Tedisco Finally Reimburse Taxpayers Over $21,000 For His 20-Minute Car Ride?&#8221;</em></p>
<p>made it on his site.</p>
<p>Moral? Don’t use twitter to discuss secret negotiations and avoid publishing unfiltered tweets on your website if you have people that don’t like you.</p>
<p>[Thanks to <a href="http://dailykos.com">Daily Kos</a> and <a href="http://talkingpointsmemo.com">Talking Points Memo</a> for spotting these gems.]</p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/twitter-is-great-if-you-know-how-to-use-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
