天气预报RSS

试了两个天气预报的rss。分别是YahooWeather.com提供的。

Yahoo

Yahoo的天气数据也是提供的。 Yahoo天气的rss在Yahoo Developer Network中最为一个项目提供出来。 rss的地址是http://xml.weather.yahoo.com/forecastrss ,有两个参数p和u。 p是地址代码,可以在http://weather.yahoo.com/页面上查询,比如北京就是CHXX0008。这个代码和weather.com上用的代码相同。 u是温度单位。取值c就是摄氏,取值f就是华氏。 这样,摄氏温度的北京天气预报的rss就是 http://xml.weather.yahoo.com/forecastrss?p=CHXX0008&u=c 一个小时一条,似乎太频繁了一点。但是用在google reader上就比较好,一健就跳过了。rss的一个特点就是实时的信息,google reader处理这种高频率的信息就很合适。bloglines的话就排出密密麻麻一排不好用了。

Weather.com

weather.com提供的 rss包括的信息丰富得多,有点累赘,而且格式也不是很好。

No comments yet. Be the first.

Leave a reply

Additional comments powered by BackType

Random posts

  • [电子书 ] Chemoinformatics: Theory, Practice, & Products
  • Structure searching supported compound database based on MS Access
  • 国人专用汉字识别码
  • 解决通过图书馆帐号下载ACS paper pdf的问题
  • 弃bloglines.com投reader.google.com