Unfortunately, the setSiteRestriction method does not really support multiple sites. As a viable workaround, though, you can set up your own Custom Search Engine to search Amazon and Ebay and then direct your AJAX Search application to utilize your CSE.
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 Nov 23, 2009, at 11:06 AM, Testujemy wrote: > Welcome. > > I want use bot sites in siteSearch.setSiteRestriction search metod. > Example code: var siteSearch = new GwebSearchgoogle.search.WebSearch > (); > siteSearch.setSiteRestriction("amazon.com"); > So, I want not only Amazon.com, but also Ebay.com in > setSiteRestriction. > > Thanks. > > -- > > 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= > . > > -- 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=.
