views:

139

answers:

2

Currently, i have a google web search. If a user searches starbucks, I would only want to retrieve the company or product information, not some other weird links like blog pages, using javascript, is it possible to do so? if yes, how am i able to do it? Kind of a newbie in the data mining part..thanks!

Added my coding for download for clearer understanding : http://www.mediafire.com/?zzahzmmgnon

Edited for a new link, previous link was spoiled

A: 

This seems like a difficult task. Nothing is impossible, but this seems just to 'big' for JavaScript. (at least with my experience)

I would look into how Google shopping works.

Meiscooldude
would appreciate the help :D
cheesebunz
+1  A: 

Google, actually, does have AJAX search API, although it's not widely known yet. (and not very well documented either)
http://code.google.com/apis/ajaxsearch/

You may want to check local search. It retrieves list of places, like "Starbucks near Time Square, New York" on google maps, with all relevant information from street address to phone number.

It also has API for plain search, which can simplify your datamining a lot.

But if what you're looking for is Starbucks corporate data, you'd better to find some stock market feed or something like that. There's no direct way google can find and return, for example, CEO of whatever company you enter.

Nikita Rybak
i went to use the custom search API which allows me to filter out websites and pushing specific websites i want to the top, its definitely easier than using ajax search alone. Thanks for the help!
cheesebunz