Getting url
Jim Ault
jimaultwins at yahoo.com
Tue Nov 17 20:50:36 EST 2009
Without doing any specific research, I would guess that you are
accessing a dynamically updated page, such that the first <html>...</
html> block received by Rev is just the basic info sent by the map
server. As the page is downloaded, commands are issued to get more
info, and the browser continues to fill in details.
The quickest way that I know of is to try a different service that
does not use a 'progressive download' technique. Otherwise you will
need to use a browser that fills the page, then get the info from the
browser DOM or javascript variables. On a Mac, you could use Safari
and Applescript... but this is very messy. Far too much hassle for a
bit of info.
Try mapquest, or AAA, or even USPS zip lookup.
Hope this helps.
Jim Ault
Las Vegas
On Nov 17, 2009, at 11:58 AM, James Hurley wrote:
> I am trying to do address verification.
>
> For example, the county DB lists the following two address
>
> 10187 Grinding Rock Dr [tab] Grass Valley CA 95945
> and also
> 10187 Grinding Rock Dr [tab] Grass Valley CA 95949
>
> I want to find out (programatically) if the zip should be 95945 or
> 95949
>
> So here is my dillema:
>
> When I do a Google search for the 95945 zip code address I get a
> page that tells me that the zip code should be 95949
>
> When I compare the source code of this page with the RunRev result
> from the following:
>
> get url "http://www.google.com/search?q=10187%20Grinding%20Rock%20Dr%09Grass%20Valley,%20CA%2095945
> "
>
> The value of "it" is not the same as the source code of the Google
> search page. Not even close.
>
> What am I missing?
More information about the use-livecode
mailing list