- UID
- 308518
- 主题
- 注册时间
- 2012-6-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
该用户从未签到
|
发表于 2012-6-15 18:43:26
|
显示全部楼层
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://m.weather.com.cn/data/CHXX0313.html
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
;-------------------------
;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------
;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23
;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27
;-------------------------
;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32
;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34
;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38
;--------------------------------
Current Weather
;--------------------------------
[MeterDateNow]
Meter=STRING
Text="Current"
X=165
Y=68
FontColor=#FontColor1#
FontSize=9
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.33
AntiAlias=1
[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=165
Y=78
FontColor=#FontColor1#
StringStyle=NORMAL
FontSize=20
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.32
AntiAlias=1
Postfix="?
[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=-15r
Y=28r
FontColor=#FontColor1#
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.32
AntiAlias=1
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=70
Y=60
[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=70
Y=60
H=64
W=64
Hidden=1
LeftMouseUpAction=!Execute [!RainmeterRefresh][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
;-----------------------------
Next Day Weather
;-----------------------------
[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=85
Y=150
FontColor=#FontColor1#
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
FontFace=#FontName#
Angle=6.34
Antialias=1
Postfix="?
[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=60
Y=170
FontColor=#FontColor1#
FontSize=9
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.33
Antialias=1
[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=40
Y=145
H=32
W=32
;--------------------------------
Day After Next Weather
;--------------------------------
[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=160
Y=152
FontColor=#FontColor1#
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
FontFace=#FontName#
Angle=6.33
Antialias=1
Postfix="?
[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=130
Y=172
FontColor=#FontColor1#
FontSize=9
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.33
Antialias=1
[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=115
Y=143
H=32
W=32
;----------------------------------
2 Days After Next Weather
;----------------------------------
[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=225
Y=155
FontColor=#FontColor1#
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
FontFace=#FontName#
Angle=6.34
Antialias=1
Postfix="?
[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=200
Y=175
FontColor=#FontColor1#
FontSize=9
StringAlign=CENTER
StringStyle=BOLD
FontFace=#FontName#
Angle=6.33
Antialias=1
[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=180
Y=147
H=32
W=32
这是代码
国外的龙口代码是CHXX0313不知道从何下手了 窗体上的天气
|
|