English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I make a program that displays the top 10 results of any search from Google, Yahoo and MSN.com all at once, on one page, using C++? Will it be easier on any other programming language? full credited rewarded to compreensive answer!

2006-08-09 20:25:37 · 3 answers · asked by Justcurious 2 in Computers & Internet Programming & Design

3 answers

Do you want this to be a website or a desktop program? If it's a website, you could easily make a CGI script with HTML form inputs to output three frames with one set of results in each one. You'd have to look at the URLs of each search engine to find out how queries are formatted (like Google does their queries with a cgi program named search, that takes as its string parameter a variable named q; example: http://www.google.com/search?q=search+string ), and learn HTML. I suggest Python for writing the script, because C++ seems like overkill. Anything but a web page and a CGI script for this would be overkill IMHO unless you were writing a browser extension or something. Good luck!

2006-08-09 21:23:26 · answer #1 · answered by anonymous 7 · 0 0

I'd just write a perl script which went to each search engine and grab the results and parsed it. I believe each service has an API, but I'd think it would be easier to parse the html.

2006-08-09 21:23:24 · answer #2 · answered by To Be Free 4 · 0 0

Check the "developer" section in this sites and they'll usually give you their APIs

2006-08-09 22:23:02 · answer #3 · answered by Nestor 4 · 0 0

fedest.com, questions and answers