Info: Weather.com Location Codes Have Changed

General topics related to Rainmeter.
User avatar

Re: Info: Weather.com Location Codes Have Changed

June 7th, 2018, 1:30 pm
jsmorley
Developer   [17843 posts]

balala wrote:So, the old format for US, too?


Yes.
User avatar

Re: Info: Weather.com Location Codes Have Changed

June 7th, 2018, 1:40 pm
balala
Rainmeter Sage   [6526 posts]

I got now the new format, as SilverAzide have described it here. It seems he head right and this indeed is a working format, at least on the site. But the xml is still working with the old codes, because as I said before, my skin is still working.
User avatar

Re: Info: Weather.com Location Codes Have Changed

June 7th, 2018, 2:58 pm
jsmorley
Developer   [17843 posts]

Hm.. Well it does seem like the most reliable way to get the code is to use http://wxdata.weather.com/wxdata/search/search?where=xxx and do "View source" to see the code.
User avatar

Re: Info: Weather.com Location Codes Have Changed

July 29th, 2018, 3:17 am
Aethrios
   [50 posts]

Has this situation developed at all? Just today, using the old standard (and even trying again with a US zip code) my weather skin has broken. Been going strong for ~5 years, webparser unchanged.

I'm able to pull up the xml in a web browser just fine, but Rainmeter seems grumpy.

I did a search using the wxdata url as well, tried that code, and continued to get just about the same xml, with no change in Rainmeter's behavior.

URL:

Code: Select all

http://wxdata.weather.com/wxdata/weather/local/USWA0395?cc=*&unit=f&dayf=3


Error:

Code: Select all

RegExp matching error (-1)

Re: Info: Weather.com Location Codes Have Changed

July 29th, 2018, 8:22 am
iron2000
   [8 posts]

Aethrios wrote:Has this situation developed at all? Just today, using the old standard (and even trying again with a US zip code) my weather skin has broken. Been going strong for ~5 years, webparser unchanged.

I'm able to pull up the xml in a web browser just fine, but Rainmeter seems grumpy.

I did a search using the wxdata url as well, tried that code, and continued to get just about the same xml, with no change in Rainmeter's behavior.

URL:

Code: Select all

http://wxdata.weather.com/wxdata/weather/local/USWA0395?cc=*&unit=f&dayf=3


Error:

Code: Select all

RegExp matching error (-1)

Some tags I was looking for with my RegExp disappeared from the XML.
The current temperature and conditions are missing.
That is whats causing the error.

Not sure if its a problem on their side or its a change they put out today.

Re: Info: Weather.com Location Codes Have Changed

July 29th, 2018, 9:14 am
nmdelrio
   [47 posts]

I am experiencing the same problem, just today.
User avatar

Re: Info: Weather.com Location Codes Have Changed

July 29th, 2018, 7:40 pm
Aethrios
   [50 posts]

iron2000 wrote:Some tags I was looking for with my RegExp disappeared from the XML.
The current temperature and conditions are missing.


FFS, you're absolutely right. I noticed that I couldn't find the first child measure output (current temp), but dismissed it as just having overlooked something. But since it's a change on their end, it is broken, borking the whole skin.

That's outrageous. Why even bother displaying weather information if you're not going to include the current weather information?

Anyone have sauce for a different source XML?
User avatar

Re: Info: Weather.com Location Codes Have Changed

July 29th, 2018, 8:03 pm
jsmorley
Developer   [17843 posts]

Aethrios wrote:FFS, you're absolutely right. I noticed that I couldn't find the first child measure output (current temp), but dismissed it as just having overlooked something. But since it's a change on their end, it is broken, borking the whole skin.

That's outrageous. Why even bother displaying weather information if you're not going to include the current weather information?

Anyone have sauce for a different source XML?


My skin using the same source is fine, so I suspect it is some temporary regional problem on their end.

Re: Info: Weather.com Location Codes Have Changed

July 30th, 2018, 4:41 pm
nmdelrio
   [47 posts]

Mine has started working again. :thumbup:

Re: Info: Weather.com Location Codes Have Changed

July 30th, 2018, 11:50 pm
iron2000
   [8 posts]

Mine too have returned to working condition.
The tags are back!

Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 2 guests