Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

comment on

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

This script does basically what jcwren's infamous monkmap is doing, but isn't it cool to have a script like that on your own computer?

The version of this script requires a monks.xml file, listing all the monks coordinates. Thanks to jcwren, a daily updated XML file is now available at his site! Writing the script that grabs from the site XML is left as an exercise to the reader (the most lazy of you could probably try to convince me to post it too). Update: All the necessary files are now available for download (.tgz 2M).

If you like this node, be sure to ++ Corion's node too!

New! Daily updated pictures of the North American, Europe and World are available here

Caution, big pictures!

There's still some features to add, namely

  • Find a way to elegantly manage the overlapping names done!
  • Generate an Imagemap done!
  • The ability to dynamically zoom in/out in an area
  • Plenty of other things I'll think of in a few minutes

the up-to-date code is now located at the node


Fixed the text color, it's now really white
Added preview pics
v.0.02 : Now using Getopt::Mixed to parse the arguments, so much cleaner!
Added a bad attempt to fix the overlapping name problem
v.0.03 : A better way to avoid overlaps, thanks to Corion!
v.0.04 : An even better way to avoid overlaps and some changes in the logic, thanks again to Corion!
Moved to code to and added a link to the original XML file at
my $OeufMayo = new PerlMonger::Paris({http => ''});</kbd>

In reply to - 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 examining the Monastery: (4)
As of 2024-05-18 06:39 GMT
Find Nodes?
    Voting Booth?

    No recent polls found