<?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; youtube</title>
	<atom:link href="http://blinktag.com/tag/youtube/feed/" rel="self" type="application/rss+xml" />
	<link>http://blinktag.com</link>
	<description></description>
	<lastBuildDate>Tue, 01 May 2012 22:43:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</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/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 colorbox-787" /></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>MyAmericanHealthcareStory.org posts serious videos on Healthcare (and some funny ones too)</title>
		<link>http://blinktag.com/myamericanhealthcarestory-org/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=myamericanhealthcarestory-org</link>
		<comments>http://blinktag.com/myamericanhealthcarestory-org/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 02:20:42 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[healthcare]]></category>
		<category><![CDATA[myamericanhealthcarestory]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vimeo]]></category>
		<category><![CDATA[volunteer]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blnktag.com/?p=518</guid>
		<description><![CDATA[As a volunteer effort, Blinktag Inc has been involved with building the website for myamericanhealthcarestory.org. (read more on our project page) Its a site where Americans can share their personal stories about the American healthcare system in video format. We&#8217;ve gotten over 100 video submissions and more are submitted every day. It was fun working [...]]]></description>
			<content:encoded><![CDATA[<p>As a volunteer effort, Blinktag Inc has been involved with building the website for <a href="http://myamericanhealthcarestory.org">myamericanhealthcarestory.org</a>.  (read more <a href="http://blinktag.com/projects/myamericanhealthcarestory-org/">on our project page</a>)  Its a site where Americans can share their personal stories about the American healthcare system in video format.  We&#8217;ve gotten over 100 video submissions and more are submitted every day.</p>
<p>It was fun working with a great team of volunteers to launch an awesome site on a short timeframe.  Its the most video-focused site we&#8217;ve worked on to date.</p>
<p>The team recently posted a few funny videos highlighting the serious topic of healthcare reform:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zfDlhel7FiA&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zfDlhel7FiA&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/OeAP-fdv_BA&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OeAP-fdv_BA&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Nsn5VAWnttY&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Nsn5VAWnttY&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/b7k2rUM25fY&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/b7k2rUM25fY&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/myamericanhealthcarestory-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the internets is the future</title>
		<link>http://blinktag.com/the-internets-is-the-future/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-internets-is-the-future</link>
		<comments>http://blinktag.com/the-internets-is-the-future/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 11:09:42 +0000</pubDate>
		<dc:creator>Jed Horne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blnktag.com/?p=230</guid>
		<description><![CDATA[This has been making the rounds on all the blogs, but it’s still kind of funny. I like this guy, who debuts around a minute thirty into the report.  I haz home computer too.]]></description>
			<content:encoded><![CDATA[<p>This has been making the rounds on all the blogs, but it’s still kind of funny.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/5WCTn4FljUQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/5WCTn4FljUQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>I like <a href="http://blinktag.com/images/8829bf544e1f6e56cca2728786baa716.png">this guy</a>, who debuts around a minute thirty into the report.  I haz home computer too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/the-internets-is-the-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 15/25 queries in 0.018 seconds using disk: basic

Served from: blinktag.com @ 2012-05-23 00:55:00 -->
