Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mileage distance calculation

Status
Not open for further replies.

aztarac

Programmer
Jan 31, 2007
6
GB
Hi all,

I'm a newbie learnig ASP :(

I need to somehow need to calculate the distance in miles between two cities.

I thought that I could get my ASP code to enter the cities and states into Mapquest and the read the mileage from the response page from mapquest....but I'm not sure how I can do this.
Can I 'load' and use the input element's 'name's somehow on the Mapquest's homepage and then 'submit' from my ASP code. Then somehow search the source of the response page with the answer?
If this is possible How can I do this?

Or is there some other site/method to get this info.
 
Yes, you can do this. It's called "scraping", and if you do a search on that term either here or in Google, you'll find lots of help with it.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top