It looks like Weather.com may have finally (after warning that they would do so for years) killed the XML weather feed that was based on a URL like:
[Variables]
LocationCode=USOK0369
UnitOfMeasure=f
DaysForecast=3
URL=http://xml.weather.com/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast#
That no longer works as of this writing. However, it appears that an alternative URL, like:
URL=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysForecast#
Will work, and seems to return the same data as the old xml.weather.com URL. So in theory, you should be able to just change the URL in your skin(s) and get things working again.
However
I would not particularly count on this lasting forever though. Weather.com really has no further interest in providing "free" feeds of their data, but would like everyone to "subscribe" to an API-based solution that they can monetize. There are rumors that even the alternative URL might be shutdown or restricted. Might have a limit on the number of times it can be accessed in a day, or restricted to some locations based on IP but not others, or who knows what. It might not be a terrible idea to at least start thinking about alternatives, like Yahoo Weather or Weather Underground or various other weather sources.
Yahoo Weather Feed
Code: Select all
[Variables]
; Weather variables
;http://weather.yahooapis.com/forecastrss?w=2378074&u=f
; You MUST set the Location variable to the Yahoo WOEID code for your location.
; Go to: http://woeid.rosselliot.co.nz/
; Enter your city, state, region, country as needed to get your WOEID.
; Change the Location variable below.
Location=23418210
; Unit is "f" for Fahrenheit temperature and other "imperial" measures, "c" for Celsius temperature and "metric" measures.
; This is case-sensitive. Lower case only.
Unit=f
[MeasureYahooWeather]
Measure=Plugin
Plugin=WebParser.dll
URL=http://weather.yahooapis.com/forecastrss?w=#Location#&u=#Unit#
RegExp=(?siU)<title>.*- (.*)</title>.*<link>(.*)/\*(.*)</link>.*<description>(.*)</description>.*<language>(.*)</language>.*<lastBuildDate>(.*)</lastBuildDate>.*<yweather:location city="(.*)".*region="(.*)".*country="(.*)".*<yweather:units temperature="(.*)".*distance="(.*)".* pressure="(.*)".*speed="(.*)".*<yweather:wind chill="(.*)".*direction="(.*)".*speed="(.*)".*<yweather:atmosphere humidity="(.*)".* visibility="(.*)".*pressure="(.*)".* rising="(.*)".*<yweather:astronomy sunrise="(.*)".*sunset="(.*)".*<title>(.*)</title>.*<width>(.*)</width>.*<height>(.*)</height>.*<link>(.*)</link>.*<url>(.*)</url>.*<title>(.*)</title>.*<geo:lat>(.*)</geo:lat>.*<geo:long>(.*)</geo:long>.*<link>(.*)/\*(.*)</link>.*<pubDate>(.*)</pubDate>.*<yweather:condition text="(.*)".*code="(.*)".*temp="(.*)".*date="(.*)".*<img src="(.*)".*Current Conditions:</b><br />\s(.*)<BR />.*Forecast:</b><BR />\s(.*)<br />.*\s(.*)<br />.*<a href="(.*)/\*(.*)">.*provided by <a href="(.*)" >(.*)</a>.*<yweather:forecast day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*<yweather:forecast day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*
Here are the icons I use. You don't need to use the same ones, but be sure the numbers of the icons you use visually matches what these represent.
YahooWeather.zip
Code: Select all
0 tornado
1 tropical storm
2 hurricane
3 severe thunderstorms
4 thunderstorms
5 mixed rain and snow
6 mixed rain and sleet
7 mixed snow and sleet
8 freezing drizzle
9 drizzle
10 freezing rain
11 showers
12 showers
13 snow flurries
14 light snow showers
15 blowing snow
16 snow
17 hail
18 sleet
19 dust
20 foggy
21 haze
22 smoky
23 blustery
24 windy
25 cold
26 cloudy
27 mostly cloudy (night)
28 mostly cloudy (day)
29 partly cloudy (night)
30 partly cloudy (day)
31 clear (night)
32 sunny
33 fair (night)
34 fair (day)
35 mixed rain and hail
36 hot
37 isolated thunderstorms
38 scattered thunderstorms
39 scattered thunderstorms
40 scattered showers
41 heavy snow
42 scattered snow showers
43 heavy snow
44 partly cloudy
45 thundershowers
46 snow showers
47 isolated thundershowers