Archive for December, 2009

JSON + Zip Code + $0 = How Much Info?

December 8th, 2009

JSON zipcode data
Armed with a budget of $0, I decided to spend an hour or two last night trying to accumulate as much data as possible using only a zip code, a static HTML page, and some javascript. Not a single dollar was spent, nor a single image created. The page is up here.

I’m sure I’ll add to this project as I find more free data sources, but so far I have:

  • Location Name
  • Lat/Lng of Zip Center
  • Weather Info
  • Forecast Data (4 day)
  • Recent Earthquakes within 100 miles
  • Local Wiki Entries (5)

If you have any XML or JSON data source suggestions that take LAT/LNG or Zip Code as parameters, email me at christopher[ at ] and I’ll add them to the page.

Web Code, Work

New Ant Script for Firefox Add Ons

December 2nd, 2009

apache ant firefox add on
After trying a half dozen different methods for building Firefox add-ons, I have settled on a single ant script I put together. The following ant script (build.xml file) will create a directory, copy all files into it, delete irrelevant files, zip up the file, name it with an .xpi extension, and delete the temporary folder it made to do all of this. Read more…

Browsers, Web Code