title: Yahoo weather API weather icon image
body: <p>So im using the yahoo weather API for a website im working on. Right now it is calling default images for the weather icons, which do not look very nice at all. I wanted to use the newer images which they us on their website <a href="http://weather.yahoo.com/" rel="nofollow">here</a>.</p>
  
  <p>Here is the code im using that I believe are calling the default image sets:</p>
  
  <p><code>$weather_contents = $weather-&gt;channel-&gt;item-&gt;description;
  preg_match_all('/&lt;img[^&gt;]+&gt;/i',$weather_contents, $img);
  $weather_img = $img[0][0];</code></p>
  
  <p>And <a href="http://malikai.com/test/" rel="nofollow">here</a> is a link to what im working on. You will notice the difference between the quality of the weather icons I have and what they currently use on yahoo.</p>
  
  <p>I am pretty much a newbie when working with this weather stuff, any help would be greatly appreciated.</p>
  
  <p>Thanks, Cheers</p>