作者KnightX (........)
看板Wallpaper
标题Re: [问题] 关於Rainmeter的天气
时间Sun May 7 18:09:59 2006
最近也在玩这个,
我来PO一下我玩的心得,不知道有没有OP
关於想要显示的其他城市的天气有个最简单的改法
就是打开你要的skin里的ini档
修改 [Variables] 中的网址
修改的方法很简单:
http://www.rssweather.com/hw3.php?pands=城市名称
例如要显示台北天气就打
http://www.rssweather.com/hw3.php?pands=taipei
台南天气就打
http://www.rssweather.com/hw3.php?pands=tainan
只要你打出来的网址能够连上网页,就成功了~!!
除了这个网址外,另外还需要设定就是RSS网址(以下以通用的skin为例)
当你连往「
http://www.rssweather.com/hw3.php?pands=城市名称」时
网页左边有个「RSS Feed」,点选「Customize」来自订RSS设定
在RSS设定里把「Forecast Options」选择「Don't Show」
把「Present as」选择「XHTML Body」
设定完後,最後在网页下方按下RSS按钮,会连到另一个网页
那个网址就是RSS喂取的网址,把他复制下来到ini里
以上就大功告成~~!!!
再来是显示乱码的问题,
只要你编辑和存档时是使用「UTF-8」编码就不会了~~!!
※ 引述《sunnix (Chrono Cross)》之铭言:
: ※ 引述《oakll (想念怀念)》之铭言:
: : 之前有网友写可以显示台湾的天气,
: : 不知有没有人有或是要如何才能让它显示我想要城市的天气
: : 即时新闻不知能不能改~~请各位分享一下罗
: 发现 Skin 里面任何一地的ini档里面
: 有更换天气位置的说明,贴上来让大家研究罗:p
: Change the location like this:
: - Take a copy of this ini-file and rename it
: to match your location (e.g. Kabul.ini)
: - Go to http://www.rssweather.com and find your location
: (make sure that the page actually has some weather information).
: - Take a copy of the url and
: put it in the URL2-field in the [Variables]-section below.
: - Click the "Custom RSS 2.0 Feed"-link on the left side of the page.
: - Set the options how you like them.
: - The "Forecast Options" should be set to
: "Don't Show" since the skin doesn't show the forecast.
: - Set the "Present as" in Rss Options to "XHTML Body".
: - Click the RSS-button in the bottom right of the page and
: you should get a page with some text and the weather info.
: The page might look a bit messy, but don't worry about that.
: - Take a copy of the url and
: put it in the URL-field in the [Variables]-section below.
: - That's it. Refresh Rainmeter and select your newly created ini-file.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.169.121.224
※ 编辑: KnightX 来自: 218.169.121.224 (05/07 18:10)
1F:→ KnightX:写的不是很好...请见谅~!:P 05/07 18:10
2F:→ sunnix:我有将编码改成UTF-8存档了,不过还是失败@@ 05/07 19:56
3F:→ KnightX:之前若是已经修改过,就会已经失去原本的编码了... 05/07 20:54
4F:→ sunnix:再次尝试还是失败 Orz 05/07 22:10