Re: Change to Yahoo! weather feed
Posted: July 15th, 2016, 7:10 pm
I am using the Encoded time/weather skin: http://lilshizzy.deviantart.com/art/Rainmeter-Encoded-v1-2-3-215992941
I tried to do a fix that someone posted where you change the MeasureWeatherRSS code to this:
This seemed to have worked for everyone else, but it's still not working for me..
Here is my complete code for the skin:
Any help would be greatly appreciated!
I tried to do a fix that someone posted where you change the MeasureWeatherRSS code to this:
Code: Select all
;----------------------------------------------------------
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid=12778665 AND u="F"
RegExp=(?siU).*distance="(.*)".*pressure="(.*)".*speed="(.*)".*temperature="(.*)".*city="(.*)".*country="(.*)".*region="(.*)".*chill="(.*)".*direction="(.*)".*speed="(.*)".*humidity="(.*)".*pressure="(.*)".*rising="(.*)".*visibility="(.*)".*sunrise="(.*)".*sunset="(.*)".*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*condition.*code="(.*)".*temp="(.*)".*text="(.*)".*forecast.*day="(.*)".*code="(.*)".*high="(.*)".*low="(.*)".*text="(.*)".*forecast.*day="(.*)".*code="(.*)".*high="(.*)".*low="(.*)".*text="(.*)".*
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=22
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;----------------------------------------------------------
Here is my complete code for the skin:
Code: Select all
[Rainmeter]
Author=lilshizzy@gmail.com
Update=1000
MouseOverAction=!Execute [!RainmeterShowMeter TempActive][!RainmeterHideMeter Temp][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter TempActive][!RainmeterShowMeter Temp][!RainmeterRedraw]
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Weather_white_div-top.ini
@include=#SKINSPATH#Encoded\Variables\Fonts.inc
[Metadata]
Name=Encoded - Weather Red
Config=
Description=
Instructions=The default weather code is set to Los Angeles, to get your Weather Code visit (weather.yahoo.com) type in your Zip, click the RSS button, your code will be in the address bar. Click on "Edit Skin" below to enter your code.
Version=1000
Tags=
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=
Preview=
[Variables]
@include=#SKINSPATH#Encoded\Variables\Default.inc
[Styles]
@include=#SKINSPATH#Encoded\Variables\Styles.inc
;----------------------------------------------------------
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid=12778665 AND u="F"
RegExp=(?siU).*distance="(.*)".*pressure="(.*)".*speed="(.*)".*temperature="(.*)".*city="(.*)".*country="(.*)".*region="(.*)".*chill="(.*)".*direction="(.*)".*speed="(.*)".*humidity="(.*)".*pressure="(.*)".*rising="(.*)".*visibility="(.*)".*sunrise="(.*)".*sunset="(.*)".*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*condition.*code="(.*)".*temp="(.*)".*text="(.*)".*forecast.*day="(.*)".*code="(.*)".*high="(.*)".*low="(.*)".*text="(.*)".*forecast.*day="(.*)".*code="(.*)".*high="(.*)".*low="(.*)".*text="(.*)".*
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=22
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;----------------------------------------------------------
[Background]
Meter=IMAGE
;SolidColor=0,0,0,50
W=300
H=50
X=0
Y=0
[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
MeterStyle=redboldr
FontSize=23
X=290
Y=0
Postfix="°"
[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
MeterStyle=redlightr
;SolidColor=0,0,0,150
FontSize=23
X=-55r
Y=9r
W=230
H=30
ClipString=1
[TempActive]
Meter=STRING
MeasureName=MeasureWeatherTemp
MeterStyle=redboldr
FontSize=23
X=290
Y=-100r
FontColor=#Color3#
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]]
Postfix="°"
Hidden=1
[Spacer]
Meter=IMAGE
MeterStyle=styleSeperator
SolidColor=#color8#
X=35
Y=5
W=255
H=1