Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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 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="">

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.


e-mail jcwren

In reply to (jcwren) Re: - Spot The Monk! (XML Available) by jcwren
in thread - Spot The Monk! by OeufMayo

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-05-26 05:59 GMT
Find Nodes?
    Voting Booth?

    No recent polls found