Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: NoXML Google Search API - Premature end of file

by perlmonkey2 (Beadle)
on Aug 23, 2006 at 19:37 UTC ( #569190=note: print w/ replies, xml ) Need Help??


in reply to NoXML Google Search API - Premature end of file

I didn't find the problem in the code. But you might want to rethink SOAP::Lite

use SOAP::Lite; my $google_search = SOAP::Lite->service("file:$google_wdsl"); my $results = $google_search -> doGoogleSearch( $google_key, $query, $current_page*10, 10, "fa +lse", "", "false", "","",""); foreach my $result (@{$results->{resultElements}}) { #do as you will with the results. }
Doesn't get a whole lot easier than that.


Comment on Re: NoXML Google Search API - Premature end of file
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://569190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2014-11-27 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls