主題: 關於主題待機畫面的天氣地點更改
顯示結果從 1 到 8 共計 8 條
-
12-13-2010 #1
如題
有嘗試照她敘述的至http://www.weather.com/
但是還是不知道該如何找到"台北"天氣並做更改
希望會的人可以幫幫忙囉
;==========================================================
; Just Weather by 10n3xw01f
; Thanks to MerlinTheRed for weather icons
;==========================================================
;============================== Weather ================================
[Variables]
;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
Go to http://www.weather.com/ and find weather code for your location then change link below!
IMPORTANT: Change only one part of this link (BKXX0005) > this is code for Zenica, Bosnia and Herzegovina
URL=http://xml.weather.com/weather/local/BKXX0005?cc=*&unit=m&dayf=6
Font=Century Gothic
;---------------------------
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;---------------------------
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;---------------------------
[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=45
Y=20
FontColor=255, 255, 255, 80
StringStyle=NORMAL
FontSize=70
StringAlign=CENTER
FontFace=Century Gothic
Antialias=0
;[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=5
Y=25
FontColor=ACACAC
FontSize=7
StringAlign=LEFT
StringStyle=NORMAL
FontFace=Century Gothic
Antialias=0
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=0
Y=4
[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=100
Y=8
;Hidden=1
-
12-13-2010 #2
[QUOTE=reck321;391342]如題
有嘗試照她敘述的至http://www.weather.com/
但是還是不知道該如何找到"台北"天氣並做更改
希望會的人可以幫幫忙囉
;==========================================================
; Just Weather by 10n3xw01f
; Thanks to MerlinTheRed for weather icons
;==========================================================
;============================== Weather ================================
[Variables]
;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
Go to http://www.weather.com/ and find weather code for your location then change link below!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
更改下面的Link中的天氣代碼為你所在的區域..
IMPORTANT: Change only one part of this link (BKXX0005) > this is code for Zenica, Bosnia and Herzegovina
URL=http://xml.weather.com/weather/local/BKXX0005?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
你把你查到的Taipei的代碼替換掉後面的BKXX0005,就可以了..
cc=*&unit=m&dayf=6
Font=Century Gothic
....後面吃光
-
12-14-2010 #3
改好了~但是還是沒有改變耶......
[Variables]
;You may delete "&unit=m" if you prefer the Fahrenheit Scale.
Go to http://www.weather.com/ and find weather code for your location then change link below!
IMPORTANT: Change only one part of this link (TWXX0021) > this is code for Zenica, Bosnia and Herzegovina
URL=http://xml.weather.com/weather/local/TWXX0021
Font=Century Gothic
;---------------------------
-
12-20-2010 #4
想請教!
有辦法讓顯示天氣的地點隨當時所在地點自動變更嗎?
-
12-20-2010 #5
至於手動變更地點的方式,小弟是傻傻地去把內建的天氣功能裡,把想看的地點移到第一個,再去lockinfo按更新,就出來了耶!
不知道這樣有沒有幫上忙!
-
12-20-2010 #6
-
12-20-2010 #7
改地點的方式只要搜尋到下列字var locale = "USCA0638請把中間的字改成TWXX0021.這是台北的代碼.其他城市請自行爬文
另外要改溫度如下var useRealFeel = false.請把false改成true
順便再說個更改時間為24小時的方法var DisplayTwentyFourHourClock = false也是把false改成true.
希望大家都能利用到此篇文章於 12-21-2010 00:54 被 theo1358 編輯。
-
12-20-2010 #8
var isCelsius = false
抱歉.剛剛更改溫度的錯了.上面這才是正確的