title: Changing weather icon on google weather api
body: <p>Hi I just want to ask what is the bestway to change the weather icon on google weather api, changing it's path to mysite.com/images/weather rather than /ig/images/weather. I saw one with the same problem here in stack overflow but I don't know how to implement it on my code.</p>
  
  <p>here is my code:</p>
  
  <pre><code>    &lt;?php
  $xml = simplexml_load_file('http://www.google.com/ig/api?weather=new-york');
  $information = $xml-&gt;xpath("/xml_api_reply/weather/forecast_information");
  $current = $xml-&gt;xpath("/xml_api_reply/weather/current_conditions");
  $forecast_list = $xml-&gt;xpath("/xml_api_reply/weather/forecast_conditions");
  ?&gt; 
  
  &lt;h1&gt;New-York City Weather&lt;/h1&gt;
  &lt;div class="weather"&gt; 
  &lt;img src="&lt;?php echo 'http://www.google.com' . $current[0]-&gt;icon['data']?&gt;" alt="weather" /&gt;
  &lt;div class="condition"&gt;&lt;strong&gt;Today&lt;/strong&gt;&lt;br /&gt;
  &lt;?php echo $current[0]-&gt;temp_f['data'] ?&gt;° F,&lt;?php echo $current[0]-&gt;condition['data'] ?&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;?php foreach ($forecast_list as $forecast) { ?&gt;
  
      &lt;div class="weather"&gt;
          &lt;img src="&lt;?php echo 'http://www.google.com' . $forecast-&gt;icon['data']?&gt;" alt="weather" /&gt;
          &lt;div class="condition"&gt;
              &lt;strong&gt;&lt;?php echo $forecast-&gt;day_of_week['data']; ?&gt;&lt;/strong&gt;&lt;br /&gt;
                  &lt;?php echo $forecast-&gt;low['data'] ?&gt;° F - &lt;?php echo $forecast-&gt;high['data'] ?&gt;° F,
              &lt;?php echo $forecast-&gt;condition['data'] ?&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Thank you so much for your help</p>