- UID
- 384176
- 主题
- 注册时间
- 2013-12-12
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 18 天 [LV.4]偶尔看看III
|
发表于 2013-12-23 17:56:55
|
显示全部楼层
Rainmeter]
Author=XANCI
Group=NonePower
[Metadata]
Name=Weather
[Variables]
@Include1=#ROOTCONFIGPATH#Settings\Variables.inc
@Include2=#ROOTCONFIGPATH#Settings\Styles.inc
@Include3=#ROOTCONFIGPATH#Settings\Custom.inc
UrlUnit=m
[MeasureScript]
Measure=Script
ScriptFile="#CURRENTPATH#Weather.lua"
[MeasureRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://xml.weather.com/weather/local/#WeatherCode#?cc=*&unit=#UrlUnit#&dayf=3
RegExp="(?siU)<tmp>(.*)</tmp>.*<icon>(.*)</icon>.*<day d="0" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<part p="n">.*<icon>(.*)</icon>.*<day d="1" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>.*<day d="2" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>"
UpdateRate=1800
[MeasureTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureRSS]
StringIndex=1
Substitute="":"N/A"
[MeasureIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
这代码怎么改?我还是不会该天气。。。。貌似代码查不到 |
|