Problem with put URL and websites

Scott Rossi scott at tactilemedia.com
Thu Apr 17 00:45:37 EDT 2008


It appears that MapQuest is relying on some kind of JavaScript component
that it's not finding when retrieving the URL from within Revolution which,
if correct, is why you're getting empty data between the tags.

I would continue experimenting with RevBrowser, but otherwise you may have
to find a different mapping service.  I briefly looked at maps.google.com
The basic service didn't seem to offer ZIP-code-based directions, but I
didn't dig very deep.  There might be some alternative service/setting
buried there.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


Recently, Fred moyer wrote:

> Based on replies I have received (thanks for them) I don't think I
> explained the situation properly. Let me try again: Until a month
> ago, I was able to retrieve the drive time between two zip codes by
> using (for example):
> 
>     put "http://www.mapquest.com/maps/01778/03861/" into bunchofText
> 
> Up until about a month ago, bunchofText would contain (for example):
> 
>     Total Estimated Time: 1 hour 35 minutes
> 
> Therefore, it was a simple matter of using offset("Total Estimated
> Time:", bunchofText) to retrieve the drive time between two zip codes.
> 
> Then, suddenly my script didn't work. Using Variable Watcher I found
> that bunchofText now contains some mysterious code. It now looks like
> this:
> 
>     Total Estimated Time: <span class="timeSpan" id="dirTimeSummary"></
> span>
> 
> Obviously, I now can't retrieve the drive time. Does anyone have any
> ideas what I should do?





More information about the use-livecode mailing list