Accuweather is still okay for the AT&T Voices Weather script. If you look in the script, I am going to a specific web page within AccuWeather.com and not the "regular" web page. The URL for my current weather is http://www.accuweather.com/uwp/weath.../46322/Current which returns:
<pre class="ip-ubbcode-code-pre">
<HDML VERSION=2.0 TTL=0 MARKABLE=TRUE>
<DISPLAY Name=Current>
<line> 06:56 am CDT
<line>Temp: 41 F
<line>P/SUNNY
<line>Pres: 30.17
<line>Hum: 70%
<line>Wind: N at 12
<line>AccuWeather, Inc
</Display>
</HDML>
</pre>
which is a very small web page perfect for WAP.
I "simply" use GetUrl to retrieve this text, store the lines in an array, and then parse it to find the values. Not sure why you would N/A but it would not be from my script it would be from AccuWeather. Don't know how to solve this. I just tried 55303 and it worked fine.
Jim Doolittle
[This message was edited by Jim Doolittle on Saturday, 18 May 2002 at 08:28 AM.]
<pre class="ip-ubbcode-code-pre">
<HDML VERSION=2.0 TTL=0 MARKABLE=TRUE>
<DISPLAY Name=Current>
<line> 06:56 am CDT
<line>Temp: 41 F
<line>P/SUNNY
<line>Pres: 30.17
<line>Hum: 70%
<line>Wind: N at 12
<line>AccuWeather, Inc
</Display>
</HDML>
</pre>
which is a very small web page perfect for WAP.
I "simply" use GetUrl to retrieve this text, store the lines in an array, and then parse it to find the values. Not sure why you would N/A but it would not be from my script it would be from AccuWeather. Don't know how to solve this. I just tried 55303 and it worked fine.
Jim Doolittle
[This message was edited by Jim Doolittle on Saturday, 18 May 2002 at 08:28 AM.]
Comment