Computing.Net > Forums > Web Development > Database Query

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Database Query

Reply to Message Icon

Name: Bungle
Date: October 23, 2006 at 07:13:16 Pacific
OS: XP
CPU/Ram: Unknown
Product: Compaq
Comment:

Hi there

A friend of mine has put forward a question to me, is it possible to have a webpage built that will search users queries in another website eg: I build a webpage selling Number Plates that searches availability on DVLA site then returns the results on our webpage? Also, is it legal, seeing as the purchase will be made through the DVLA?

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: October 23, 2006 at 08:40:06 Pacific
Reply:

"is it possible to have a webpage built that will search users queries in another website"

Yes, it is possible. The site *may* have a web service that allows you to do this (e.g. you send a request with the search parameters and the web service returns the results). If it doesn't, you could use a technique called "screen scraping". Basically you programming sends a request as if you were on their site and entered the search criteria. The response (HTML page) is interpreted by the programming and it pulls out the data you want.

There are a few problems with screen scraping. 1) If the site changes the method in which it displays search results it will most likely break your page and you will have to go back and recode. 2) There are ways for sites to prevent others from screen scraping their sites. 3) Legality. I'm not 100% sure, but depending upon where you live and the terms of the DVLA site it could be illegal.

If the actual sales will be done through their site you could ask them about this. If they don't already have a web service, they may create one if they feel it would benefit them. Or, you could at least ask for permission to screen scrape their site.

Michael J


0

Response Number 2
Name: Bungle
Date: October 23, 2006 at 10:46:10 Pacific
Reply:

Fantastic - many thanks for such a great answer


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Database Query

SQL database design question www.computing.net/answers/webdevel/sql-database-design-question/1881.html

Last Updated www.computing.net/answers/webdevel/last-updated/1658.html

Mysql /php how do I retrive data www.computing.net/answers/webdevel/mysql-php-how-do-i-retrive-data/61.html