I edit following small skin
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[MeasureYahooWeather]
Measure=Plugin
Plugin=WebParser
UpdateRate=1800
Url="http://weather.yahooapis.com/forecastrss?w=702332&u=c"
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*region=\"(.*)\".*country=\"(.*)\".*temperature=\"(.*)\".*distance=\"(.*)\".*pressure=\"(.*)\".*speed=\"(.*)\".*chill=\"(.*)\".*direction=\"(.*)\".*speed=\"(.*)\".*humidity=\"(.*)\".*visibility=\"(.*)\".*pressure=\"(.*)\".*rising=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*low=\"(.*)\".*high=\"(.*)\".*text=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*low=\"(.*)\".*high=\"(.*)\".*text=\"(.*)\".*code=\"(.*)\".*
StringIndex=1
[MeasureWeatherTemp]
Measure=Plugin
Plugin=WebParser
Url=[MeasureYahooWeather]
StringIndex=23
RegExpSubstitute=1
Substitute="(\w+)":"1"
[MeasureTemp]
Measure=Calc
Formula=MeasureWeatherTemp+30
[MeterTemp]
Meter=String
MeasureName=MeasureTemp
Text=%1
FontFace=Segoe UI
FontSize=14
FontColor=128,128,128,128
X=0
Y=0
but i got allways the value of the real temp added with 30
e.g.
-the real temp ist 10
-when i look in the protocoll, the value "MeasureWeatherTemp" is changed to 1
-but MeasureTemp is 40 ( = real temp + 30)
-the output in the meter shows for a moment "30" and then change to "40"
where ist the mistake?