Problem how to get more the 8 results in google api ajax search

3 views
Skip to first unread message

imran mughal

unread,
Jul 8, 2009, 12:52:20 PM7/8/09
to Google-AJAX...@googlegroups.com
i am using google ajax search and i used 

.setResultSetSize(google.search.Search.LARGE_RESULTSET);

to get maximum results it is showing 8 results but i need more then 8 result can any one help me in this regard its is urgent

"There is a maximum of 64 results returned for the Search APIs and there is no way to get more"

How can i avail this
--
Regards....
Imran

Ben Golden

unread,
Jul 8, 2009, 12:56:01 PM7/8/09
to Google-AJAX...@googlegroups.com
Imran,

LARGE_RESULTSET is the most you can do using the API directly. You can
however navigate through the multiple pages gathering as many results
as you want, and then put them into one page, or however you want them
arranged.

Jeremy Geerdes wrote a little tutorial on how to do this a while back,
you can check it out on his blog at:

http://jgeerdes.blogspot.com/2008/12/how-to-get-all-results-available-from.html

Ben
--
Bravery is not the lack of fear, but the choice to act in spite of it.

imran mughal

unread,
Jul 8, 2009, 1:32:30 PM7/8/09
to Google-AJAX...@googlegroups.com
thanx for helping me 

Can u send me just code for that because this post is a little confussing

Ben Golden

unread,
Jul 8, 2009, 2:49:08 PM7/8/09
to Google-AJAX...@googlegroups.com
Try this link, this is Jeremy's code in action, just view the source
to see the actual code.

http://jgeerdes.home.mchsi.com/playground/getAllResultsFromJSAPI.html

On Wed, Jul 8, 2009 at 11:32 AM, imran mughal<vuim...@gmail.com> wrote:
> thanx for helping me
> Can u send me just code for that because this post is a little confussing
> >
>



badnews

unread,
Jul 9, 2009, 12:12:38 AM7/9/09
to Google AJAX APIs
Reply all
Reply to author
Forward
0 new messages