Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

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

This morning I tried to retrieve a map with Map It! and it didn't work. So I immediately went to work on fixing it. It didn't take long to track down the culprit of the problem. MapBlast has changed some of their URLs and forms.

The section that needs repair is between the database disconnect and the navigate command.

$dbh->disconnect(); my $loc="http://www.mapblast.com/myblastd/"; # The following lines have been split for readability if ($custs == 1) { $loc .= "createmap.d?remLoc=&AD4=USA&AD2=$street[0]&AD3=$csz[0]&se +lCategory=defaultCat"; $loc .= "&AIR=&E=ahV-jzkx2zJTnrUik5NBcHnqHTIJdm9rZN79CtIrBAeeodMgl +2b2trt_Mb5tbZCurQrHm"; $loc .= "83mt5yY3TIJdm2q459bb9X6F5SaApdx6S6l3Zofcz0nes5mfbCtcyn59F +QfmUv2e-5PxKXpHqmMw"; } else { $loc .= "getdd.d?&mapstyle=line"; # mapstyles are line and standar +d for my $i (1..2){ $loc .= "&AIR_$i=&AD4_$i=USA"; # This needs to change if you are + outside the US of A } $loc .= "&AD2_1=$street[0]&AD3_1=$csz[0]&AD2_2=$street[1]&AD3_2=$c +sz[1]&E=ahV-jdmSnOx7r"; $loc .= "nOPutSKTk0FweeodMgl2b2tk3v0K0isEB56h0yCXZva2u34xvm1tkK6tC +sebzea3nJjdMgl2barjn1"; $loc .= "tv1foXlJoCl3HpLqXdmh9zPSd6zmZ9sK4FezjK6Rnv_T8Sl66uKef6l84 +m3m45ODtYxvz3m45ODswxvz"; } $loc .= "&x=67&y=11"; # What are these for? Any value seems to work + though $ie->Navigate($loc);

In reply to Re: Map It! by Mr. Muskrat
in thread Map It! by Mr. Muskrat

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: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found