<?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: Showing the weather with PHP and Google Weather API</title>
	<atom:link href="http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/</link>
	<description>Web Developer Tutorial</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:50:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: developtus</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-448</link>
		<dc:creator>developtus</dc:creator>
		<pubDate>Wed, 07 Oct 2009 12:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-448</guid>
		<description>nice information, i will try to do something in my sites</description>
		<content:encoded><![CDATA[<p>nice information, i will try to do something in my sites</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lenguajes X &#187; Mostrar el tiempo con PHP y Google Weather API</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-446</link>
		<dc:creator>Lenguajes X &#187; Mostrar el tiempo con PHP y Google Weather API</dc:creator>
		<pubDate>Wed, 07 Oct 2009 10:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-446</guid>
		<description>[...] Showing the weather with PHP and Google Weather API [...]</description>
		<content:encoded><![CDATA[<p>[...] Showing the weather with PHP and Google Weather API [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Showing the weather with PHP and Google Weather API &#124; KomunitasWeb &#124; My Web Development Bookmarks</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-398</link>
		<dc:creator>Showing the weather with PHP and Google Weather API &#124; KomunitasWeb &#124; My Web Development Bookmarks</dc:creator>
		<pubDate>Sun, 27 Sep 2009 18:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-398</guid>
		<description>[...] The rest is here: Showing the weather with PHP and Google Weather API &#124; KomunitasWeb [...]</description>
		<content:encoded><![CDATA[<p>[...] The rest is here: Showing the weather with PHP and Google Weather API | KomunitasWeb [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sparkybarkalot</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-379</link>
		<dc:creator>Sparkybarkalot</dc:creator>
		<pubDate>Fri, 25 Sep 2009 14:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-379</guid>
		<description>Forgot to mention that another nice thing about using CURL is that you can then cache that XML file and have your code check first to see if there&#039;s a cached version.  My code doesn&#039;t include that, but it&#039;s not a bad idea to have.</description>
		<content:encoded><![CDATA[<p>Forgot to mention that another nice thing about using CURL is that you can then cache that XML file and have your code check first to see if there&#8217;s a cached version.  My code doesn&#8217;t include that, but it&#8217;s not a bad idea to have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sparkybarkalot</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-378</link>
		<dc:creator>Sparkybarkalot</dc:creator>
		<pubDate>Fri, 25 Sep 2009 14:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-378</guid>
		<description>Awesome post.  One problem with using this method is that most shared servers won&#039;t have &quot;allow_url_fopen = On&quot; set in php.ini (for security reasons).  So I did some preliminary steps to get the data in using CURL, which many servers do have.  I&#039;ll try and paste it here... though not sure if the comment will display correctly:

$ch = curl_init(&quot;http://www.google.com/ig/api?weather=04843&quot;);
$fp = fopen(&quot;camden_weather.xml&quot;, &quot;w&quot;);

curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);

$xml = simplexml_load_file(&#039;camden_weather.xml&#039;);
... no changes to rest of PHP or HTML

Nice work!  Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome post.  One problem with using this method is that most shared servers won&#8217;t have &#8220;allow_url_fopen = On&#8221; set in php.ini (for security reasons).  So I did some preliminary steps to get the data in using CURL, which many servers do have.  I&#8217;ll try and paste it here&#8230; though not sure if the comment will display correctly:</p>
<p>$ch = curl_init(&#8220;http://www.google.com/ig/api?weather=04843&#8243;);<br />
$fp = fopen(&#8220;camden_weather.xml&#8221;, &#8220;w&#8221;);</p>
<p>curl_setopt($ch, CURLOPT_FILE, $fp);<br />
curl_setopt($ch, CURLOPT_HEADER, 0);<br />
curl_exec($ch);<br />
curl_close($ch);<br />
fclose($fp);</p>
<p>$xml = simplexml_load_file(&#8216;camden_weather.xml&#8217;);<br />
&#8230; no changes to rest of PHP or HTML</p>
<p>Nice work!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Make a google weather plugin in Zend Framework</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-348</link>
		<dc:creator>Make a google weather plugin in Zend Framework</dc:creator>
		<pubDate>Tue, 15 Sep 2009 05:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-348</guid>
		<description>[...] I came across a post recently which outlined how easy it is to output weather with php and Google Weather API [...]</description>
		<content:encoded><![CDATA[<p>[...] I came across a post recently which outlined how easy it is to output weather with php and Google Weather API [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mostrando a Previsão do Tempo com PHP &#124; Thiago Belem / Blog</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-345</link>
		<dc:creator>Mostrando a Previsão do Tempo com PHP &#124; Thiago Belem / Blog</dc:creator>
		<pubDate>Sun, 13 Sep 2009 04:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-345</guid>
		<description>[...] em: Showing the weather with PHP and Google Weather API GHTime Code(s): b2b30&#160;45e6b&#160;a7525&#160;  (Sem votos ainda) &#160;Loading ...  publicidade [...]</description>
		<content:encoded><![CDATA[<p>[...] em: Showing the weather with PHP and Google Weather API GHTime Code(s): b2b30&nbsp;45e6b&nbsp;a7525&nbsp;  (Sem votos ainda) &nbsp;Loading &#8230;  publicidade [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akinyooye</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-344</link>
		<dc:creator>Akinyooye</dc:creator>
		<pubDate>Sat, 12 Sep 2009 04:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-344</guid>
		<description>[...] the Komunitasweb.com blog there&#8217;s a recent post walking you through the steps to add the Google weather content to your site, complete with icons.  [...]...</description>
		<content:encoded><![CDATA[<p>[...] the Komunitasweb.com blog there&#8217;s a recent post walking you through the steps to add the Google weather content to your site, complete with icons.  [...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Rivera</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-343</link>
		<dc:creator>Mauricio Rivera</dc:creator>
		<pubDate>Fri, 11 Sep 2009 16:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-343</guid>
		<description>Thanks! This will be very useful, I was wandering wich way could do this in some of my websites.

Regards.</description>
		<content:encoded><![CDATA[<p>Thanks! This will be very useful, I was wandering wich way could do this in some of my websites.</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Komunitasweb.com: Showing the weather with PHP and Google Weather API &#124; Webs Developer</title>
		<link>http://komunitasweb.com/2009/09/showing-the-weather-with-php-and-google-weather-api/comment-page-1/#comment-342</link>
		<dc:creator>Komunitasweb.com: Showing the weather with PHP and Google Weather API &#124; Webs Developer</dc:creator>
		<pubDate>Fri, 11 Sep 2009 15:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://komunitasweb.com/?p=293#comment-342</guid>
		<description>[...] the Komunitasweb.com blog there&#8217;s a recent post walking you through the steps to add the Google weather content to your site, complete with icons.  [...]</description>
		<content:encoded><![CDATA[<p>[...] the Komunitasweb.com blog there&#8217;s a recent post walking you through the steps to add the Google weather content to your site, complete with icons.  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
