http://qs321.pair.com?node_id=89542


in reply to drawmap.pl - Spot The Monk!

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:

<monkmap generated="Tue Jun 19 03:40:43 2001 GMT" source="www.tinymicros.com/pm/monks.xml">

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

e-mail jcwren
  • Comment on (jcwren) Re: drawmap.pl - Spot The Monk! (XML Available)