yesterday i updated the wordpress plugins on our d2h.net and xyzzyxyzzy.net blogs. once done, both blogs would not work anymore...duh! the updated geopress plugin was borked
--- or so it seemed...
...it turned out that i had added code to the earlier version of geopress to do pretty printing of coordinates, and, of course, the update flushed that code down the drain. thanks to a regular backup running on our web server, however, that code was not gone forever. here are the functions that i added:
the_geo_coord() gets the coordinates via geopress's the_coord() function and simply substitutes commas for spaces.
likewise,
takes geopress's the_coord() and pretty-prints it as human readable "old-style" latitute--longitude coordinates. the_geo_coord_esc() finally, produces a URL escaped longitude--latitude coordinate for use inside a, well, URL:
just add those PHP functions to geopress/geopress.php, shake, stir, and save.
