开发者

HOWTO Programatically construct Google News Search URL so that I can open a new browser window/tab with it

In one of my apps I want to open a new window/tab for a "google news" query. Is there an official documentation where I can look up what all different google search parameters mean & what encoding I need to do for certain parameters like time-range. I got hold of some unofficial links like this but it is not exhaustive. I dont want to reverse engineer the sample queries that I fired on Google News page.

My goal is to just simply programatically construct the google search url & direct the user to it, I do not want to get just the JSON etc search result else I would h开发者_JAVA技巧ave used the Google News Search API, which BTW is deprecated.


Try this:

http://news.google.co.uk/news?q=appreciated

You can also get an RSS feed:

http://news.google.co.uk/news?q=appreciated&hl=en&prmd=imvns&um=1&ie=UTF-8&output=rss

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