Raghuveersingh / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

News Search by topic #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Suggestion -

I would like to be able to search for something and not get any Sports
results or only get Business results, etc.  Also, it would be nice to be
able to get the top stories for each topic via the API.

It would be a nice feature if I could do a news search by topic using the
API (and actually in the web interface for news search also).

Thanks!

Original issue reported on code.google.com by briangrinstead on 1 Oct 2008 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by lisba...@google.com on 14 Oct 2008 at 3:23

GoogleCodeExporter commented 9 years ago
Just out of curiosity, did you 

Original comment by jrgeer...@gmail.com on 8 Nov 2008 at 4:37

GoogleCodeExporter commented 9 years ago
Button happy.  Sorry.  Try this again:

Just out of curiosity, did you try using this:

newsSearcher.setRestriction(google.search.RESTRICT_EXTENDED_ARGS,{type:'b'}); //
where newsSearcher is your NewsSearch object

In my admittedly brief experimentation, it seems to work.

Original comment by jrgeer...@gmail.com on 8 Nov 2008 at 4:50