Hello Friends,
currently i am implementing google search widget using Google Ajax
Search API and i want to show each result in tabular format with
different categories like "News", "Images" and "Videos"...etc.
But it will return me only 8 pages with only 4 result set.
My Question is:
How can i increase these result set records ...?
here is my script as below:
//<![CDATA[
google.load('search', '1.0');
function OnLoad() {
newsSearch=new google.search.NewsSearch();
newsSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET);
tabbed.addSearcher(newsSearch);
imageSearch=new google.search.ImageSearch();
imageSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET);
tabbed.addSearcher(imageSearch);
videoSearch=new google.search.VideoSearch();
videoSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET);
tabbed.addSearcher(videoSearch);
// draw in tabbed layout mode
drawOptions = new google.search.DrawOptions();
drawOptions.setDrawMode(google.search.SearchControl.DRAW_MODE_TABBED);
tabbed.draw(document.getElementById("search_control_tabbed"),
drawOptions);
tabbed.execute("test");
}
google.setOnLoadCallback(OnLoad, true);
//]]>
--
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.