<?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>Managing Tech &#187; javascript</title>
	<atom:link href="http://www.rndguy.ca/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rndguy.ca</link>
	<description></description>
	<lastBuildDate>Wed, 02 Nov 2011 12:11:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Javascript Reverse Geo options (that work outside the US)</title>
		<link>http://www.rndguy.ca/2011/01/04/javascript-reverse-geo-options-that-work-outside-the-us/</link>
		<comments>http://www.rndguy.ca/2011/01/04/javascript-reverse-geo-options-that-work-outside-the-us/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 17:38:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[yahoo placefinder]]></category>

		<guid isPermaLink="false">http://www.rndguy.ca/?p=173</guid>
		<description><![CDATA[A HTML5 mobile app that I was working needed to get the city and province (ie state for you non-Canadians) that the user was in. Using the HTML5 geolocation method made it easy to get the latitude and longitude. But the missing piece was how to translate that into city, county (if applicable) and province/state. [...]]]></description>
			<content:encoded><![CDATA[<p>A HTML5 mobile app that I was working needed to get the city and province (ie state for you non-Canadians) that the user was in.  Using the HTML5 geolocation method made it easy to get the latitude and longitude. But the missing piece was how to translate that into city, county (if applicable) and province/state.</p>
<p><a href="http://code.google.com/apis/maps/documentation/javascript/">Google maps</a> is the defacto solution in the geolocation space. But their API include a term that requires you to display their map as one of the conditions of using their API (see <a href="http://code.google.com/apis/maps/terms.html">terms of service</a>). This works for some apps but not always (and not in my case).</p>
<p><a href="http://simplegeo.com/">SimpleGeo</a> is another popular option.  What it has going for it is that there are very few restrictions and the API is very easy to implement.  I was able to have code working in less than 30 minutes.  The problem is that the data is really only good for locations in the US.  If that works for your app, definitely take a look at this. When I tried it with some Canadian locations, there were gaps in the results and some were just wrong.  Now to be fair, SimpleGeo is still in beta and maybe somewhere down the line, they will have better support for data outside the USA.  Note, when using simplegeo, remember to allow either &#8216;*&#8217; or  localhost in the admin panel if you will be testing from your own machine or a mobile  phone.  The default is just &#8216;simplegeo.com&#8217; which will cause your API calls to be rejected.</p>
<p>The only other reasonable option left was Yahoo&#8217;s <a href="http://developer.yahoo.com/geo/placefinder/">Placefinder API</a>.  Now, at first I didn&#8217;t expect Yahoo to have something that would be of use.  They has been getting getting a trashing over the last year in the press.   But as I started to look at the API, I realized that&#8217;s actually pretty powerful.  And it seems to have good support for outside the United States.  Definitely the data that I&#8217;ve tried for Canada has been very good.  One thing to note is that Yahoo only allows 10K requests per day per app.  If you need more than this, you need to contact them and work out an agreement.</p>
<p>The API is pretty straightforward to implement as its a simple HTTP GET.  You can give it a latitude and longitude that you got from the HTML5 geolocation method and Yahoo will return all sorts of useful data about the location.</p>
<p>If you want to give the API a quick try, take a look at <a href="http://isithackday.com/geoplanet-explorer/">GeoPlanet Explorer</a> web interface created by one of their ex-Developer Evangelists.  In the &#8216;drilldown&#8217; mode, locations are organized as a tree and the UI lets you see things like a locations parents (ie province &amp; country) and it neighbours.</p>
<p>Have geocoding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rndguy.ca/2011/01/04/javascript-reverse-geo-options-that-work-outside-the-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New version of jQuery released &#8211; even faster</title>
		<link>http://www.rndguy.ca/2010/02/22/new-version-of-jquery-released-even-faster/</link>
		<comments>http://www.rndguy.ca/2010/02/22/new-version-of-jquery-released-even-faster/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:59:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://rndguy.ca/?p=76</guid>
		<description><![CDATA[On the weekend, a new version of jQuery was relesed (1.4.2).  What was already a good library has been optimized and runs even faster.  Those that make heavy use of the library might want to try and upgrade.  And obviously, any new projects should start with the latest version.]]></description>
			<content:encoded><![CDATA[<p>On the weekend, a new version of jQuery was relesed (1.4.2).  What was already a good library has been optimized and runs even faster.  Those that make heavy use of the library might want to try and upgrade.  And obviously, any new projects should start with the latest version.</p>
<p>http://ajaxian.com/archives/jquery-1-4-2-performance-and-a-few-apis</p>
<p>If you are currently using the 1.3.x version and want to know what&#8217;s changed in 1.4.x</p>
<p>http://jquery14.com/day-01/jquery-14</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rndguy.ca/2010/02/22/new-version-of-jquery-released-even-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

