Basically I am trying to get 16 results by
gLocalSearch.gotoPage(1);
gSearchForm.execute("italian restaurants in san diego ");
gLocalSearch.gotoPage(2);
gSearchForm.execute("italian restaurants in san diego ");
And merge the 2 results
On Nov 29, 7:54 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:
> You can find the gotoPage functionality used here:
>
> http://www.google.com/uds/samples/apidocs/raw-searchers.html
>
> You may find it more helpful, however, to search the Group archives.
> Particularly, the following link will probably clarify things pretty
> well. Note, particularly, my post:
>
> http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/t...
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.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!
>
> On Nov 29, 2008, at 9:19 PM, Rossy wrote:
>
>
>
> > Thank you Jeremy,
> > Do you know any good example on the web for using gotoPage();
>
> > Thanks,
> > Ross
>
> > On Nov 29, 6:16 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:
> >> Try using
> >> gLocalSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET);
> >> to increase the size of the resultset from 4 to 8. For the second
> >> question, you can access up to 64 results for most searchers (only 32
> >> results with LocalSearch, 8 with BlogSearch) in blocks of 8 by using
> >> the searcher's gotoPage method, as below:
>
> >> gLocalSearch.gotoPage(3);
>
> >> Jeremy R. Geerdes
> >> Effective website design & development
> >> Des Moines, IA
>
> >> For more information or a project quote:http://
> >> jgeerdes.home.mchsi.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!
>
> >> On Nov 29, 2008, at 7:26 PM, Rossy wrote:
>
> >>> Hi,
> >>> I have the following onload function. I know how to change the
> >>> number
> >>> of results to large using the searcher method but now sure how to
> >>> get
> >>> 8 results instead of 4 using the following searchform feature.
> >>> My second question is that is there anyway of accessing and storing
> >>> more than 8 results in the result set without using the draw option.
>
> >>> function OnLoad() {
>
> >>> gSearchForm = new google.search.SearchForm(false,
> >>> document.getElementById("searchform"));
> >>> gSearchForm.setOnSubmitCallback(null, CaptureForm);
> >>> gSearchForm.input.focus();
>
> >>> gLocalSearch = new google.search.LocalSearch();
>
> >>> gLocalSearch.setSearchCompleteCallback(null, OnLocalSearch);
> >>> gSearchForm.execute("italian restaurants in san diego ");
> >>> }
>
> >>> Thanks,
> >>> Ross
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---