When Google Feeds Show up in Other Languages

2010-01-27 | Category: General (47)

Quite often our users want to display feeds from Google in RSSboxes. This is actually a good way of getting accurate and precise information on whatever topic they are interested in. However, sometimes a rather strange problem occurs which we want to discuss here.

The problem

Try to use the URL of an english Google News feed at rssinclude.com. The resulting RSSbox does not contain an english but a german feed. That's pretty strange, isn't it?

The reason

Google identifies the location of the server requesting the feed. According to the servers location Google provides the feed in a language it assumes to be appropriate. Which is not good for our service as our server is located in Germany.

The workaround

You can force Google to use a certain language for the feed.  Just add the term "&hl=en" (en stands for english) to the end of your feed url. However, in some cases you have to use "?hl=en" instead, the questionmark makes the difference...

Original, problematic URL: http://news.google.com/news?q=motor+sport&output=rss

Changed, well working URL: http://news.google.com/news?q=motor+sport&output=rss&hl=en

Any questions?

If you have questions concerning this or other topics please don't hesitate to contact us.