As for example, when we type define:HP
it gives all defintions of HP.
My problem is :
Using this API and Perl SOAP::Lite , i am not be able to pass query for
define functionality of google.
It gives me output of normal search query.
Will anyone can help me ?
komal
But if you search this group for "define" you will get similar posts.
See
http://groups.google.com/group/google.public.web-apis/browse_thread/thread/273a4d2db8998f8/c783e7257927cf02?lnk=gst&q=define&rnum=2#c783e7257927cf02
for one set of replies.
It seems the Google SOAP API still has not added in this functionality.
I expect it will come in the future.
The only thing you can therefore do is "screen scrape". This is
manually sending an HTTP request and parsing the output using regular
expressions. So for an HP search you would request the result of
http://www.google.co.uk/search?hl=en&q=define%3AHP&btnG=Google+Search
Then use regular expressions to find the definitions with the li tags.
The problem with this method is that it is far from robust. If Google
decided to change the HTML of it's define pages your program is likely
to break.