|There's more than one way to do things|
I've added a cronjob entry that creates a monks.xml from the stats database every night around 03:30 EST/EDT.
The URL is www.tinymicros.com/pm/monks.xml. This file is generated immediately after the stats run, which can take as long as half an hour to complete.
I modified one item in the format. The opening <monkmap> tag contains the GMT date the file was generated, and the originating URL. Example:
I think I got the format correct, but I'm not sure of all the characters that should be escaped or not. If you find a problem with it, please let me know. I do know that the XML view in IE didn't whine about it, for whatever that's worth.
If you have a program that uses this data, please consider cacheing it locally, and updating it around 05:00 EST/EDT. This will help reduce traffic on the IDSL line.--Chris
In reply to (jcwren) Re: drawmap.pl - Spot The Monk! (XML Available)