Weather.com Plugin
First off, I’m new to all this stuff. I’m not a programmer, but I am trying to understand the scripting going on here. I found Matt Didcoe’s Weather.com Plugin for WordPress, but had issues with the graphics that it used. For one, I thought they were a bit small. Also, it seemed like many of the weather conditions were grouped together with the same graphic. I looked into the weather.php file and saw how it grouped the different weather conditions. Apparently, Weather.com uses numbered codes… 1-47 for different weather conditions (i.e. #19="Dusty" or #25="Frigid") Some of the codes refer to night time while some refer to day time. I also saw how the php script grabbed each graphic, by assigning the graphic name for a group of conditions. The initial set of icons in the group are GIFs. I found the set of icons included in Weather.com’s SDK were a bit more to my liking and already numbered based on the conditions. These graphics are PNGs instead. I did a little messing with the file and got it to work more to the way I wanted it to.
2 Comments
Matt said,
Comment • March 3, 2006 @ 3:08 am
My new version is out.
1.7, heaps of icon set choices. Ability to add more than one location into your sidebar. CURL support for those who can’t use php’s file function
RSS feed for comments on this post. TrackBack URI
Jan said,
Comment • March 2, 2006 @ 5:12 am
THANKS!!!!!!!