>>> WARNING: this appears to not work with WordPress 2.0. I’ll work up a fix soon. < <<
I’ve whacked together a quick WordPress plugin that integrates the comments system with a Google Map. Sites like Frappr, that allow you to create a map and invite people to put themselves on it, are all the rage these days. Frappr’s a great tool, but it’s not integrated with your own site, and the ability to customize the look and feel is limited (if not nonexistent). So, please welcome GeoComments! One scenario I envision GeoComments being used in is on a page titled something like “Reader locations”, where readers of a weblog can add themselves to the map.
Posts and Pages
GeoComments provides additional fields for the comment form on WordPress Posts or Pages that collect information from a user that can be converted into a latitude and longitude acceptable for creating a point on the map. You can see the plugin in action on this page. Due to some limitations in WordPress, the integration with the Page functionality is practically non-existent. The plugin as it is today works only with normal posts. I think all that remains to make it work with a Page is to create a new page template, but this means that it is no longer just a drop-in plugin, and instead requires tweaking of the theme.
I’m releasing GeoComments under the GPL. That should be good enough for most purposes. If you don’t like that, please let me know and I’m sure we can work something out. I’m really only choosing the GPL by default; I’m not knowledgeable enough about licenses to really care. As long as nobody steals my stuff to pass of as their own, I’m a happy camper.
The bleeding-edge stuff (and let’s face it, this thing is only within a hair’s breadth of the bleeding edge) is available in my Subversion repository. If you want to play with the most recent changes or contribute your own, this is the place to start.
the latest “released” version—1.0
(for some definition of “release”, anyway…)
If I don’t make a 1.0 release now, it’ll never get there. Version 1.1, 2.0 or 3.14159 will hopefully add Page support. Get 1.0 here. There’s a README in there that should be sufficient to get you going. If not, leave a comment!