The API will only return results in sets of 8, but you can get up to 8 sets of 8 for a total of up to 64 results. Check out my blog entry about how you can get all of these results sequentially at the link below. Make sure to read the comments, too, as there's a critical bug fix in there.
http://jgeerdes.blogspot.com/2008/12/how-to-get-all-results-available-from.html Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Aug 13, 2009, at 5:18 AM, obo jo wrote: > > i have trouble getting more then 8 results with the gWebSearch. > > even tho i placed this code: > > gWebSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET); > > when i try to loop over the results i only get 8 > > for (var i = 0; i < gWebSearch.results.length; i++) > > so what i wanna do is to find a way to get like 50 results, or if it > cant be done, do get results starting from a variable, so i can get it > all 8 by 8. > > thank you very much for helping me. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
