<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: geoip</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/geoip.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2010-11-09T09:36:00+00:00</updated><author><name>Simon Willison</name></author><entry><title>Building a GeoIP server with ZeroMQ</title><link href="https://simonwillison.net/2010/Nov/9/geoip/#atom-tag" rel="alternate"/><published>2010-11-09T09:36:00+00:00</published><updated>2010-11-09T09:36:00+00:00</updated><id>https://simonwillison.net/2010/Nov/9/geoip/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://bohlander.posterous.com/building-a-geoip-server-with-zeromq"&gt;Building a GeoIP server with ZeroMQ&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
ZeroMQ makes it trivially easy to write a network service in raw C that makes functionality from a C library (in this case the MaxMind GeoIP library) available to clients written in many different client languages.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/c"&gt;c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/geoip"&gt;geoip&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/zeromq"&gt;zeromq&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/recovered"&gt;recovered&lt;/a&gt;&lt;/p&gt;



</summary><category term="c"/><category term="geoip"/><category term="zeromq"/><category term="recovered"/></entry><entry><title>YouTube Enables Deep Linking Within Videos</title><link href="https://simonwillison.net/2008/Oct/26/youtube/#atom-tag" rel="alternate"/><published>2008-10-26T08:28:34+00:00</published><updated>2008-10-26T08:28:34+00:00</updated><id>https://simonwillison.net/2008/Oct/26/youtube/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.techcrunch.com/2008/10/25/youtube-enables-deep-linking-within-videos/"&gt;YouTube Enables Deep Linking Within Videos&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Add #t=1m45s to the end of a YouTube URL to jump to that spot. I’d be a lot more impressed by this if visiting a YouTube link in the UK didn’t use IP geo targetting to redirect me to uk.youtube.com, losing the fragment identifier and hence the #t specifier in the process.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/broken"&gt;broken&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/fragments"&gt;fragments&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/geoip"&gt;geoip&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/urls"&gt;urls&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/youtube"&gt;youtube&lt;/a&gt;&lt;/p&gt;



</summary><category term="broken"/><category term="fragments"/><category term="geoip"/><category term="urls"/><category term="youtube"/></entry><entry><title>Howto: Google Maps Street View outside US</title><link href="https://simonwillison.net/2007/May/30/howto/#atom-tag" rel="alternate"/><published>2007-05-30T07:40:46+00:00</published><updated>2007-05-30T07:40:46+00:00</updated><id>https://simonwillison.net/2007/May/30/howto/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://favdiggs.blogspot.com/2007/05/howto-google-maps-street-view-outside.html"&gt;Howto: Google Maps Street View outside US&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Add “&amp;amp;gl=us” at the end of the URL to avoid the evil geo IP restriction and play with Google’s latest toy.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/geoip"&gt;geoip&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/google"&gt;google&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/google-maps"&gt;google-maps&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/streetview"&gt;streetview&lt;/a&gt;&lt;/p&gt;



</summary><category term="geoip"/><category term="google"/><category term="google-maps"/><category term="streetview"/></entry><entry><title>geoIP</title><link href="https://simonwillison.net/2002/Sep/6/geoIP/#atom-tag" rel="alternate"/><published>2002-09-06T00:44:11+00:00</published><updated>2002-09-06T00:44:11+00:00</updated><id>https://simonwillison.net/2002/Sep/6/geoIP/#atom-tag</id><summary type="html">
    &lt;p&gt;Adrian Holovaty in a &lt;a href="http://www.aquarionics.com/misc/archives/blogite/0048.html"&gt;blogite thread&lt;/a&gt; about features that can be added to blogs:&lt;/p&gt;
&lt;blockquote cite="http://www.aquarionics.com/misc/archives/blogite/0048.html"&gt;&lt;p&gt;Change the time zone. I've noticed a lot of blogs don't specify which time
zone they're in, which pretty much makes the timestamp meaningless. I put
"EST" on mine, and my about page explains my time zone further, but I think
it would be convenient for the users to convert the times to their own
zones. I did this in JavaScript on one of my old sites, but I'd rather do it
on the server side for accessibility's sake.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This got me thinking about how best to "guess" a user's timezone. A search on Google for "country ip address" turned up &lt;a href="http://www.maxmind.com/"&gt;GeoIP&lt;/a&gt;, an impressive looking open-source based database for looking up countries by IP address. The database updated yearly is free, while monthly updates can be had for a very reasonable $150 annual subscription.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/adrian-holovaty"&gt;adrian-holovaty&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/geoip"&gt;geoip&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="adrian-holovaty"/><category term="geoip"/></entry></feed>