Ahh if you're using the CircuitousTwo weather skin then it should be working, only thing I could think of is that you didn't copy the code in correctly, I'm really not sure though sorry.Znake wrote:Thanks, but it doesnt work for me, Any sugestions?
It is currently September 28th, 2023, 7:25 am
Change to Yahoo! weather feed
-
- Posts: 5
- Joined: January 10th, 2016, 1:19 pm
Re: Change to Yahoo! weather feed
-
- Posts: 4
- Joined: June 20th, 2016, 2:18 pm
Re: Change to Yahoo! weather feed
Guys I really suck at being a geek but lately my weather skin has stopped working and I have this error message showing up at my rainmeter log every time I try to refresh my weather skin. The message says "RegExp matching error (-1)" and my weather skin's not working at all.
And these are the settings that I have :
I would really appreciate it someone could help me out solve the error here.
And these are the settings that I have :
Code: Select all
[mWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast#
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter mWeatherDesc][!RainmeterHideMeter mWeatherTemp][!RainmeterShowMeter MeterText]
;Debug=1
-
- Developer
- Posts: 22590
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Change to Yahoo! weather feed
What are the #Variables# that are populating this:eNsLaV eD wrote:Guys I really suck at being a geek but lately my weather skin has stopped working and I have this error message showing up at my rainmeter log every time I try to refresh my weather skin. The message says "RegExp matching error (-1)" and my weather skin's not working at all.
And these are the settings that I have :
I would really appreciate it someone could help me out solve the error here.Code: Select all
[mWeatherRSS] Measure=Plugin Plugin=Plugins\WebParser.dll UpdateRate=3600 Url=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast# RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*" StringIndex=1 IfAboveValue=1 IfAboveAction=!execute [!RainmeterHideMeter mWeatherDesc][!RainmeterHideMeter mWeatherTemp][!RainmeterShowMeter MeterText] ;Debug=1
Url=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast#
-
- Posts: 4
- Joined: June 20th, 2016, 2:18 pm
Re: Change to Yahoo! weather feed
Here, these are the variables...
Code: Select all
[Variables]
Location=QAXX0002
########################
// Look up your location at www.weather.com
########################
Type=m
postfix=C
########################
// For Fahrenheit:
// Type=f
// postfix=F
########################
[Image]
Meter=IMAGE
ImageName=bgweather.png
X=124
Y=0
-
- Developer
- Posts: 22590
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Change to Yahoo! weather feed
Well, as you might be able to see, the #Variables# you are using in the URL:eNsLaV eD wrote:Here, these are the variables...
Code: Select all
[Variables] Location=QAXX0002 ######################## // Look up your location at www.weather.com ######################## Type=m postfix=C ######################## // For Fahrenheit: // Type=f // postfix=F ######################## [Image] Meter=IMAGE ImageName=bgweather.png X=124 Y=0
http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast#
Have nothing to do with the variables you have defined. It's not #LocationCode#, it's #Location# etc. I think with this hint you can fix the problems.
-
- Posts: 2
- Joined: June 22nd, 2016, 1:53 am
Re: Change to Yahoo! weather feed
Hi, i tried a lot of things changing my ABP Theme weather.ini but nothing works :-'(
Code: Select all
[Rainmeter]
Author=P2C | toastbrotpascal.deviantart.com
Update=1000
@include="#SKINSPATH#\ABP\Variables.txt"
@include2="#SKINSPATH#\ABP\Resources\#Skin#\Colors.txt"
[Variables]
Closed=1
Open=0
[BG]
Meter=IMAGE
ImageName=WeatherBG.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
[BG2]
Meter=IMAGE
ImageName=WeatherBG2.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
Y=115
Hidden=#Open#
Group=Open
[Bottom]
Meter=IMAGE
ImageName=Bottom.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
Y=186
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
URL=http://xml.weather.yahoo.com/forecastrss?w=#LocationCode#&u=#Unit#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
[CurrentTemperature]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp
X=175
Y=70
Postfix="°"
FontSize=12
FontColor=#Color#
StringAlign=RIGHT
[CurrentIcon]
Meter=Image
MeasureName=MeasureWeatherIcon
Path="#SKINSPATH#\ABP\Resources\Weather\LargeIcons"
X=20
W=145
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[WeatherDescription]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherDesc
StringAlign=CENTER
X=97
Y=98
FontSize=8
[Down]
Meter=IMAGE
ImageName=Down.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=86
Y=118
Group=Closed
Hidden=#Closed#
MouseOverAction=!Execute [!RainmeterShowMeter DownH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter DownH][!RainmeterRedraw]
[DownH]
Meter=IMAGE
ImageName=Down.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=r
Y=r
Hidden=1
ImageTint=#Color#
LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 186][!RainmeterWriteKeyValue Variables Closed 1][!RainmeterWriteKeyValue Variables Open 0][!RainmeterHideMeterGroup Closed][!RainmeterShowMeterGroup Open][!RainmeterMoveMeter 0 186 Bottom][!RainmeterHideMeter DownH][!RainmeterRedraw]
[Up]
Meter=IMAGE
ImageName=Up.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=86
Y=189
Group=Open
Hidden=#Open#
MouseOverAction=!Execute [!RainmeterShowMeter UpH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter UpH][!RainmeterRedraw]
[UpH]
Meter=IMAGE
ImageName=Up.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=r
Y=r
Hidden=1
ImageTint=#Color#
LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 115][!RainmeterWriteKeyValue Variables Closed 0][!RainmeterWriteKeyValue Variables Open 1][!RainmeterShowMeterGroup Closed][!RainmeterHideMeterGroup Open][!RainmeterMoveMeter 0 115 Bottom][!RainmeterHideMeter UpH][!RainmeterRedraw]
[TodayText]
Meter=STRING
MeterStyle=Style
FontColor=#Color#
X=28
Y=120
Text="Today:"
Group=Open
Hidden=#Open#
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13
[TodayTemperature]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp2
X=R
Y=r
FontSize=8
Postfix="°"
Group=Open
Hidden=#Open#
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14
[TodayIcon]
Meter=Image
MeasureName=MeasureWeatherIcon2
Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons"
X=27
Y=15r
Group=Open
Hidden=#Open#
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15
[Date3]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherDate3
FontColor=#Color#
X=122
Y=120
FontSize=8
Postfix=":"
Group=Open
Hidden=#Open#
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
[Temperature3]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp3
X=R
Y=r
FontSize=8
Postfix="°"
Group=Open
Hidden=#Open#
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17
[Icon3]
Meter=Image
MeasureName=MeasureWeatherIcon3
Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons"
X=109
Y=15r
Group=Open
Hidden=#Open#
[Yahoo]
Meter=STRING
MeterStyle=Style
X=100
Y=171
Text="Yahoo! Weather"
FontSize=7
StringAlign=CENTER
Group=Open
Hidden=#Open#
LeftMouseUpAction=!Execute ["http://weather.yahoo.com"]
Get the feeling of infatuition.
-
- Rainmeter Sage
- Posts: 5185
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Change to Yahoo! weather feed
Replace 'weather.ini' with this code:germangabrielwle wrote:Hi, i tried a lot of things changing my ABP Theme weather.ini but nothing works :-'(
Code: Select all
[Rainmeter]
Author=P2C | toastbrotpascal.deviantart.com
Update=1000
@include="#SKINSPATH#\ABP\Variables.txt"
@include2="#SKINSPATH#\ABP\Resources\#Skin#\Colors.txt"
;Metadata added by RainBrowser
;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=
;End of added Metadata
[Variables]
Closed=1
Open=0
[BG]
Meter=IMAGE
ImageName=WeatherBG.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
[BG2]
Meter=IMAGE
ImageName=WeatherBG2.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
Y=115
Hidden=#Open#
Group=Open
[Bottom]
Meter=IMAGE
ImageName=Bottom.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
Y=186
[MeasureWeatherRSS]
Measure=Plugin
Plugin=WebParser.dll
UpdateRate=1800
Url=https://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=6
RegExp="(?siU)<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<r>(.*)</r>.*<d>(.*)</d>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis.(.*)</vis>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<icon>(.*)</icon>.*<day d="0" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="1" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="2" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="3" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="4" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="5" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=2
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=6
[CurrentTemperature]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp
X=175
Y=70
StringCase=Upper
Postfix="°c"
FontSize=15
FontColor=#Color#
StringAlign=RIGHT
[CurrentIcon]
Meter=Image
MeasureName=MeasureWeatherIcon
Path="#SKINSPATH#\ABP\Resources\Weather\LargeIcons"
X=20
W=145
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[WeatherDescription]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherDesc
StringAlign=CENTER
X=97
Y=98
FontSize=8
[Down]
Meter=IMAGE
ImageName=Down.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=86
Y=118
Group=Closed
Hidden=#Closed#
MouseOverAction=!Execute [!RainmeterShowMeter DownH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter DownH][!RainmeterRedraw]
[DownH]
Meter=IMAGE
ImageName=Down.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=r
Y=r
Hidden=1
ImageTint=#Color#
LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 186][!RainmeterWriteKeyValue Variables Closed 1][!RainmeterWriteKeyValue Variables Open 0][!RainmeterHideMeterGroup Closed][!RainmeterShowMeterGroup Open][!RainmeterMoveMeter 0 186 Bottom][!RainmeterHideMeter DownH][!RainmeterRedraw]
[Up]
Meter=IMAGE
ImageName=Up.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=86
Y=189
Group=Open
Hidden=#Open#
MouseOverAction=!Execute [!RainmeterShowMeter UpH][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter UpH][!RainmeterRedraw]
[UpH]
Meter=IMAGE
ImageName=Up.png
Path="#SKINSPATH#\ABP\Resources\#Skin#"
X=r
Y=r
Hidden=1
ImageTint=#Color#
LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 115][!RainmeterWriteKeyValue Variables Closed 0][!RainmeterWriteKeyValue Variables Open 1][!RainmeterShowMeterGroup Closed][!RainmeterHideMeterGroup Open][!RainmeterMoveMeter 0 115 Bottom][!RainmeterHideMeter UpH][!RainmeterRedraw]
[TodayText]
Meter=STRING
MeterStyle=Style
FontColor=#Color#
X=28
Y=120
Text="Morgen:"
Group=Open
Hidden=#Open#
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=29
[TodayTemperature]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp2
X=R
Y=r
FontSize=8
StringCase=Upper
Postfix="°c"
Group=Open
Hidden=#Open#
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=33
[TodayIcon]
Meter=Image
MeasureName=MeasureWeatherIcon2
Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons"
X=27
Y=15r
Group=Open
Hidden=#Open#
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=35
Substitute="Saturday":"Samstag","Sunday":"Sonntag","Monday":"Montag","Tuesday":"Dienstag","Wednesday":"Mittwoch","Thursday":"Donnerstag","Friday":"Freitag"
[Date3]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherDate3
FontColor=#Color#
X=106
Y=120
FontSize=8
Postfix=":"
Group=Open
Hidden=#Open#
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=37
[Temperature3]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherTemp3
X=R
Y=r
FontSize=8
StringCase=Upper
Postfix="°c"
Group=Open
Hidden=#Open#
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=41
[Icon3]
Meter=Image
MeasureName=MeasureWeatherIcon3
Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons"
X=109
Y=15r
Group=Open
Hidden=#Open#
[Yahoo]
Meter=STRING
MeterStyle=Style
MeasureName=MeasureWeatherRSS
X=100
Y=171
H=16
;Text="Wetter Bernburg"
FontSize=9
StringAlign=CENTER
ClipString=2
ClipStringW=170
Group=Open
Hidden=#Open#
LeftMouseUpAction=!Execute ["http://weather.com/"]
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 2
- Joined: June 22nd, 2016, 1:53 am
Re: Change to Yahoo! weather feed
OMG! thank you so much!


