Thanks, but I do not want to search just groups.google.com. The
"Groups search" searches many, many other sites as well. Check it out
for yourself.

On Nov 3, 6:28 pm, Jeremy Geerdes <[email protected]> wrote:
> Actually, I think that you are looking for a site restriction. You can  
> use a WebSearcher with its .setSiteRestriction() method to restrict  
> your search to a certain group or to all groups, depending on how you  
> do it. For instance, you could do something like this:
>
> var searcher = new google.search.WebSearch();
> searcher.setSiteRestriction('http://groups.google.com/group/Google-AJAX-Search-API')
> ;
> searcher.execute('hello, world');
>
> This would search just the AJAX APIs group for 'hello, world.'
>
> Or you could do...
>
> searcher.setSiteRestriction('http://groups.google.com');
>
> This would search all the groups.
>
> Hope that helps.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project 
> quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://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, 
> athttp://jgeerdes.blogspot.com
>   !
>
> On Nov 3, 2009, at 10:03 AM, Daivd wrote:
>
>
>
>
>
> > The AJAX API has support for blogs, news, web, etc, but I would like
> > to search forums just like under the "Groups"-tab,http://groups.google.com
> > .
> > Can this be done? It turns out that it is hard to google for this
> > question, since e.g "AJAX search API Google Groups" finds everything
> > on Google Groups about searching :).
>
> > I do not want to search just Google Groups, but all groups included in
> > the standard Groups-search, so a site filter is not what I am looking
> > for.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to