Problem with put URL and websites

David Bovill david at openpartnership.net
Thu Apr 17 04:32:15 EDT 2008


Fred - I'd agree with Scott and look at doing this with a supported API
rather than screen scraping. Downaside is you need to understand the API -
upside is there are lots of people who can help on various lists and the
API's are relatively stable as the big boys try not to break them as
developers depend on them. With Screen Scraping you are at the mercy of the
graphic designer.

I have not done much with the Google Maps API and Rev - but a quick loo
indicated it should be possible:

   -
   http://code.google.com/apis/maps/documentation/reference.html#GDirections(getDuration())
   - http://www.mercatorgeosystems.com/content/view/33/1/ (seem to have a
   free API)
   - http://www.tufat.com/docs/distance/ (an app done in php using Google
   API?)

I have found the yahoo Maps API much easier for a Rev app to call - at least
for geocoding (http://developer.yahoo.com/maps/rest/V1/geocode.html), but as
of yet I have not figured out how to use Google Maps except to create web
pages with javascript - this would mean creating a web page that produces a
simple drive time table and fetching the url to this page in Rev.

Hope this is useful and llet us know how you get on!



More information about the use-livecode mailing list