The problem is that the hl argument doesn't really do anything to affect search 
results. Take a look at the ned argument to see if it won't be closer to what 
you want.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Mar 2, 2011, at 9:47 AM, Al Kaiser wrote:

> with this url:
> 
> https://ajax.googleapis.com/ajax/services/search/news?q=APA&v=1.0&callback=searchComplete&context=APA&hl=en&rsz=4&scoring=d
> 
> i get 4 items that are in a language other than english ( see json return 
> below ).  It seems the hl=en is not working correctly. Am i missing something?
> 
> (Returned JSON)
> 
> searchComplete('APA', 
> {"results":[{"GsearchResultClass":"GnewsSearch","clusterUrl":"","content":"Bild:
>  SN/\u003cb\u003eAPA\u003c/b\u003e (SN-kli, \u003cb\u003eAPA\u003c/b\u003e). 
> Wilhelm Denifl landete bei 131 Metern und startet als Dritter mit 14 Sekunden 
> Rückstand auf den führenden Norweger Haavard Klemetsen (133,5 m) in den 
> 10-km-Langlauf. Ebenso gute Chancen auf einen Spitzenplatz hat der als 
> \u003cb\u003e...\u003c/b\u003e","unescapedUrl":"http://www.salzburg.com/online/homepage/aktuell/LIVE-Denifl-mit-Chancen-Gottwald-abgeschlagen.html?article\u003deGMmOI8V2FKYozNOVesm8lneYBYOtU3VEEGonrC\u0026img\u003d\u0026text\u003d\u0026mode\u003d","url":"http%3A%2F%2Fwww.salzburg.com%2Fonline%2Fhomepage%2Faktuell%2FLIVE-Denifl-mit-Chancen-Gottwald-abgeschlagen.html%3Farticle%3DeGMmOI8V2FKYozNOVesm8lneYBYOtU3VEEGonrC%26img%3D%26text%3D%26mode%3D","title":"SN-Ticker:
>  Keine Medaille für ÖSV-Kombinierer","titleNoFormatting":"SN-Ticker: Keine 
> Medaille für ÖSV-Kombinierer","location":"","publisher":"Salzburger 
> Nachrichten","publishedDate":"Wed, 02 Mar 2011 07:18:29 
> -0800","signedRedirectUrl":"http://news.google.com/news/url?sa\u003dT\u0026ct\u003dus/0-0-0\u0026fd\u003dS\u0026url\u003dhttp://www.salzburg.com/online/homepage/aktuell/LIVE-Denifl-mit-Chancen-Gottwald-abgeschlagen.html%3Farticle%3DeGMmOI8V2FKYozNOVesm8lneYBYOtU3VEEGonrC%26img%3D%26text%3D%26mode%3D\u0026cid\u003d17593587690855\u0026ei\u003duGVuTfi6CZmD6Aa0hIT0Ag\u0026usg\u003dAFQjCNEv6hOS7l-WQgCHjmdjLIYmaeUWzA","language":"de"},{"GsearchResultClass":"GnewsSearch","clusterUrl":"","content":"Un
>  barbat de 26 de ani din localitatea hunedoreana Soimus a fost la un pas sa 
> fie ingropat de viu, dupa ce a fost surprins de ruperea unui mal de pamant, 
> in timp ce executa lucrari la reteaua de \u003cb\u003eapa\u003c/b\u003e. 
> Pompierii de la Detasamentul ISU Deva au intervenit 
> \u003cb\u003e...\u003c/b\u003e","unescapedUrl":"http://www.ziare.com/stiri/accident/tanar-prins-sub-un-mal-de-pamant-salvat-de-pompieri-1078943","url":"http%3A%2F%2Fwww.ziare.com%2Fstiri%2Faccident%2Ftanar-prins-sub-un-mal-de-pamant-salvat-de-pompieri-1078943","title":"Tanar
>  prins sub un mal de pamant, salvat de pompieri","titleNoFormatting":"Tanar 
> prins sub un mal de pamant, salvat de 
> pompieri","location":"","publisher":"Ziare.com","publishedDate":"Wed, 02 Mar 
> 2011 07:36:21 
> -0800","signedRedirectUrl":"http://news.google.com/news/url?sa\u003dT\u0026ct\u003dus/0-1-0\u0026fd\u003dS\u0026url\u003dhttp://www.ziare.com/stiri/accident/tanar-prins-sub-un-mal-de-pamant-salvat-de-pompieri-1078943\u0026cid\u003d0\u0026ei\u003duGVuTfi6CZmD6Aa0hIT0Ag\u0026usg\u003dAFQjCNGB3vVCBylPdOnxGlNORa-h3GECjg","language":"ro"},{"GsearchResultClass":"GnewsSearch","clusterUrl":"","content":"\u0026quot;Ketua
>  harian setgab belum ada evaluasi, harusnya seperti 
> \u003cb\u003eapa\u003c/b\u003e, terutama di parlemen. Selama ini tak perah 
> sentuh Ical sebagai Ketua Harian Setgab. Itu pendapat saya ribadi. Seharusnya 
> evaluasi Setgab bagaimana selama ini,\u0026quot; kata Hidayat di Jakarta, 
> \u003cb\u003e...\u003c/b\u003e","unescapedUrl":"http://www.pikiran-rakyat.com/node/136927","url":"http%3A%2F%2Fwww.pikiran-rakyat.com%2Fnode%2F136927","title":"PKS
>  Siap Didepak dari Kabinet","titleNoFormatting":"PKS Siap Didepak dari 
> Kabinet","location":"","publisher":"Pikiran Rakyat","publishedDate":"Wed, 02 
> Mar 2011 07:36:15 
> -0800","signedRedirectUrl":"http://news.google.com/news/url?sa\u003dT\u0026ct\u003dus/0-2-0\u0026fd\u003dS\u0026url\u003dhttp://www.pikiran-rakyat.com/node/136927\u0026cid\u003d17593537543042\u0026ei\u003duGVuTfi6CZmD6Aa0hIT0Ag\u0026usg\u003dAFQjCNFk5eaXoxOegXBFmko-OHXrVN17Pg","language":"id"},{"GsearchResultClass":"GnewsSearch","clusterUrl":"","content":"Tidak
>  mau dianggap hanya bisa menyumbangkan masalah, Adriano pun berusaha 
> menjelaskan \u003cb\u003eapa\u003c/b\u003e yang sebenarnya terjadi. Ia 
> mengungkapkan kalau ia melewatkan tes medis tersebut lantaran merasa kesal 
> dengan jadwal yang ditetapkan Roma. 
> \u003cb\u003e...\u003c/b\u003e","unescapedUrl":"http://www.bolanews.com/mobile/liga/liga-italia/22448-Adriano-Berjanji-Untuk-Lebih-Profesional.html","url":"http%3A%2F%2Fwww.bolanews.com%2Fmobile%2Fliga%2Fliga-italia%2F22448-Adriano-Berjanji-Untuk-Lebih-Profesional.html","title":"Adriano
>  Berjanji Untuk Lebih Profesional","titleNoFormatting":"Adriano Berjanji 
> Untuk Lebih Profesional","location":"","publisher":"Bola 
> News","publishedDate":"Wed, 02 Mar 2011 07:33:30 
> -0800","signedRedirectUrl":"http://news.google.com/news/url?sa\u003dT\u0026ct\u003dus/0-3-0\u0026fd\u003dS\u0026url\u003dhttp://www.bolanews.com/mobile/liga/liga-italia/22448-Adriano-Berjanji-Untuk-Lebih-Profesional.html\u0026cid\u003d17593537206265\u0026ei\u003duGVuTfi6CZmD6Aa0hIT0Ag\u0026usg\u003dAFQjCNFQGpjIfg79qRT9YxneJlEM0Wz3xA","language":"id"}],"cursor":{"pages":[{"start":"0","label":1},{"start":"4","label":2},{"start":"8","label":3},{"start":"12","label":4},{"start":"16","label":5},{"start":"20","label":6},{"start":"24","label":7},{"start":"28","label":8}],"estimatedResultCount":"31586","currentPageIndex":0,"moreResultsUrl":"http://news.google.com/nwshp?oe\u003dutf8\u0026ie\u003dutf8\u0026source\u003duds\u0026q\u003dAPA\u0026scoring\u003dd\u0026hl\u003den\u0026start\u003d0"}},
>  200, null, 200)
> 
> -- 
> 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.

-- 
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