<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Shady Project: Tag geonames</title>
    <link>http://blog.shadyproject.net/articles/tag/geonames?tag=geonames</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Stuff.  And Things.</description>
    <item>
      <title>Geonames Gem</title>
      <description>&lt;p&gt;The &lt;a href="http://code.google.com/p/ruby-geonames/"&gt;geonames ruby gem&lt;/a&gt; is a really useful piece of software that makes it super easy to query the &lt;a href="geonames.org"&gt;geonames&lt;/a&gt; web services.  I just used it in a distributed systems project (more on that later) and I found it to be great.  Today, however, in a fit of "oh-sweetjesus-the-server-is-down-before-my-demo" panic, I ended up purchasing some credits for the commercial geonames service, only to find that the geonames gem doesn't actually have the facility to use the paid service.  So I added the functionality myself.  It was actually pretty simple (the it only required changes to two files) and I think it could be used by more people then just myself who have a paid geonames account.&lt;/p&gt;

&lt;p&gt;The two patches are attached to this article, and also posted on the &lt;a href="http://code.google.com/p/ruby-geonames/issues/detail?id=6"&gt;issues page&lt;/a&gt; for the gem at google code.  &lt;/p&gt;

&lt;p&gt;I'm also working on adding support for the countryInfo webservice in the gem.&lt;/p&gt;

&lt;p&gt;Stay tuned.&lt;/p&gt;</description>
      <pubDate>Fri, 02 May 2008 20:30:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:21020afb-4f6a-4cd3-b159-7233ec138ed2</guid>
      <author>Shady</author>
      <link>http://blog.shadyproject.net/articles/2008/05/02/geonames-gem</link>
      <category>Ruby</category>
      <category>ruby</category>
      <category>gem</category>
      <category>geonames</category>
      <category>patch</category>
      <enclosure type="application/octet-stream" length="929" url="http://blog.shadyproject.net/files/patch_geonames-0.2.2_geonames.rb.patch"/>
    </item>
  </channel>
</rss>
