Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Rainmeter]
- Author=Flying Hyrax | flyinghyrax.deviantart.com
- Update=1000
- AppVersion=2003000
- DynamicWindowSize=1
- [Metadata]
- Name=Elementary Weather (Celsius)
- Version=1.5.1
- License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
- Information=Displays current weather conditions for your given location. Click the word "currently" to switch to forecast view. | - Celsius version | - Weather information is provided courtesy of the Weather Underground | - Change your weather location in "...\Skins\Elementary\@Resources\Settings.txt"
- [Variables]
- @include=#@#Settings.txt
- @include2=#@#Languages\#language#.txt
- GET=.*<weekday>(.*)</weekday>.*<celsius>(.*)</celsius>.*<celsius>(.*)</celsius>.*<conditions>(.*)</conditions>
- [msrCurrent]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL="http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=#location#"
- RegExp="(?siU)<display_location>\n <full>(.*)</full>.*<observation_location>\n\t{2}<full>(.*)</full>.*<weather>(.*)</weather>.*<temp_c>(.*)</temp_c>.*<relative_humidity>(.*)</relative_humidity>.*<wind_dir>(.*)</wind_dir>.*<wind_mph>(.*)</wind_mph>.*<visibility_km>(.*)</visibility_km>"
- UpdateRate=900
- ErrorString="oh noes!"
- Debug=0
- [msrLoc]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=1
- [msrOb]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=2
- [msrCond]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=3
- Substitute="(?i)Light":"#Light#","(?i)Heavy":"#Heavy#","(?i)Partly":"#Partly#","(?i)Mostly":"#Mostly#","(?i)Low":"#Low#","(?i)Small":"#Small#","(?i)Drifting":"#Drifting#","(?i)Blowing":"#Blowing#","(?i)Freezing":"#Freezing#","(?i)Scattered":"#Scattered#","(?i)Widespread":"#Widespread#","(?i)Chance of a":"#Chance_of_a#","(?i)Chance of":"#Chance_of#","(?i)and":"#and#","(?i)Sunny":"#Sunny#","(?i)Clear":"#Clear#","(?i)Overcast":"#Overcast#","(?i)Cloudy":"#Cloudy#","(?i)Clouds":"#Clouds#","(?i)Rain":"#Rain#","(?i)Drizzle":"#Drizzle#","(?i)Showers":"#Showers#","(?i)Thunderstorms":"#Thunderstorms#","(?i)Thunderstorm":"#Thunderstorm#","(?i)Hail":"#Hail#","(?i)Snow":"#Snow#","(?i)Ice":"#Ice#","(?i)Flurries":"#Flurries#","(?i)Sleet":"#Sleet#","(?i)Crystals":"#Crystals#","(?i)Grains":"#Grains#","(?i)Pellets":"#Pellets#","(?i)Mist":"#Mist#","(?i)Fog":"#Fog#","(?i)Smoke":"#Smoke#","(?i)Volcanic Ash":"#Volcanic_Ash#","(?i)Dust":"#Dust#","(?i)Sand":"#Sand#","(?i)Haze":"#Haze#","(?i)Spray":"#Spray#","(?i)Whirls":"#Whirls#","(?i)Sandstorm":"#Sandstorm#","(?i)Unknown":"#Unknown#"
- RegExpSubstitute=1
- [msrTemp]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=4
- [msrHum]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=5
- [msrWindDir]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=6
- Substitute="N":"#North#","NE":"#NorthEast#","E":"#East#","SE":"#SouthEast#","S":"#South#","SW":"#SouthWest#","W":"#West#","NW":"#NorthWest#","Variable":"#Variable#"
- [msrWindSpeed]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=7
- [msrWindSpeedKph]
- Measure=Calc
- Formula=(msrWindSpeed * 1.609)
- [msrVis]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrCurrent]
- StringIndex=8
- [msrForecast]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL="http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=#location#"
- RegExp="(?siU)<weekday>(.*)</weekday>.*<celsius>(.*)</celsius>.*<celsius>(.*)</celsius>.*<conditions>(.*)</conditions>#GET##GET##GET#"
- UpdateRate=1800
- ErrorString="I'm sorry Dave..."
- Debug=0
- [msrD1Name]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=1
- Substitute="Monday":"#Monday#","Tuesday":"#Tuesday#","Wednesday":"#Wednesday#","Thursday":"#Thursday#","Friday":"#Friday#","Saturday":"#Saturday#","Sunday":"#Sunday#"
- [msrD1High]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=2
- [msrD1Low]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=3
- [msrD1Cond]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=4
- Substitute="(?i)Light":"#Light#","(?i)Heavy":"#Heavy#","(?i)Partly":"#Partly#","(?i)Mostly":"#Mostly#","(?i)Low":"#Low#","(?i)Small":"#Small#","(?i)Drifting":"#Drifting#","(?i)Blowing":"#Blowing#","(?i)Freezing":"#Freezing#","(?i)Scattered":"#Scattered#","(?i)Widespread":"#Widespread#","(?i)Chance of a":"#Chance_of_a#","(?i)Chance of":"#Chance_of#","(?i)and":"#and#","(?i)Sunny":"#Sunny#","(?i)Clear":"#Clear#","(?i)Overcast":"#Overcast#","(?i)Cloudy":"#Cloudy#","(?i)Clouds":"#Clouds#","(?i)Rain":"#Rain#","(?i)Drizzle":"#Drizzle#","(?i)Showers":"#Showers#","(?i)Thunderstorms":"#Thunderstorms#","(?i)Thunderstorm":"#Thunderstorm#","(?i)Hail":"#Hail#","(?i)Snow":"#Snow#","(?i)Ice":"#Ice#","(?i)Flurries":"#Flurries#","(?i)Sleet":"#Sleet#","(?i)Crystals":"#Crystals#","(?i)Grains":"#Grains#","(?i)Pellets":"#Pellets#","(?i)Mist":"#Mist#","(?i)Fog":"#Fog#","(?i)Smoke":"#Smoke#","(?i)Volcanic Ash":"#Volcanic_Ash#","(?i)Dust":"#Dust#","(?i)Sand":"#Sand#","(?i)Haze":"#Haze#","(?i)Spray":"#Spray#","(?i)Whirls":"#Whirls#","(?i)Sandstorm":"#Sandstorm#","(?i)Unknown":"#Unknown#"
- RegExpSubstitute=1
- [msrD2Name]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=5
- Substitute="Monday":"#Monday#","Tuesday":"#Tuesday#","Wednesday":"#Wednesday#","Thursday":"#Thursday#","Friday":"#Friday#","Saturday":"#Saturday#","Sunday":"#Sunday#"
- [msrD2High]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=6
- [msrD2Low]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=7
- [msrD2Cond]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=8
- Substitute="(?i)Light":"#Light#","(?i)Heavy":"#Heavy#","(?i)Partly":"#Partly#","(?i)Mostly":"#Mostly#","(?i)Low":"#Low#","(?i)Small":"#Small#","(?i)Drifting":"#Drifting#","(?i)Blowing":"#Blowing#","(?i)Freezing":"#Freezing#","(?i)Scattered":"#Scattered#","(?i)Widespread":"#Widespread#","(?i)Chance of a":"#Chance_of_a#","(?i)Chance of":"#Chance_of#","(?i)and":"#and#","(?i)Sunny":"#Sunny#","(?i)Clear":"#Clear#","(?i)Overcast":"#Overcast#","(?i)Cloudy":"#Cloudy#","(?i)Clouds":"#Clouds#","(?i)Rain":"#Rain#","(?i)Drizzle":"#Drizzle#","(?i)Showers":"#Showers#","(?i)Thunderstorms":"#Thunderstorms#","(?i)Thunderstorm":"#Thunderstorm#","(?i)Hail":"#Hail#","(?i)Snow":"#Snow#","(?i)Ice":"#Ice#","(?i)Flurries":"#Flurries#","(?i)Sleet":"#Sleet#","(?i)Crystals":"#Crystals#","(?i)Grains":"#Grains#","(?i)Pellets":"#Pellets#","(?i)Mist":"#Mist#","(?i)Fog":"#Fog#","(?i)Smoke":"#Smoke#","(?i)Volcanic Ash":"#Volcanic_Ash#","(?i)Dust":"#Dust#","(?i)Sand":"#Sand#","(?i)Haze":"#Haze#","(?i)Spray":"#Spray#","(?i)Whirls":"#Whirls#","(?i)Sandstorm":"#Sandstorm#","(?i)Unknown":"#Unknown#"
- RegExpSubstitute=1
- [msrD3Name]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=9
- Substitute="Monday":"#Monday#","Tuesday":"#Tuesday#","Wednesday":"#Wednesday#","Thursday":"#Thursday#","Friday":"#Friday#","Saturday":"#Saturday#","Sunday":"#Sunday#"
- [msrD3High]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=10
- [msrD3Low]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=11
- [msrD3Cond]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=12
- Substitute="(?i)Light":"#Light#","(?i)Heavy":"#Heavy#","(?i)Partly":"#Partly#","(?i)Mostly":"#Mostly#","(?i)Low":"#Low#","(?i)Small":"#Small#","(?i)Drifting":"#Drifting#","(?i)Blowing":"#Blowing#","(?i)Freezing":"#Freezing#","(?i)Scattered":"#Scattered#","(?i)Widespread":"#Widespread#","(?i)Chance of a":"#Chance_of_a#","(?i)Chance of":"#Chance_of#","(?i)and":"#and#","(?i)Sunny":"#Sunny#","(?i)Clear":"#Clear#","(?i)Overcast":"#Overcast#","(?i)Cloudy":"#Cloudy#","(?i)Clouds":"#Clouds#","(?i)Rain":"#Rain#","(?i)Drizzle":"#Drizzle#","(?i)Showers":"#Showers#","(?i)Thunderstorms":"#Thunderstorms#","(?i)Thunderstorm":"#Thunderstorm#","(?i)Hail":"#Hail#","(?i)Snow":"#Snow#","(?i)Ice":"#Ice#","(?i)Flurries":"#Flurries#","(?i)Sleet":"#Sleet#","(?i)Crystals":"#Crystals#","(?i)Grains":"#Grains#","(?i)Pellets":"#Pellets#","(?i)Mist":"#Mist#","(?i)Fog":"#Fog#","(?i)Smoke":"#Smoke#","(?i)Volcanic Ash":"#Volcanic_Ash#","(?i)Dust":"#Dust#","(?i)Sand":"#Sand#","(?i)Haze":"#Haze#","(?i)Spray":"#Spray#","(?i)Whirls":"#Whirls#","(?i)Sandstorm":"#Sandstorm#","(?i)Unknown":"#Unknown#"
- RegExpSubstitute=1
- [msrD4Name]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=13
- Substitute="Monday":"#Monday#","Tuesday":"#Tuesday#","Wednesday":"#Wednesday#","Thursday":"#Thursday#","Friday":"#Friday#","Saturday":"#Saturday#","Sunday":"#Sunday#"
- [msrD4High]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=14
- [msrD4Low]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=15
- [msrD4Cond]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- URL=[msrForecast]
- StringIndex=16
- Substitute="(?i)Light":"#Light#","(?i)Heavy":"#Heavy#","(?i)Partly":"#Partly#","(?i)Mostly":"#Mostly#","(?i)Low":"#Low#","(?i)Small":"#Small#","(?i)Drifting":"#Drifting#","(?i)Blowing":"#Blowing#","(?i)Freezing":"#Freezing#","(?i)Scattered":"#Scattered#","(?i)Widespread":"#Widespread#","(?i)Chance of a":"#Chance_of_a#","(?i)Chance of":"#Chance_of#","(?i)and":"#and#","(?i)Sunny":"#Sunny#","(?i)Clear":"#Clear#","(?i)Overcast":"#Overcast#","(?i)Cloudy":"#Cloudy#","(?i)Clouds":"#Clouds#","(?i)Rain":"#Rain#","(?i)Drizzle":"#Drizzle#","(?i)Showers":"#Showers#","(?i)Thunderstorms":"#Thunderstorms#","(?i)Thunderstorm":"#Thunderstorm#","(?i)Hail":"#Hail#","(?i)Snow":"#Snow#","(?i)Ice":"#Ice#","(?i)Flurries":"#Flurries#","(?i)Sleet":"#Sleet#","(?i)Crystals":"#Crystals#","(?i)Grains":"#Grains#","(?i)Pellets":"#Pellets#","(?i)Mist":"#Mist#","(?i)Fog":"#Fog#","(?i)Smoke":"#Smoke#","(?i)Volcanic Ash":"#Volcanic_Ash#","(?i)Dust":"#Dust#","(?i)Sand":"#Sand#","(?i)Haze":"#Haze#","(?i)Spray":"#Spray#","(?i)Whirls":"#Whirls#","(?i)Sandstorm":"#Sandstorm#","(?i)Unknown":"#Unknown#"
- RegExpSubstitute=1
- [sText1]
- SolidColor=0,0,0,1
- FontColor=#color#
- FontFace=#font#
- StringStyle=#style#
- AntiAlias=1
- [sText2]
- SolidColor=0,0,0,1
- FontColor=#color#
- FontSize=12
- FontFace=#font#
- StringAlign=LEFT
- StringStyle=#style#
- AntiAlias=1
- Text="%1: %2, %3°-%4°"
- Group=forecast
- Hidden=1
- [mtrCurrentName]
- Meter=STRING
- MeasureName2=msrOb
- MeterStyle=sText1
- X=110
- Y=35
- FontSize=((45*#phi#)*#phi#)
- LeftMouseUpAction=[!HideMeterGroup current][!ShowMeterGroup forecast][!Redraw]
- Group=current
- [mtrCurrentTemp]
- Meter=STRING
- MeasureName=msrTemp
- MeterStyle=sText1
- X=r
- Y=0
- FontSize=45
- StringAlign=CENTER
- Text=%1°
- Group=current
- [mtrCurrentCond]
- Meter=STRING
- MeasureName=msrCond
- MeasureName2=msrHum
- MeasureName3=msrWindDir
- MeasureName4=msrWindSpeedKph
- MeasureName5=msrVis
- MeterStyle=sText1
- X=-55r
- Y=-20R
- FontSize=(45*#phi#)
- StringAlign=LEFT
- Text=%1
- Group=current
- ToolTipText="#Humidity#: %2#CRLF##Wind#: %3, %4kph#CRLF##Visibility#: %5 km"
- LeftMouseUpAction=[!HideMeterGroup current][!ShowMeterGroup forecast][!Redraw]
- [mtrD1]
- Meter=STRING
- MeasureName=msrD1Name
- MeasureName2=msrD1Cond
- MeasureName3=msrD1Low
- MeasureName4=msrD1High
- MeterStyle=sText2
- X=0
- Y=0
- FontSize=((45*#phi#)*#phi#)
- LeftMouseUpAction=[!HideMeterGroup forecast][!ShowMeterGroup current][!Redraw]
- [mtrD2]
- Meter=STRING
- MeasureName=msrD2Name
- MeasureName2=msrD2Cond
- MeasureName3=msrD2Low
- MeasureName4=msrD2High
- MeterStyle=sText2
- X=20
- Y=R
- LeftMouseUpAction=[!HideMeterGroup forecast][!ShowMeterGroup Current][!Redraw]
- [mtrD3]
- Meter=STRING
- MeasureName=msrD3Name
- MeasureName2=msrD3Cond
- MeasureName3=msrD3Low
- MeasureName4=msrD3High
- MeterStyle=sText2
- X=r
- Y=5R
- LeftMouseUpAction=[!HideMeterGroup forecast][!ShowMeterGroup Current][!Redraw]
- [mtrD4]
- Meter=STRING
- MeasureName=msrD4Name
- MeasureName2=msrD4Cond
- MeasureName3=msrD4Low
- MeasureName4=msrD4High
- MeterStyle=sText2
- X=r
- Y=5R
- LeftMouseUpAction=[!HideMeterGroup forecast][!ShowMeterGroup Current][!Redraw]
- [mtrLink]
- Meter=STRING
- MeterStyle=sText2
- X=5
- Y=R
- Fontface=Calibri
- StringStyle=NORMAL
- Text="via Weather Underground"
- LeftMouseUpAction=["http://www.wunderground.com/cgi-bin/findweather/getForecast?query=#location#"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement