danludwig/NGeo — pull request #1 by dotnetzebra (2012-07-23 14:15:13+00:00)
Title: added GeoNames postalCodeLookup & postalCodeCountryInfo

Added the functionality mentioned int he subject, because that's the functionality we need to use. I also tried to maintain the same coding style & included appropriate unit tests, based on the tests that were already there. I'm open to any feedback you might have.

We're implementing GeoNames at http://www.golfchannel.com/ to replace another less-robust API in our change location function, we're not using any of the Yahoo! APIs. To see it in action, go to the Golf Channel home page, scroll down to the weather block, and click the city name just above. Currently accepts US & Canadian zip codes. GeoNames/NGeo goes live Tuesday July 24 (tomorrow) to replace the existing broken functionality. The 1st guess at location is coming from the Akamai header, not GeoNames/NGeo. The block to the left of the weather, where we show an available tee time, takes lat/long, so in our case it's zip code in, lat/long & city name out.