(Im)Personal Old Stuff

Blog Administration

The requested page could not be found (404). This is the default page.

Rob A's (Im)personal Blog :: Google Map Plugin

Version 1.0 of my GoogleMap Sidebar Plugin is now ready!

World View with Text

This sidebar plugin[?] performs a rwhois lookup of the user connected, and plots that location using the Google Map API. Becuase it uses data in the whois database, the results are only as good as the data in there. If you wanted to purchase an IP to geolocation databse from a company like MaxMind and modify the lookup code.

Several options are available, including the title, map size, zoom level and map type (centered on the lookup or centered on the world view).

Simply drop the zip folder into your plugin directory, and ensure the web server has read access to the files. The custom icon used assumes that they are readable by the browser and located in http://[base_URL_of_your_blog]/plugins/serendipity_plugin_googlemap/ so if your plugins are in a different place or you rename the plugin directory the php code will have to be changed.

Because the Google Map API uses keys tied to a specific folder, this plugin checks the current URL and only displays when it thinks it is there. If using URL rewriting, this means it will only display on the base blog page, or any page where the URL used is the old index.php?serendipity[subpage]=pagename syntax.