Any else running the weather script, that polls for conditions and forecast data from Weather.com? Mine stopped working last week, and now only occasionally updates (receives) a revised radar image, but no forecast data. The VBS error message reports this line:
SetPropertyValue "Weather.W_cc_lsup", MSXML.SelectSingleNode("/weather/cc/lsup").text
But if I comment that line out the script just fails on the next line. Of course, nothing here has changed, script or PC wise. So I was suspecting a problem with the link to weather.com. Before I started digging into the code I wanted to see if anyone else has experienced the same.
Weather Script Problems?
-
- HouseBot Guru
- Posts: 757
- Joined: Wed Apr 02, 2003 8:10 pm
- Location: Pelham AL
Weather Script Problems?
Steve
Re: Weather Script Problems?
Yes, they changed the request format a little bit. I can post it tonight, or you can pull down the SDK and check the PDF document for a sample.
-
- HouseBot Guru
- Posts: 757
- Joined: Wed Apr 02, 2003 8:10 pm
- Location: Pelham AL
Re: Weather Script Problems?
I'll try to look at the SDK docs tonight. But if you can, post whatever is relevant here anyway for future reference in case others run into a similar problem.
Thanks!
Thanks!
Steve
Re: Weather Script Problems?
This is what I changed my call to. . .
XMLURL = "http://xoap.weather.com/weather/local/" + WeatherComZip + "?cc=*&dayf=2&link=xoap&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey
XMLURL = "http://xoap.weather.com/weather/local/" + WeatherComZip + "?cc=*&dayf=2&link=xoap&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey
-
- HouseBot Guru
- Posts: 757
- Joined: Wed Apr 02, 2003 8:10 pm
- Location: Pelham AL
Re: Weather Script Problems?
yes, this is what I found after I 'reregistered'
original string:
XMLURL = "http://xoap.weather.com/weather/local/" + WeatherComZip + "?cc=*&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey + "&dayf=5"
5/14/08 new string:
XMLURL = "http://xoap.weather.com/weather/local/" + weathercomzip + "?cc=*&dayf=5&link=xoap&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey + "&dayf=5"
Making that changed seemed to correct the problem. Gotta wonder why the change. oh well....
BTW, I have the original (version 1.0) of the "Developing Applications with the Weather XML Feed" doc. I never was able to find a revised version.
Thanks,
original string:
XMLURL = "http://xoap.weather.com/weather/local/" + WeatherComZip + "?cc=*&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey + "&dayf=5"
5/14/08 new string:
XMLURL = "http://xoap.weather.com/weather/local/" + weathercomzip + "?cc=*&dayf=5&link=xoap&prod=xoap&par=" + WeatherComPar + "&key=" + WeatherComKey + "&dayf=5"
Making that changed seemed to correct the problem. Gotta wonder why the change. oh well....
BTW, I have the original (version 1.0) of the "Developing Applications with the Weather XML Feed" doc. I never was able to find a revised version.
Thanks,
Steve