Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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 drawmap.pl

Updates

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

In reply to drawmap.pl - Spot The Monk! by OeufMayo

Title:
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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-25 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found