Re: [問題] 關於Rainmeter的天氣

看板Wallpaper作者 (........)時間18年前 (2006/05/07 17:53), 編輯推噓0(004)
留言4則, 2人參與, 最新討論串3/4 (看更多)
最近也在玩這個, 我來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)

05/07 18:10, , 1F
寫的不是很好...請見諒~!:P
05/07 18:10, 1F

05/07 19:56, , 2F
我有將編碼改成UTF-8存檔了,不過還是失敗@@
05/07 19:56, 2F

05/07 20:54, , 3F
之前若是已經修改過,就會已經失去原本的編碼了...
05/07 20:54, 3F

05/07 22:10, , 4F
再次嘗試還是失敗 Orz
05/07 22:10, 4F
文章代碼(AID): #14NSEp3k (Wallpaper)
討論串 (同標題文章)
文章代碼(AID): #14NSEp3k (Wallpaper)