Posted on 2005-05-18 09:36:24-07 by schnueck in response to 469
Re: Icons and Descriptions
Hi,

1. Complete list of descriptions:
Weather.Com themselves do not provide any list of valid descriptions. BUT to be able to do some localization I collected an almost complete list of descriptions. This list can be found in the L10N files (e.g. 'Weather::Com::L10N::de').

2. Mapping icon to description:
As Weather.Com does not provide a list of valid descriptions, they do not provide a mapping, too.
For what purpose could one need such a mapping? For each weather condition you always get an 'icon()' method and a 'description()' method...
There would be sensible possibilities to implement such a mapping - if there is a real need for it!

Thomas
Direct Responses: 474 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.