I will repeat my contention that the provider has either reformatted their output to your browser or you are not getting the same page somehow.
<span class="timeSpan" id="dirTimeSummary"></span> looks like it should have a text string just before </span> thus it appears that the data you want is missing. Further examination: When I use your url to get the page in a browser, there is a delay before the page appears, this version has no Estimated time, then a refresh occurs and the time now appears. My guess is that the server has changed the way it serves the page and you will likely need to put a wait into your script. Actually, this might mean cannot simply do "put url HTTP into tVar" since it looks like you are being sent a preliminary version with advertising, then the final version. How much work do you want to do to get the Estimated time? Jim Ault Las Vegas On 4/16/08 8:55 PM, "Fred moyer" <[EMAIL PROTECTED]> 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? Incidentally, I have tried using revBrowser. > But when I use the following script: > > on mouseup > put the windowid of this stack into tWinID > put "http://www.mapquest.com/maps/01778/03861/" into tAddress > put revBrowserOpen(tWinID,tAddress) into tBrowserID > revBrowserSet tBrowserID, "showborder","true" > revBrowserSet tBrowserID, "rect",rect of img "browserimage" > put revBrowserGet(tBrowserID,"htmltext") > end mouseup > > Revolution crashes > > Any suggestions/help would be most appreciated! > > Thanks > Fred Moyer > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
