How to Add Geo Data to Your Blog Posts

Adam DuVander
Jul. 06 2009, 12:20AM EDT

Planning to blog your vacation? Why not geocode your blog posts, so that you can let visitors know where you are? That's the idea behind a new tool for WordPress that uses Placemaker (our Placemaker API profile) to find a location from a body of text. When we covered Placemaker's launch we mentioned its usefulness for geocoding others' blog posts, as well as newspaper articles. With the WordPress plugin, you can do the work ahead of time, but without trying to determine your exact coordinates.

WordPress Geo Button

The tool, announced on the Yahoo Developer blog uses a Firefox Greasemonkey script to embed a "geo this" button within the WordPress admin screen. Click the button and it makes a YQL call to Placemaker, sending along the contents of your post. Upon returning, it embeds the results in the Geo microformat, so the location can be recognized.

If you're looking for something a little more hands on, be sure to check out GeoPress, a plugin for WordPress that uses Skyhook's WiFi data to attempt to determine your current location.

This blogging tool along with the GeoMaker app we highlighted last week show the increasingly diverse ways that geo APIs like Placemaker can be put to use.

Adam DuVander Hi! I'm Developer Communications Director for SendGrid and former Executive Editor of ProgrammableWeb. I currently serve as a Contributing Editor. If you have API news, or are interested in writing for ProgrammableWeb, please contact editor@programmableweb.com Though I'm a fan of anything API-related, my particular interest is in mapping. I've published a how-to book, Map Scripting 101, to get anyone started making maps on websites. In a not-so-distant past life I wrote for Wired and Webmonkey.

Comments

Comments(1)