eclectic-tech wrote:Replace 'weather.ini' with this code:Code: Select all
[Rainmeter] Author=P2C | toastbrotpascal.deviantart.com Update=1000 @include="#SKINSPATH#\ABP\Variables.txt" @include2="#SKINSPATH#\ABP\Resources\#Skin#\Colors.txt" ;Metadata added by RainBrowser ;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin [Metadata] Name= Config= Description= Instructions= Version= Tags= License= Variant= Preview= ;End of added Metadata [Variables] Closed=1 Open=0 [BG] Meter=IMAGE ImageName=WeatherBG.png Path="#SKINSPATH#\ABP\Resources\#Skin#" [BG2] Meter=IMAGE ImageName=WeatherBG2.png Path="#SKINSPATH#\ABP\Resources\#Skin#" Y=115 Hidden=#Open# Group=Open [Bottom] Meter=IMAGE ImageName=Bottom.png Path="#SKINSPATH#\ABP\Resources\#Skin#" Y=186 [MeasureWeatherRSS] Measure=Plugin Plugin=WebParser.dll UpdateRate=1800 Url=https://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=6 RegExp="(?siU)<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<r>(.*)</r>.*<d>(.*)</d>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis.(.*)</vis>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<icon>(.*)</icon>.*<day d="0" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="1" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="2" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="3" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="4" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*<day d="5" t="(.*)" dt="(.*)">.*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<icon>(.*)</icon>.*<t>(.*)</t>.*" StringIndex=2 [MeasureWeatherTemp] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=3 [MeasureWeatherIcon] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=6 [CurrentTemperature] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherTemp X=175 Y=70 StringCase=Upper Postfix="°c" FontSize=15 FontColor=#Color# StringAlign=RIGHT [CurrentIcon] Meter=Image MeasureName=MeasureWeatherIcon Path="#SKINSPATH#\ABP\Resources\Weather\LargeIcons" X=20 W=145 [MeasureWeatherDesc] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=5 [WeatherDescription] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherDesc StringAlign=CENTER X=97 Y=98 FontSize=8 [Down] Meter=IMAGE ImageName=Down.png Path="#SKINSPATH#\ABP\Resources\#Skin#" X=86 Y=118 Group=Closed Hidden=#Closed# MouseOverAction=!Execute [!RainmeterShowMeter DownH][!RainmeterRedraw] MouseLeaveAction=!Execute [!RainmeterHideMeter DownH][!RainmeterRedraw] [DownH] Meter=IMAGE ImageName=Down.png Path="#SKINSPATH#\ABP\Resources\#Skin#" X=r Y=r Hidden=1 ImageTint=#Color# LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 186][!RainmeterWriteKeyValue Variables Closed 1][!RainmeterWriteKeyValue Variables Open 0][!RainmeterHideMeterGroup Closed][!RainmeterShowMeterGroup Open][!RainmeterMoveMeter 0 186 Bottom][!RainmeterHideMeter DownH][!RainmeterRedraw] [Up] Meter=IMAGE ImageName=Up.png Path="#SKINSPATH#\ABP\Resources\#Skin#" X=86 Y=189 Group=Open Hidden=#Open# MouseOverAction=!Execute [!RainmeterShowMeter UpH][!RainmeterRedraw] MouseLeaveAction=!Execute [!RainmeterHideMeter UpH][!RainmeterRedraw] [UpH] Meter=IMAGE ImageName=Up.png Path="#SKINSPATH#\ABP\Resources\#Skin#" X=r Y=r Hidden=1 ImageTint=#Color# LeftMouseUpAction=!Execute [!RainmeterWriteKeyValue Bottom Y 115][!RainmeterWriteKeyValue Variables Closed 0][!RainmeterWriteKeyValue Variables Open 1][!RainmeterShowMeterGroup Closed][!RainmeterHideMeterGroup Open][!RainmeterMoveMeter 0 115 Bottom][!RainmeterHideMeter UpH][!RainmeterRedraw] [TodayText] Meter=STRING MeterStyle=Style FontColor=#Color# X=28 Y=120 Text="Morgen:" Group=Open Hidden=#Open# [MeasureWeatherTemp2] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=29 [TodayTemperature] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherTemp2 X=R Y=r FontSize=8 StringCase=Upper Postfix="°c" Group=Open Hidden=#Open# [MeasureWeatherIcon2] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=33 [TodayIcon] Meter=Image MeasureName=MeasureWeatherIcon2 Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons" X=27 Y=15r Group=Open Hidden=#Open# [MeasureWeatherDate3] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=35 Substitute="Saturday":"Samstag","Sunday":"Sonntag","Monday":"Montag","Tuesday":"Dienstag","Wednesday":"Mittwoch","Thursday":"Donnerstag","Friday":"Freitag" [Date3] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherDate3 FontColor=#Color# X=106 Y=120 FontSize=8 Postfix=":" Group=Open Hidden=#Open# [MeasureWeatherTemp3] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=37 [Temperature3] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherTemp3 X=R Y=r FontSize=8 StringCase=Upper Postfix="°c" Group=Open Hidden=#Open# [MeasureWeatherIcon3] Measure=Plugin Plugin=Plugins\WebParser.dll Url=[MeasureWeatherRSS] StringIndex=41 [Icon3] Meter=Image MeasureName=MeasureWeatherIcon3 Path="#SKINSPATH#\ABP\Resources\Weather\SmallIcons" X=109 Y=15r Group=Open Hidden=#Open# [Yahoo] Meter=STRING MeterStyle=Style MeasureName=MeasureWeatherRSS X=100 Y=171 H=16 ;Text="Wetter Bernburg" FontSize=9 StringAlign=CENTER ClipString=2 ClipStringW=170 Group=Open Hidden=#Open# LeftMouseUpAction=!Execute ["http://weather.com/"]
Get the feeling of infatuition.
-
- Posts: 4
- Joined: June 20th, 2016, 2:18 pm
Re: Change to Yahoo! weather feed
Hey I tried using a URL that goes with my variables but still nothing's happening.
Could it be a problem with the RegExp? Because the error message is still saying "RegExp matching error (-1)".
Code: Select all
[mWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Type#&dayf=6
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter mWeatherDesc][!RainmeterHideMeter mWeatherTemp][!RainmeterShowMeter MeterText]
;Debug=1
-
- Developer
- Posts: 22590
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Change to Yahoo! weather feed
No, it's not the correct URL...eNsLaV eD wrote:Hey I tried using a URL that goes with my variables but still nothing's happening.
Could it be a problem with the RegExp? Because the error message is still saying "RegExp matching error (-1)".Code: Select all
[mWeatherRSS] Measure=Plugin Plugin=Plugins\WebParser.dll UpdateRate=3600 Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Type#&dayf=6 RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*" StringIndex=1 IfAboveValue=1 IfAboveAction=!execute [!RainmeterHideMeter mWeatherDesc][!RainmeterHideMeter mWeatherTemp][!RainmeterShowMeter MeterText] ;Debug=1
http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Type#&dayf=6