I should probably also mention that, to use the extended restriction args with the RESTful side of the API, just add them as parameters to your url, as below:
http://ajax.googleapis.com/ajax/services/search/news?v=1.0&rsz=large&q=bmw&ned=de&geo=germany The ned parameter restricts to the language/regional edition, and the geo parameter restricts the search to a particular geography. There are also more details in the RESTful portion of the documentation than I had realized. Check out the link below: http://code.google.com/apis/ajaxsearch/documentation/reference.html#_fonje_news 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 Apr 24, 2009, at 4:57 AM, sebastian de comocomo wrote: > > Hi Ben, > > Can you configure the news by country? Or language? If so, could you > send me > the link to the documentation? > > Thanks > sebastian > > > On 24/04/09 01:14, "Ben Lisbakken" <[email protected]> wrote: > >> >> Hi Peter -- >> >> How are you including Google News with the AJAX APIs? Are you using >> the News Show? The Dynamic Feed Control? You can configure what >> news >> will be shown. >> >> Also, could you post a link to the page where you have added it? >> >> -Ben >> >> On Apr 21, 9:17 pm, PeterB <[email protected]> wrote: >>> I have successfully included Google News with the AJAX API into my >>> web >>> site. Quite easy. >>> >>> I asked for two customized searches both under the general >>> category of >>> Health. So the result is that it shows the Health News Stories >>> first, >>> then it shows the stories related to the 2 customized searches I >>> asked >>> for. >>> >>> My problem is that the Health stories don't relate at all to my site >>> audience and yet they appear first and will likely be seen as boring >>> and certainly unrelated. I am concerned this may loose visitors >>> quickly as attention spans on web sites are short. >>> >>> How can I exclude the general Heath stories from appearing and have >>> the news stories that appear start with the two customized >>> searches I >>> asked 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 -~----------~----~----~----~------~----~------~--~---
