- UID
- 167322
- 主题
- 注册时间
- 2011-9-26
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 58 天 [LV.5]常住居民I
|
发表于 2011-9-29 19:15:01
|
显示全部楼层
刚刚上手4天,请问这个天气如何修改。。。好像是外国人写的,实在不知道从哪下手。红字的那行是重点吧,可是是外国的天气网址,请问如何修改成国内的。。。。{:soso_e183:}
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15 minut
UpdateRate=3600
Url=http://xml.weather.com/weather/local/#dest#?cc=*&dayf=6
RegExp="(?siU)<weather ver=(.*)>(.*)<dnam>(.*)</dnam>(.*)<lat>(.*)</lat>(.*)<lon>(.*)</lon>(.*)<sunr>(.*)</sunr>(.*)<suns>(.*)</suns>(.*)<lsup>(.*)</lsup>(.*)<tmp>(.*)</tmp>(.*)<flik>(.*)</flik>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<r>(.*)</r>(.*)<d>(.*)</d>(.*)<s>(.*)</s>(.*)<d>(.*)</d>(.*)<t>(.*)</t>(.*)<hmid>(.*)</hmid>(.*)<vis>(.*)</vis>(.*)<i>(.*)</i>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="4" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)"
StringIndex=1
;Debug=1
;--------------------------------
[MeasureWeatherDestination]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherLastUpdate]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15
[MeasureWeatherTempLike]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="Clear":"Senin","Fair":"F鉹?nori ","Partly Cloudy":"Par?al noros","Mostly Cloudy":"蝞 general noros","Cloudy":"Noros","Freezing Rain":"Ploaie rece","Light Rain Shower":"Averse de ploaie","Light Rain":"Ploaie u簅ar?,"Rain":"Ploaie","Thunder":"Tunet","Shower":"Averse de ploaie","Light Snow":"Ninsoare u簅ar?,"Snow":"Z鉷ad?,"Sunny":"蝞sorit","Windy":"V鈔t","Haze":"Cea? u簅ar?,"Fog":"Cea?","Set":"Stabil","T-Storm":"Furtun?
StringIndex=19
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;-------------------------
;-------------------------
[Backing]
Meter=Image
X=0
Y=0
W=100
H=100
SolidColor=255,255,255,0
[TodayWeather]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=40
Y=60
StringStyle=Normal
StringAlign=Center
FontColor=255,255,255
FontSize=9
FontFace=Swis721 LtCn BT D-type
Antialias=1
[MeterTempToday]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=40
Y=75
StringStyle=Normal
StringAlign=Center
FontColor=255,255,255
FontSize=9
FontFace=Swis721 LtCn BT D-type
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------
[Line]
Meter=IMAGE
SolidColor=255, 255, 255, 120
X=18
Y=90
W=40
H=1
|
|