Creates a dynamic KML file of book numbers and locations that were entered by visitors.
Enable the plugin by visiting the "Plugins" menu in WordPress and activating "Track The Book".
To display the link to access the Track The Book form, you would include the following code in your post: [trackthebook]Register my book[/trackthebook]
Or to include the link directly inside of your WordPress template, add the following code:
You must use a separate plugin to actually display an interactive map. Any plugin that is able to read KML files will work.
I have tested it in conjunction with the XML Google Maps WordPress plugin.
The normal KML address (http://your/wordpress/site/?view=trackthebook.kml) does not support filters and can also be cached by Google, which would prevent an updated map from displaying for several minutes.
The short code ([trackthebook_kml)] will dynamically insert an address similar to http://your/wordpress/site/?view=trackthebook.kml&book=&nocache= This is able to support filters and prevent caching.
If you are using the direct address to the KML file you may find that it is being cached, which prevents the map from updating immediately. In order to prevent the KML file from being cache you need to append a random code to the end of the KML address or use the shortcode [trackthebook_kml].
[trackthebook_kml] or http://your/wordpress/site/?view=trackthebook.kml&book=<?php echo $_GET['book']; ?>&nocache=<?php echo time(); ?>
Requires: 2.5 or higher
Compatible up to: 2.8.4
Last Updated: 2009-11-12
Active Installs: Less than 10
Got something to say? Need help?