I know that weather sysstats uses a RSS feed from weather.com but where is it writen that for example icon 32 is sunny etc.? Is it documented somewhere on weather.com's site what icon number to use for a particular days weather?
Thanks
I know that weather sysstats uses a RSS feed from weather.com but where is it writen that for example icon 32 is sunny etc.? Is it documented somewhere on weather.com's site what icon number to use for a particular days weather?
Thanks
Originally posted by FusionXP@Sep 13 2004, 07:20 PMI know that weather sysstats uses a RSS feed from weather.com but where is it writen that for example icon 32 is sunny etc.? Is it documented somewhere on weather.com's site what icon number to use for a particular days weather?
Thanks
<{POST_SNAPBACK}>
It was documented in the SDK when you applied to use the XML feed.
Three sizes of PNGs were given already numbered and the icon number is in the feed itself.
<hour h="1" c="5">
<tmp>13</tmp>
<flik>12</flik>
<icon>33</icon>
<t>Mostly Clear</t>
<ppcp>10</ppcp>
<wind>
<s>10</s>
<gust>N/A</gust>
<d>199</d>
<t>SSW</t>
</wind>
<dewp>8</dewp>
<hmid>74</hmid>
</hour>
As you can see in the code above, the icon number to use is given. The numbers were most likely already in use when the XML feed became available.
I see, so there is a total of 47 icons that the feed uses, right? Because in the orignal weather folder there were more than 47 but some were missing. I downloaded the folder with only the 47 icons from Samurize.com and replaced it.
The problem I had was the wrong icon would show up for the current days forecast. I had something mixed up.