<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Simple IP Geolocation Using Javascript and the Google AJAX Search API</title>
	<atom:link href="http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/</link>
	<description>Musings of a Balding 29 Year Old Business Owner</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:23:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-7008</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Mon, 28 Mar 2011 15:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-7008</guid>
		<description>Thanks for the insight Enrico.  Glad to hear it worked for you in Australia!</description>
		<content:encoded><![CDATA[<p>Thanks for the insight Enrico.  Glad to hear it worked for you in Australia!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enrico</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-7005</link>
		<dc:creator>Enrico</dc:creator>
		<pubDate>Mon, 28 Mar 2011 04:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-7005</guid>
		<description>I just found this link by googling for a client side solution to show country based notice messages.
The example page was very precise in locating my suburb in Sydney Australia. I don&#039;t think it&#039;s a US only feature, more likely that Roger is in the remaining 20% :) thanks for the example</description>
		<content:encoded><![CDATA[<p>I just found this link by googling for a client side solution to show country based notice messages.<br />
The example page was very precise in locating my suburb in Sydney Australia. I don&#8217;t think it&#8217;s a US only feature, more likely that Roger is in the remaining 20% <img src='http://www.adam-mcfarland.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks for the example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-6901</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Wed, 16 Feb 2011 20:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-6901</guid>
		<description>PS - I didn&#039;t go back and read the old comments before that post.  Interesting to see how my thoughts on HTML5 have changed a bit.  I think it depends on your application - most of the time you want to get permission from your users, in which case HTML5 is ideal and supported across more and more browsers, especially mobile browsers.  If you&#039;re doing something simple like showing a different piece of text on a page to different users (say changing an estimated shipping delivery date based upon distance), then it makes sense to use another solution like this JS or a database.</description>
		<content:encoded><![CDATA[<p>PS &#8211; I didn&#8217;t go back and read the old comments before that post.  Interesting to see how my thoughts on HTML5 have changed a bit.  I think it depends on your application &#8211; most of the time you want to get permission from your users, in which case HTML5 is ideal and supported across more and more browsers, especially mobile browsers.  If you&#8217;re doing something simple like showing a different piece of text on a page to different users (say changing an estimated shipping delivery date based upon distance), then it makes sense to use another solution like this JS or a database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-6900</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Wed, 16 Feb 2011 19:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-6900</guid>
		<description>Thanks for the follow-up Roger.  That&#039;s unfortunate.  It&#039;s certainly possible that it&#039;s a US only feature or that you have to do something differently to get it to work internationally.   I&#039;ve only tested it here in NY.  It&#039;s worked at multiple locations (home, work, etc). I haven&#039;t used it in production yet, and I&#039;m not sure I will with HTML5 geolocation available now.</description>
		<content:encoded><![CDATA[<p>Thanks for the follow-up Roger.  That&#8217;s unfortunate.  It&#8217;s certainly possible that it&#8217;s a US only feature or that you have to do something differently to get it to work internationally.   I&#8217;ve only tested it here in NY.  It&#8217;s worked at multiple locations (home, work, etc). I haven&#8217;t used it in production yet, and I&#8217;m not sure I will with HTML5 geolocation available now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-6899</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Wed, 16 Feb 2011 19:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-6899</guid>
		<description>Hello Adam,

Since my last message back in March, I have tried the demo on doezens of pcs using chrome and IE and every time I get the &quot;Google was not able to detect your location&quot; message :(

I was wondering, could it be an issue with me being in the UK?</description>
		<content:encoded><![CDATA[<p>Hello Adam,</p>
<p>Since my last message back in March, I have tried the demo on doezens of pcs using chrome and IE and every time I get the &#8220;Google was not able to detect your location&#8221; message <img src='http://www.adam-mcfarland.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I was wondering, could it be an issue with me being in the UK?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-6898</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Wed, 16 Feb 2011 19:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-6898</guid>
		<description>Hi Alex.  The demo is working for me.  For one reason or another Google can&#039;t get a location from your IP.  Try browsing from another location or on another network.</description>
		<content:encoded><![CDATA[<p>Hi Alex.  The demo is working for me.  For one reason or another Google can&#8217;t get a location from your IP.  Try browsing from another location or on another network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex l</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-6897</link>
		<dc:creator>Alex l</dc:creator>
		<pubDate>Wed, 16 Feb 2011 18:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-6897</guid>
		<description>I was not able to get your code to work?

the code keeped coming up with &quot;Google was not able to detect your location&quot;. Any ideas on why.
Also your demo and &quot;http://www.adam-mcfarland.net/demos/geolocation.php&quot; came up with the same display.

:/</description>
		<content:encoded><![CDATA[<p>I was not able to get your code to work?</p>
<p>the code keeped coming up with &#8220;Google was not able to detect your location&#8221;. Any ideas on why.<br />
Also your demo and &#8220;http://www.adam-mcfarland.net/demos/geolocation.php&#8221; came up with the same display.</p>
<p>:/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-4776</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Mon, 29 Mar 2010 17:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-4776</guid>
		<description>Was in a bit of a rush this morning when I wrote that comment.  I just fixed the syntax highlighting. 

I do agree that HTML 5 *could* solve the problem, but you&#039;re still likely going to need a backup for the people who don&#039;t enable it by default in their browser.  

One other thing about using GeoCity - performance when querying a huge info source like that can be a big deal.  If you&#039;re willing to utilize their binary format + API you can probably solve the problem, but if you just decide to install it as a massive MySQL database it will really slow down your server.  That&#039;s a much bigger downside to me (having any additional server load that you don&#039;t need) as opposed to it being slightly out dated.</description>
		<content:encoded><![CDATA[<p>Was in a bit of a rush this morning when I wrote that comment.  I just fixed the syntax highlighting. </p>
<p>I do agree that HTML 5 *could* solve the problem, but you&#8217;re still likely going to need a backup for the people who don&#8217;t enable it by default in their browser.  </p>
<p>One other thing about using GeoCity &#8211; performance when querying a huge info source like that can be a big deal.  If you&#8217;re willing to utilize their binary format + API you can probably solve the problem, but if you just decide to install it as a massive MySQL database it will really slow down your server.  That&#8217;s a much bigger downside to me (having any additional server load that you don&#8217;t need) as opposed to it being slightly out dated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McFarland</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-4775</link>
		<dc:creator>Adam McFarland</dc:creator>
		<pubDate>Mon, 29 Mar 2010 11:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-4775</guid>
		<description>Roger - 

Thanks for reading.  I think you&#039;re looking at something different - try the demo on my site http://www.adam-mcfarland.net/demos/geolocation.php  That works for me in every browser without Gears installed.

P.S - just noticed the syntax highlighting isn&#039;t working on the post, I&#039;ll fix that today...</description>
		<content:encoded><![CDATA[<p>Roger &#8211; </p>
<p>Thanks for reading.  I think you&#8217;re looking at something different &#8211; try the demo on my site <a href="http://www.adam-mcfarland.net/demos/geolocation.php" rel="nofollow">http://www.adam-mcfarland.net/demos/geolocation.php</a>  That works for me in every browser without Gears installed.</p>
<p>P.S &#8211; just noticed the syntax highlighting isn&#8217;t working on the post, I&#8217;ll fix that today&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.adam-mcfarland.net/2009/11/19/simple-ip-geolocation-using-javascript-and-the-google-ajax-search-api/comment-page-1/#comment-4773</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Mon, 29 Mar 2010 01:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.adam-mcfarland.net/?p=910#comment-4773</guid>
		<description>Hello Adam,

Thanks for the info about GeoLite City. However, I have been investigating the Google Geolocation API, and unfortunately it requires every user to have google gears installed and the geolocation gear enabled, therefore using this would greatly reduce the number of users you would have using your site.  I think a database, however out of date would support a greater number of users.  Hopefully soon this will be a moot point as I think it is the intention of HTML 5 Specification to encourage browser developers to have geolocation switched on by default.

Anyway, thanks for the info :)</description>
		<content:encoded><![CDATA[<p>Hello Adam,</p>
<p>Thanks for the info about GeoLite City. However, I have been investigating the Google Geolocation API, and unfortunately it requires every user to have google gears installed and the geolocation gear enabled, therefore using this would greatly reduce the number of users you would have using your site.  I think a database, however out of date would support a greater number of users.  Hopefully soon this will be a moot point as I think it is the intention of HTML 5 Specification to encourage browser developers to have geolocation switched on by default.</p>
<p>Anyway, thanks for the info <img src='http://www.adam-mcfarland.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

