It is currently April 26th, 2024, 5:27 am

Wunderground Weather

Tips and Tricks from the Rainmeter Community
MikeG621
Posts: 87
Joined: March 18th, 2013, 1:59 pm

Wunderground Weather

Post by MikeG621 »

Since Weather.com looks like it's way out, jsmorely has already posted the Yahoo Weather information, so I figured I'll post my Weather Underground code.
There's two different XML formats I've seen the feed use, I don't know if it's related to the particular weather station or they just occasionally mess with the formatting.

The #Location# variable uses the name of the location, not the traditional ID's you're used to (so in my case here at work, it's "FL/Hurlburt_Field", and the feed also doesn't report a numerical weather condition normally used for the icons. The HighTemp and PlotHidden variables are end uses in my skin, which when using the original feed format allowed me to create a line graph of the temperature over the course of the day.

This one's what I call the "lame" variant, and is what is currently active on my end:

Code: Select all

;Version: 151110
;LAME variant - approx temps, wordy

;CHANGELOG
;151110 - Tweaked N.Time capture to allow multiple words (such as "Veterans Day") and match M.Time
;151028 - Tweaked Regex.Desc to account for potential missing space before temp, moved \. into the catch
;151026 - Changed Desc and Temp filters to remove "in the" from results and take into account "near steady temps" and incorporated to Regex.Description and Regex.Temp. added Link to Regex.Item. changed .Link to point to first item's link capture. removed Updated.Hour. added *.Time
;150904 - D/N.Temp removed "in the", D.Temp added "temperature" check, D.Desc is weird
;150810 - Tomorrow.Temp removed "in the", Regex.Wind \d+s to \d+s?, added PlotHidden
;150514 - Regex.Wind
;150513 - LAME variant created for XML feed changes (Regex.Rain, Substitute.*, D/N/M.Wind*)

[Variables]
WeatherURL=http://www.wunderground.com/auto/rss_full/#Location#.xml
Regex.Item=.*<item.*<link>(.*)</link.*<description>(.*)</item>
Regex.Alert=(?(?=.*CDATA).*<link>(.*)</link>.*CDATA\[(.*)]].*<pubDate>(.*)</pubDate>)
Regex.Rain=(?sU)(?(?=.*Chance\sof\s(?:precipitation|showers\s\d)).*Chance\sof\s(?:precipitation|showers)\s(\d+)\spercent(?(?=.*near).*near\s(.*)in))(.*)
Regex.Wind=(?sU)(?(?=.*\swinds\s).*\d+s?\.\s(.*)\swinds\s(.*)\smph)(.*)
Regex.Description=(?siU)CDATA.*\s-\s(.*\.)\s*(?:High|Low|Near\ssteady)
Regex.Temp=(?siU)(?:Highs|Lows|temperature)(?:\sin\sthe\s|\s)(.*)\.
Substitute.Angle="NNE":"22","ENE":"68","NE":"45","ESE":"112","SSE":"158","SE":"135","WSW":"202","SSW":"248","SW":"225","WNW":"292","NNW":"338","NW":"315","Northeast":"45","Southeast":"135","Southwest":"225","Northwest":"315","North":"0","East":"90","South":"180","West":"270","N":"0","E":"90","S":"180","W":"270"
Substitute.Cardinal="orth":"","outh":"","est":"","ast":"","e":"E","w":"W"
HighTemp=0
PlotHidden=1

[WWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=60
Url=#WeatherURL#
ForceReload=1
RegExp=(?siU)<atom.*\"(.*)\".*<title>(.*)\sWeather.*<link>(.*)</link>.*<pubDate>(.*)</pubDate>#Regex.Item##Regex.Item##Regex.Item##Regex.Item##Regex.Alert##Regex.Alert##Regex.Alert##Regex.Alert#(.*)
StringIndex=3
Debug=1

[WWeather.XML]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=1

[WWeather.Location]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=2

[WWeather.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=4

[WWeather.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=5

[WWeather.Current.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Temperature:\s(.*)&
StringIndex=6
StringIndex2=1

[WWeather.Current.Humidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Humidity:\s(.*)%
StringIndex=6
StringIndex2=1

[WWeather.Current.Pressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Pressure:\s(.*)in
StringIndex=6
StringIndex2=1

[WWeather.Current.PressureTrend]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Pressure.*hPa\s(.*)\s
StringIndex=6
StringIndex2=1

[WWeather.Current.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Conditions:\s(.*)\s\|
StringIndex=6
StringIndex2=1

[WWeather.Current.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Direction:\s(.*)\s\|
StringIndex=6
StringIndex2=1
Substitute=#Substitute.Cardinal#

[WWtempW]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Direction:\s(.*)\s\|
StringIndex=6
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Current.Wind.Angle]
Measure=Calc
Formula=[WWtempW]
DynamicVariables=1
MaxValue=360

[WWeather.Current.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Speed:\s(.*)mph
StringIndex=6
StringIndex2=1

[WWeather.Today.Time]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\n(?:\sRest\sof\s|\s)(\w+)\s-\s
StringIndex=8
StringIndex2=1

[WWeather.Today.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Description#
StringIndex=8
StringIndex2=1

[WWeather.Today.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Temp#
StringIndex=8
StringIndex2=1

[WWeather.Today.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=1
Substitute=#Substitute.Cardinal#

[WWtempW1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Today.Wind.Angle]
Measure=Calc
Formula=[WWtempW1]
DynamicVariables=1
MaxValue=360

[WWeather.Today.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=2

[WWeather.Today.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=8
StringIndex2=1

[WWeather.Today.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=6
StringIndex2=2

[WWeather.Tonight.Time]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\n\t(.*)\s-\s
StringIndex=10
StringIndex2=1

[WWeather.Tonight.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Description#
StringIndex=10
StringIndex2=1

[WWeather.Tonight.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Temp#
StringIndex=10
StringIndex2=1

[WWeather.Tonight.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=10
StringIndex2=1
Substitute=#Substitute.Cardinal#

[WWtempW2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=10
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Tonight.Wind.Angle]
Measure=Calc
Formula=[WWtempW2]
DynamicVariables=1
MaxValue=360

[WWeather.Tonight.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=10
StringIndex2=2

[WWeather.Tonight.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=10
StringIndex2=1

[WWeather.Tonight.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=10
StringIndex2=2

[WWeather.Tomorrow.Time]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\n\t(.*)\s-\s
StringIndex=12
StringIndex2=1

[WWeather.Tomorrow.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Description#
StringIndex=12
StringIndex2=1

[WWeather.Tomorrow.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Temp#
StringIndex=12
StringIndex2=1

[WWeather.Tomorrow.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=12
StringIndex2=1
Substitute=#Substitute.Cardinal#

[WWtempW3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=12
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Tomorrow.Wind.Angle]
Measure=Calc
Formula=[WWtempW3]
DynamicVariables=1
MaxValue=360

[WWeather.Tomorrow.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=12
StringIndex2=2

[WWeather.Tomorrow.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=12
StringIndex2=1

[WWeather.Tomorrow.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=12
StringIndex2=2

[WWeather.Alert1.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=13

[WWeather.Alert1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=14

[WWtempA1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=14
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert1.Active]
Measure=Calc
Formula=[WWtempA1]
DynamicVariables=1

[WWeather.Alert1.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=15

[WWeather.Alert2.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=16

[WWeather.Alert2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=17

[WWtempA2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=17
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert2.Active]
Measure=Calc
Formula=[WWtempA2]
DynamicVariables=1

[WWeather.Alert2.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=18

[WWeather.Alert3.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=19

[WWeather.Alert3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=20

[WWtempA3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=20
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert3.Active]
Measure=Calc
Formula=[WWtempA3]
DynamicVariables=1

[WWeather.Alert3.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=21

[WWeather.Alert4.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=22

[WWeather.Alert4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=23

[WWtempA4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=23
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert4.Active]
Measure=Calc
Formula=[WWtempA4]
DynamicVariables=1

[WWeather.Alert4.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=24
And this is the original version, which has precise temps in the forecast and slightly different wording throughout.

Code: Select all

;Version: 150810
;NORMAL variant - more concise, real numbers for temps

;CHANGELOG
;150810 - Added PlotHidden
;150317 - Tweaked Today.Desc to prevent errors at night
;150316 - HighTemp implement
;150312 - Fixed Regex.Wind again, made first two passive
;150311 - Tweaked Regex.Wind to include [NSEW] to prevent catching phrases like "Winds light and variable"
;150309 - Fixed the occassional use of "near" or "around" in Today/Tonight/Tomorrow.Temp
;150305 - Added full direction to Substitute.Angle
;150304 - Updates for XML feed changes (Regex.Wind, Today/Tonight/Tomorrow.Wind*.StringIndex2, Today/Tonight/Tomorrow.Temp, Substitute.Angle)

[Variables]
WeatherURL=http://www.wunderground.com/auto/rss_full/#Location#.xml
Regex.Item=.*<item.*</title>(.*)</item>
Regex.Alert=(?(?=.*CDATA).*<link>(.*)</link>.*CDATA\[(.*)]].*<pubDate>(.*)</pubDate>)
Regex.Rain=(?sU)(?(?=.*Chance\sof\s(?:rain|precipitation)).*Chance\sof\s(?:rain|precipitation)\s(.*)(?:%|percent)(?(?=.*near).*near\s(.*)in))(.*)
Regex.Wind=(?sU)(?(?=.*(?:Winds\s[NSEW]+\s|shifting\sto)).*(?:Winds|shifting\sto)\s(.*)\sat\s(.*)\smph)(.*)
Substitute.Angle="NNE":"22","ENE":"68","NE":"45","ESE":"112","SSE":"158","SE":"135","WSW":"202","SSW":"248","SW":"225","WNW":"292","NNW":"338","NW":"315","North":"0","East":"90","South":"180","West":"270","N":"0","E":"90","S":"180","W":"270"
Substitute.Cardinal="orth":"","outh":"","est":"","ast":""
HighTemp=0
PlotHidden=0

[WWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=60
Url=#WeatherURL#
ForceReload=1
RegExp=(?siU)<atom.*\"(.*)\".*<title>(.*)\sWeather.*<link>(.*)</link>.*<pubDate>(.*)</pubDate>#Regex.Item##Regex.Item##Regex.Item##Regex.Item##Regex.Alert##Regex.Alert##Regex.Alert##Regex.Alert#(.*)
StringIndex=3
Debug=1

[WWeather.XML]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=1

[WWeather.Location]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=2

[WWeather.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=4

[WWeather.Updated.Hour]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)\s(\d+):
StringIndex=4
StringIndex2=1
IfAboveValue=16
IfAboveAction=[!SetOption WWeather.Today.Temp FinishAction ""][!Log "After 5, Today.Temp disabled"]
IfBelowValue=17
IfBelowAction=[!SetOption WWeather.Today.Temp FinishAction "!SetVariable HighTemp [*WWeather.Today.Temp*]"][!Log "After midnight, Today.Temp enabled"]

[WWeather.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)<link>(.*)</link>
StringIndex=5
StringIndex2=1

[WWeather.Current.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Temperature:\s(.*)&
StringIndex=5
StringIndex2=1

[WWeather.Current.Humidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Humidity:\s(.*)%
StringIndex=5
StringIndex2=1

[WWeather.Current.Pressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Pressure:\s(.*)in
StringIndex=5
StringIndex2=1

[WWeather.Current.PressureTrend]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Pressure.*hPa\s(.*)\s
StringIndex=5
StringIndex2=1

[WWeather.Current.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Conditions:\s(.*)\s\|
StringIndex=5
StringIndex2=1

[WWeather.Current.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Direction:\s(.*)\s\|
StringIndex=5
StringIndex2=1
Substitute=#Substitute.Cardinal#

[WWtempW]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Direction:\s(.*)\s\|
StringIndex=5
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Current.Wind.Angle]
Measure=Calc
Formula=[WWtempW]
DynamicVariables=1
MaxValue=360

[WWeather.Current.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Speed:\s(.*)mph
StringIndex=5
StringIndex2=1

[WWeather.Today.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\s-\s(.*)\s(?:High|Low)
StringIndex=6
StringIndex2=1

[WWeather.Today.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)High(?:.*)\s(\d+)F
StringIndex=6
StringIndex2=1
FinishAction=!SetVariable HighTemp [WWeather.Today.Temp]

[WWeather.Today.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=6
StringIndex2=1
;Substitute=#Substitute.Cardinal#

[WWtempW1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=6
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Today.Wind.Angle]
Measure=Calc
Formula=[WWtempW1]
DynamicVariables=1
MaxValue=360

[WWeather.Today.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=6
StringIndex2=2

[WWeather.Today.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=6
StringIndex2=1

[WWeather.Today.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=6
StringIndex2=2

[WWeather.Tonight.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\s-\s(.*)\sLow
StringIndex=7
StringIndex2=1

[WWeather.Tonight.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)Low(?:.*)\s(\d+)F.
StringIndex=7
StringIndex2=1

[WWeather.Tonight.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=7
StringIndex2=1
;Substitute=#Substitute.Cardinal#

[WWtempW2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=7
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Tonight.Wind.Angle]
Measure=Calc
Formula=[WWtempW2]
DynamicVariables=1
MaxValue=360

[WWeather.Tonight.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=7
StringIndex2=2

[WWeather.Tonight.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=7
StringIndex2=1

[WWeather.Tonight.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=7
StringIndex2=2

[WWeather.Tomorrow.Desc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)CDATA.*\s-\s(.*)\sHigh
StringIndex=8
StringIndex2=1

[WWeather.Tomorrow.Temp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=(?siU)High(?:.*)\s(\d+)F
StringIndex=8
StringIndex2=1

[WWeather.Tomorrow.Wind.Dir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=1
;Substitute=#Substitute.Cardinal#

[WWtempW3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=1
Substitute=#Substitute.Angle#

[WWeather.Tomorrow.Wind.Angle]
Measure=Calc
Formula=[WWtempW3]
DynamicVariables=1
MaxValue=360

[WWeather.Tomorrow.Wind.Speed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Wind#
StringIndex=8
StringIndex2=2

[WWeather.Tomorrow.Rain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=8
StringIndex2=1

[WWeather.Tomorrow.RainAmount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
RegExp=#Regex.Rain#
StringIndex=8
StringIndex2=2

[WWeather.Alert1.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=9

[WWeather.Alert1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=10

[WWtempA1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=10
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert1.Active]
Measure=Calc
Formula=[WWtempA1]
DynamicVariables=1

[WWeather.Alert1.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=11

[WWeather.Alert2.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=12

[WWeather.Alert2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=13

[WWtempA2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=13
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert2.Active]
Measure=Calc
Formula=[WWtempA2]
DynamicVariables=1

[WWeather.Alert2.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=14

[WWeather.Alert3.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=15

[WWeather.Alert3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=16

[WWtempA3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=16
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert3.Active]
Measure=Calc
Formula=[WWtempA3]
DynamicVariables=1

[WWeather.Alert3.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=17

[WWeather.Alert4.Link]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=18

[WWeather.Alert4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=19

[WWtempA4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=19
RegExpSubstitute=1
Substitute=".*until.*":"1"

[WWeather.Alert4.Active]
Measure=Calc
Formula=[WWtempA4]
DynamicVariables=1

[WWeather.Alert4.Updated]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[WWeather]
StringIndex=20
You do not have the required permissions to view the files attached to this post.