[Rainmeter]
Author=Kenz0 (
[email protected])
AppVersion=1003000
BackgroundMode=1
DynamicWindowSize=1
[Metadata]
Name=LEXIS-Weather
Config=LEXIS\Weather
Description=Current weather in your city.
Instructions=Weather.com to the [Variables] section. And change the unit if you need ("s" is Fahrenheit, "m" is Celsius). | - How to find a weather location code (http://rainmeter.net/RainCMS/?q=TipsAndTricksWeatherCode).
Version=1.2.3
Tags=Weather
License=Creative Commons Attribution 3.0 License.
Preview=LEXIS-Weather.png
Credits=Image resources from katra's weather icon theme.
[Variables]
;location Code and Unit -------------------
Code=BRXX0232
Unit=s
;------------------------------------------
@Include:Colors=#ROOTCONFIGPATH#ColorVariables.inc
UPDATE=1800
FONTFACE="Trebuchet MS"
[mSource]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=#UPDATE#
Url=http://xml.weather.com/weather/local/#Code#?cc=*&unit=#Unit#
RegExp="(?sU)<dnam>(.+)(, .+)<.*<lsup>.+ (\d+:\d+ (?:A|P)M) .*<tmp>(.*<)/.*(<flik>)(.*<)/.*(<icon>)(.*)<"
CodePage=28591
[mTime]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=3
[mCity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=1
ErrorString=Error...
[mCountry]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=2
[mTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=4
Substitute="<":"°"
[mFeel]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=5
Substitute="<flik>":"RealFeel"
[mFeelTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=6
Substitute="<":"°"
[mText]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=7
Substitute="<icon>":"Currently at"
[mIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mSource]
StringIndex=8
[sString]
FontFace=#FONTFACE#
StringStyle=BOLD
AntiAlias=1
[City]
Meter=STRING
MeasureName=mCity
MeterStyle=sString
X=10
Y=0
FontColor=#MainColor#CC
FontSize=12
[Country]
Meter=STRING
MeasureName=mCountry
MeterStyle=sString
X=-1R
Y=4r
FontColor=#SubColor#99
FontSize=9
[Text]
Meter=STRING
MeasureName=mText
MeterStyle=sString
X=10
Y=2R
FontColor=#SubColor#99
FontSize=9
[Time]
Meter=STRING
MeasureName=mTime
MeterStyle=sString
X=0R
Y=0r
FontColor=#KeyColor#FF
FontSize=9
[Icon]
Meter=IMAGE
MeasureName=mIcon
Path=Images\
X=0
Y=0R
W=150
H=125
[Temp]
Meter=STRING
MeasureName=mTemp
MeterStyle=sString
X=10
Y=5R
FontColor=#MainColor#CC
FontSize=24
[Feel]
Meter=STRING
MeasureName=mFeel
MeterStyle=sString
X=0R
Y=2r
FontColor=#KeyColor#FF
FontSize=9
[FeelTemp]
Meter=STRING
MeasureName=mFeelTemp
MeterStyle=sString
X=10r
Y=0R
FontColor=#SubColor#99
FontSize=11