It is currently November 26th, 2022, 8:23 am

Change to Yahoo! weather feed

Release announcements and important news from the developers.
darcilicious
Posts: 34
Joined: May 1st, 2010, 5:34 pm

Re: Change to Yahoo! weather feed

Post by darcilicious »

moshi wrote:this thread was about replacing A with B. the skin you are using does not have A, it has C. (and C is working)
Odd, it stopped working at the same time that A stopped working (otherwise, I wouldn't have bothered posting).

Odder still, I went ahead and downloaded again, reinstalled, and it's still not working. I get no temp and no forecast on click. I have the correct WOEID...
darcilicious
Posts: 34
Joined: May 1st, 2010, 5:34 pm

Re: Change to Yahoo! weather feed

Post by darcilicious »

jsmorley wrote:http://www.deviantart.com/art/Elementary-2-0-426588102

Elementary 2.0 works just fine with the YQL select for weather.
The comments on that page indicate otherwise. It's not just me that started having issues with the Weather skin when stuff changed on Yahoo!'s end.
User avatar
jsmorley
Developer
Posts: 22551
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Yahoo! weather feed

Post by jsmorley »

darcilicious wrote:The comments on that page indicate otherwise. It's not just me that started having issues with the Weather skin when stuff changed on Yahoo!'s end.
Well, don't know what to tell you. I download Elementary 2.0 from that link above, installed it, ran the weather skin without changing anything at all, and it worked just fine for me. I can't tell you how to fix what as far as a can tell isn't broke. You might want to contact the skin author.
1.png
You do not have the required permissions to view the files attached to this post.
darcilicious
Posts: 34
Joined: May 1st, 2010, 5:34 pm

Re: Change to Yahoo! weather feed

Post by darcilicious »

Thanks, I appreciate you taking the time to check.

So apparently something else is messing things up and the timing is just coincidence. Sounds like it's time to start from scratch with a fresh install of Rainmeter.
bluemondaydesign
Posts: 3
Joined: January 15th, 2016, 7:50 am

Re: Change to Yahoo! weather feed

Post by bluemondaydesign »

Looks like Yahoo made some changes again as today, the xml. fix doesn't seem to be working any longer. Any one else having the same issue... and any thoughts to a fix?
jonboykayaks
Posts: 1
Joined: April 11th, 2016, 9:44 pm

Re: Change to Yahoo! weather feed

Post by jonboykayaks »

bluemondaydesign wrote:Looks like Yahoo made some changes again as today, the xml. fix doesn't seem to be working any longer. Any one else having the same issue... and any thoughts to a fix?

It is intermittent with me. It seemed to fix itself a few minutes ago only to not work again when it refreshed.
User avatar
jsmorley
Developer
Posts: 22551
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Yahoo! weather feed

Post by jsmorley »

Hopefully it is just some work they are doing or some issue they are currently having and it will all be ok soon.

After all, Yahoo! is a solid company with a bright future...
train.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22551
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Yahoo! weather feed

Post by jsmorley »

It's back for me...
stephber4
Posts: 1
Joined: April 12th, 2016, 11:27 pm

Re: Change to Yahoo! weather feed

Post by stephber4 »

Not working for me...
http://xml.weather.yahoo.com/ is not loading.

I've tried with a location : http://xml.weather.yahoo.com/forecastrss/NCXX0006_c.xml

Not working either... What the hell is going on with Yahoo ?
Uzal
Posts: 1
Joined: April 13th, 2016, 3:15 am

Re: Change to Yahoo! weather feed

Post by Uzal »

For anyone who is interested, I re-wrote part of the SunRiseSet(http://rainmeterhub.com/skins/sunriseset-1-0/) skin so that it pulls sunrise and sunset data from http://sunrise-sunset.org/'s API instead of Yahoo.

Now I'm about a green as they come in regard to coding, so I have no idea how stable this is, but it appears to work. All you have to do is enter in three things - the latitude, longitude, and UTC Offset (if applicable) for your location.

Here's the relevant snippet anyway:

Code: Select all

;===== Rainmeter ===============;
[Rainmeter]
AppVersion=2003000
Update=1000

;===== Metadata ================;
[Metadata]
Name=
Author=sJ+Uzal (API edit)
Description=Displays Sunrise and Sunset times for your location
Version=
License=

;===== Variables ===============;
[Variables]
Font="Trebuchet MS"
FontCOlor=255,255,255,205
Width=91
Height=45
Xorigin=8
Yorigin=11
Latitude=38.8899
Longitude=-77.0091
UTC_Offset=-4

WebParserSunRiseSet=sunrise":"(.*):(.*):(.*) (.*)","sunset":"(.*):(.*):(.*) (.*)"

;===== MeasureParent ===========;
[MeasureParent]
Measure=Plugin
Plugin=WebParser
UpdateRate=1800
URL=http://api.sunrise-sunset.org/json?lat=#Latitude#&lng=#Longitude#&date=today
RegExp="(?siU)#WebParserSunRiseSet#"
Debug=1

;===== MeasureSunrise/set ======;
[MeasureAstronomySunriseHour]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=1

[MeasureAstronomySunriseMin]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=2

[MeasureAstronomySunriseAMPM]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=4
Substitute="AM":"0","PM":"1"

[MeasureAstronomySunsetHour]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=5

[MeasureAstronomySunsetMin]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=6

[MeasureAstronomySunsetAMPM]
Measure=Plugin
Plugin=WebParser
URL=[MeasureParent]
StringIndex=8
Substitute="AM":"0","PM":"1"

;===== MeasurePosition =========;
[MeasureAstronomySunriseHourAdjust]
Measure=Calc
Formula=[MeasureAstronomySunriseAMPM]*12+MeasureAstronomySunriseHour

+#UTC_Offset#
DynamicVariables=1

[MeasureAstronomySunsetHourAdjust]
Measure=Calc
Formula=[MeasureAstronomySunsetAMPM]*12+MeasureAstronomySunsetHour

+#UTC_Offset#
DynamicVariables=1

[MeasureDifferenceinMin]
Measure=Calc
Formula=(MeasureAstronomySunsetHourAdjust*60+MeasureAstronomySunsetMin)-

(MeasureAstronomySunriseHourAdjust*60+MeasureAstronomySunriseMin)

[MeasureCurrentHour]
Measure=Time
Format=%H

[MeasureCurrentMin]
Measure=Time
Format=%M

[MeasurePosition1]
Measure=Calc
Formula=((MeasureCurrentHour*60+MeasureCurrentMin)-

(MeasureAstronomySunriseHourAdjust*60+MeasureAstronomySunriseMin))/Measure

DifferenceinMin

[MeasurePosition2]
Measure=Calc
Formula=MeasurePosition1 < 0 ? 0 : (MeasurePosition1 < 1 ? 

MeasurePosition1 : 1)

[MeasureX]
Measure=Calc
Formula=#Xorigin#+0.5*#Width#*(1-cos(pi*MeasurePosition2))

[MeasureY]
Measure=Calc
Formula=#Yorigin#+#Height#*(1-sin(pi*MeasurePosition2))