Using worldKit with WordPress
-
Mikel Maron’s worldKit is a free and fully customizable Flash application that maps out your post locations by extracting your geourl data (assuming you’ve been entering them into your posts) and plots them on a super dope looking map (which you can also customize) with hover over text boxes which contain excerpts from your rss feed and link to your archived entry. You can see an example here. Make sure to click on the links to the right to see how the same rss feed can be plotted on several different maps.
Here’s how to do it:- Download worldKit
- Unzip the folder where you want the map to reside. I chose “wp-root-directory/wp-worldkit.”
- Open the file “config.xml” and change the
<dataurl>
from “rss.xml” to “https://wp-root-directory/feed/rss2/” (NOTE: do not include quotation marks) - Save “config.xml” and upload the entire worldkit directory to your server
- Open “wp-rss2.php” in your WordPress root directory
- On line 30, in the rss declaration, add
xmlns:icbm="https://postneo.com/icbm/"
afterxmlns:content="https://purl.org/rss/1.0/modules/content/"
- Lines 30 – 32 should therefore look like:
<rss version="2.0"
xmlns:content="https://purl.org/rss/1.0/modules/content/"
xmlns:icbm="https://postneo.com/icbm/"> - Then, below, in the
<item>
section, underneath, put the following two lines of code:
<icbm:latitude><?php echo get_Lat(); ?></icbm:latitude>
<icbm:longitude><?php echo get_Lon(); ?></icbm:longitude> - Save “wp-rss2.php” and upload it to your server. That’s it.
Check out the worldKit website for more information about how to configure your map and the “index.html” file which displays the map. And please consider dropping Mikel some paypal change for making such a great application free. Also, looks like some phat upgrades are in store.
- The topic ‘Using worldKit with WordPress’ is closed to new replies.