I believe it would be possible to display on my own custom page the search results of other websites. For example, if I type in "apples" on a form on my own website, it would put "apples" into both Google.com and Yahoo.com and then list a number of returned results (we'll say 10 for simplicity's sake).
How exactly would I go about this?
I figured I would have to take the query string from the form and add that to the appropriate URL depending on how each particular website does it, such as http://www.google.co...#hl=en&q=apples.
I would then take this longer URL and what I assumed would be using cURL to get the HTML response of the search and then use regular expressions to pull the data between certain tags (that would also vary depending on which site we were currently getting the results from).
Is this correct? Should I not be using cURL?
Is it even legal to have a website which will pull a response and display it on your own website without their permissions?
This post has been edited by Xioshin: 02 July 2009 - 01:47 PM

Start a new topic
Add Reply






MultiQuote
| 


