<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Google Weather API Class</title>
	<atom:link href="http://redinkdesign.net/programming/google-weather-api-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://redinkdesign.net/programming/google-weather-api-class/</link>
	<description>Good code is its own best documentation</description>
	<lastBuildDate>Sat, 07 Jan 2012 23:03:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paulb</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-32389</link>
		<dc:creator>Paulb</dc:creator>
		<pubDate>Fri, 09 Dec 2011 10:04:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-32389</guid>
		<description>&lt;a href=&quot;#comment-25420&quot; rel=&quot;nofollow&quot;&gt;@admin&lt;/a&gt; 

Would it be poss to help change it so i could use city name instead as im in the uk and we dont use zip code?</description>
		<content:encoded><![CDATA[<p><a href="#comment-25420" rel="nofollow">@admin</a> </p>
<p>Would it be poss to help change it so i could use city name instead as im in the uk and we dont use zip code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-25420</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 28 Jun 2011 19:03:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-25420</guid>
		<description>&lt;a href=&quot;#comment-25397&quot; rel=&quot;nofollow&quot;&gt;@Tomako&lt;/a&gt; 

Good catch! Code updated, thanks.</description>
		<content:encoded><![CDATA[<p><a href="#comment-25397" rel="nofollow">@Tomako</a> </p>
<p>Good catch! Code updated, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomako</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-25397</link>
		<dc:creator>Tomako</dc:creator>
		<pubDate>Tue, 28 Jun 2011 00:39:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-25397</guid>
		<description>if (&#36;diff &lt;= &#36;this&#45;&gt;cache_time){


(dammend textprocessor)</description>
		<content:encoded><![CDATA[<p>if (&#36;diff &lt;= &#36;this&#45;&gt;cache_time){</p>
<p>(dammend textprocessor)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomako</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-25396</link>
		<dc:creator>Tomako</dc:creator>
		<pubDate>Tue, 28 Jun 2011 00:33:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-25396</guid>
		<description>if ($diff cache_time){</description>
		<content:encoded><![CDATA[<p>if ($diff cache_time){</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomako</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-25395</link>
		<dc:creator>Tomako</dc:creator>
		<pubDate>Tue, 28 Jun 2011 00:32:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-25395</guid>
		<description>what about this 

...
if ($diff &lt;= 3600){ ....

should be

...
if ($diff cache_time){  ....</description>
		<content:encoded><![CDATA[<p>what about this </p>
<p>&#8230;<br />
if ($diff &lt;= 3600){ &#8230;.</p>
<p>should be</p>
<p>&#8230;<br />
if ($diff cache_time){  &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-24274</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 26 May 2011 14:27:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-24274</guid>
		<description>Thanks Matt, I just realized this change today as well. I will update the code.

&lt;blockquote cite=&quot;#comment-content-24272&quot;&gt;
&lt;a href=&quot;#comment-24272&quot; rel=&quot;nofollow&quot;&gt;Matt&lt;/a&gt; :
    Google recently changed their weather icons. If you use this script and notice that the icons aren’t showing up all you need to do is change line 115 to this:
$return_array[&#039;current_conditions&#039;][&#039;icon&#039;] = $xml-&gt;weather-&gt;current_conditions-&gt;icon[&#039;data&#039;];
I guess it no longer requires that appended URL, I don’t use forecast on my website but you’ll probably have to change the icon line for that as well.
$return_array[&#039;forecast&#039;][$i][&#039;icon&#039;] = $data-&gt;icon[&#039;data&#039;];
Also thanks for the script Ashwin!
  &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Thanks Matt, I just realized this change today as well. I will update the code.</p>
<blockquote cite="#comment-content-24272"><p>
<a href="#comment-24272" rel="nofollow">Matt</a> :<br />
    Google recently changed their weather icons. If you use this script and notice that the icons aren’t showing up all you need to do is change line 115 to this:<br />
$return_array['current_conditions']['icon'] = $xml-&gt;weather-&gt;current_conditions-&gt;icon['data'];<br />
I guess it no longer requires that appended URL, I don’t use forecast on my website but you’ll probably have to change the icon line for that as well.<br />
$return_array['forecast'][$i]['icon'] = $data-&gt;icon['data'];<br />
Also thanks for the script Ashwin!
  </p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-24272</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 26 May 2011 13:21:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-24272</guid>
		<description>Google recently changed their weather icons. If you use this script and notice that the icons aren&#039;t showing up all you need to do is change line 115 to this:

$return_array[&#039;current_conditions&#039;][&#039;icon&#039;] = $xml-&gt;weather-&gt;current_conditions-&gt;icon[&#039;data&#039;];

I guess it no longer requires that appended URL, I don&#039;t use forecast on my website but you&#039;ll probably have to change the icon line for that as well.

$return_array[&#039;forecast&#039;][$i][&#039;icon&#039;] = $data-&gt;icon[&#039;data&#039;];

Also thanks for the script Ashwin!</description>
		<content:encoded><![CDATA[<p>Google recently changed their weather icons. If you use this script and notice that the icons aren&#8217;t showing up all you need to do is change line 115 to this:</p>
<p>$return_array['current_conditions']['icon'] = $xml-&gt;weather-&gt;current_conditions-&gt;icon['data'];</p>
<p>I guess it no longer requires that appended URL, I don&#8217;t use forecast on my website but you&#8217;ll probably have to change the icon line for that as well.</p>
<p>$return_array['forecast'][$i]['icon'] = $data-&gt;icon['data'];</p>
<p>Also thanks for the script Ashwin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin Surajbali</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-14</link>
		<dc:creator>Ashwin Surajbali</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-14</guid>
		<description>New revision added. Google&#039;s ICON url changed and the code has been updated.</description>
		<content:encoded><![CDATA[<p>New revision added. Google&#8217;s ICON url changed and the code has been updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-21</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-21</guid>
		<description>Thank you so much for sharing this script.  Its awesome.</description>
		<content:encoded><![CDATA[<p>Thank you so much for sharing this script.  Its awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin Surajbali</title>
		<link>http://redinkdesign.net/programming/google-weather-api-class/comment-page-1/#comment-22</link>
		<dc:creator>Ashwin Surajbali</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-22</guid>
		<description>Code updated again at line 123.

Changed from 

$return_array[&#039;forecast&#039;][$i][&#039;icon&#039;] = &#039;http://img0.gmodules.com/ig/&#039; . $data-&gt;icon[&#039;data&#039;];

to 

$return_array[&#039;forecast&#039;][$i][&#039;icon&#039;] = &#039;http://img0.gmodules.com/&#039; . $data-&gt;icon[&#039;data&#039;];

Stop changing image paths google :)</description>
		<content:encoded><![CDATA[<p>Code updated again at line 123.</p>
<p>Changed from </p>
<p>$return_array['forecast'][$i]['icon'] = &#8216;http://img0.gmodules.com/ig/&#8217; . $data->icon['data'];</p>
<p>to </p>
<p>$return_array['forecast'][$i]['icon'] = &#8216;http://img0.gmodules.com/&#8217; . $data->icon['data'];</p>
<p>Stop changing image paths google <img src='http://redinkdesign.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

