<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Using Weather Data to Change Your Website&#8217;s Appearance through PHP and&#160;CSS</title> <atom:link href="http://davidwalsh.name/weather-data-change-websites-appearance-php-css/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 24 May 2012 07:34:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: John Kavanagh</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-23024</link> <dc:creator>John Kavanagh</dc:creator> <pubDate>Fri, 11 Mar 2011 10:21:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-23024</guid> <description>I just wanted to leave a note (I know this article is years old at this point!) to say thank you.  I first came across this sort of website interactivity in one of the Google Mail themes (which takes your current location and changes the background dependant on the current weather).I ended up taking a different route when integrating this into my own site (http://johnkavanagh.co.uk), using a switch statement to identify the weather conditions and extending it to grab the time for night/sunrise/day/sunset and changing the entire appearance of the site by tying into classes in the HTML and body tags.There&#039;s 150 different combinations on the site now - not a small amount of work! Two different skylines with fifteen different weather conditions and four different times of day (plus two hidden easter-egg states, each with the fifteen weather conditions).  Although being based in Manchester (UK), I could probably have just got away with including &#039;cloudy&#039; and &#039;rainy&#039; and nothing more!One thing worth mentioning is that anyone attempting this should defiantly consider caching the weather feed results for short periods of time to improve load speed and to avoid hammering the Yahoo feed - mine only grabs a newer version of the feed if the previous cache is over 90 seconds old - I know that they have clamped down on this considerably over the past twelve months.It&#039;s a great idea and I&#039;m surprised that more people aren&#039;t doing this, thanks for sharing your solution and I hope you like mine!</description> <content:encoded><![CDATA[<p>I just wanted to leave a note (I know this article is years old at this point!) to say thank you.  I first came across this sort of website interactivity in one of the Google Mail themes (which takes your current location and changes the background dependant on the current weather).</p><p>I ended up taking a different route when integrating this into my own site (<a
href="http://johnkavanagh.co.uk" rel="nofollow">http://johnkavanagh.co.uk</a>), using a switch statement to identify the weather conditions and extending it to grab the time for night/sunrise/day/sunset and changing the entire appearance of the site by tying into classes in the HTML and body tags.</p><p>There&#8217;s 150 different combinations on the site now &#8211; not a small amount of work! Two different skylines with fifteen different weather conditions and four different times of day (plus two hidden easter-egg states, each with the fifteen weather conditions).  Although being based in Manchester (UK), I could probably have just got away with including &#8216;cloudy&#8217; and &#8216;rainy&#8217; and nothing more!</p><p>One thing worth mentioning is that anyone attempting this should defiantly consider caching the weather feed results for short periods of time to improve load speed and to avoid hammering the Yahoo feed &#8211; mine only grabs a newer version of the feed if the previous cache is over 90 seconds old &#8211; I know that they have clamped down on this considerably over the past twelve months.</p><p>It&#8217;s a great idea and I&#8217;m surprised that more people aren&#8217;t doing this, thanks for sharing your solution and I hope you like mine!</p> ]]></content:encoded> </item> <item><title>By: superevan</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-14969</link> <dc:creator>superevan</dc:creator> <pubDate>Mon, 04 Jan 2010 02:06:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-14969</guid> <description>Instead of it changing css on the page, would it be hard to have it play a different swf animation that corresponds with the local weather? I&#039;ve searched around for someone that&#039;s tackled this but haven&#039;t found much.</description> <content:encoded><![CDATA[<p>Instead of it changing css on the page, would it be hard to have it play a different swf animation that corresponds with the local weather? I&#8217;ve searched around for someone that&#8217;s tackled this but haven&#8217;t found much.</p> ]]></content:encoded> </item> <item><title>By: thor</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-13202</link> <dc:creator>thor</dc:creator> <pubDate>Tue, 03 Nov 2009 17:45:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-13202</guid> <description>I’ve integrated the script pretty easy (despite I’m a nob). How can i know for sure day and night right codes for 27 mostly cloudy (night), 28 mostly cloudy (day), 29 partly cloudy (night) and 30 partly cloudy (day)? How can i declare this in according css? Should i have different css files for day and night?</description> <content:encoded><![CDATA[<p>I’ve integrated the script pretty easy (despite I’m a nob). How can i know for sure day and night right codes for 27 mostly cloudy (night), 28 mostly cloudy (day), 29 partly cloudy (night) and 30 partly cloudy (day)? How can i declare this in according css? Should i have different css files for day and night?</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-436</link> <dc:creator>david</dc:creator> <pubDate>Fri, 29 Feb 2008 13:58:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-436</guid> <description>Hello Azeem,I started the same as you -- learned PHP completely by myself.  There&#039;s always a place for a web noob.  Start a blog would be my advice, and bring your blog up during interviewsDavid</description> <content:encoded><![CDATA[<p>Hello Azeem,</p><p>I started the same as you &#8212; learned PHP completely by myself.  There&#8217;s always a place for a web noob.  Start a blog would be my advice, and bring your blog up during interviews</p><p>David</p> ]]></content:encoded> </item> <item><title>By: Azeem</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-435</link> <dc:creator>Azeem</dc:creator> <pubDate>Fri, 29 Feb 2008 13:14:41 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-435</guid> <description>Great website. I am a PHP newbie. I am learning PHP as a hobby. Completed a couple of tutorials. I already have a non-PHP fulltime job. How do I start working with PHP as a part timer.  I am bored doing the PHP tutorials. I would like to cut my teeth on something real time which would increase my PHP skills. Odesk.com has experienced guys . Are there any opportunities for a newbie like me.</description> <content:encoded><![CDATA[<p>Great website. I am a PHP newbie. I am learning PHP as a hobby. Completed a couple of tutorials. I already have a non-PHP fulltime job. How do I start working with PHP as a part timer.  I am bored doing the PHP tutorials. I would like to cut my teeth on something real time which would increase my PHP skills. Odesk.com has experienced guys . Are there any opportunities for a newbie like me.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-433</link> <dc:creator>david</dc:creator> <pubDate>Wed, 27 Feb 2008 13:37:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-433</guid> <description>Yes it is Jon.  Yahoo! provides country codes as well.</description> <content:encoded><![CDATA[<p>Yes it is Jon.  Yahoo! provides country codes as well.</p> ]]></content:encoded> </item> <item><title>By: jon</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-434</link> <dc:creator>jon</dc:creator> <pubDate>Wed, 27 Feb 2008 02:27:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-434</guid> <description>is it possible to  make a forcast for san jose costa rica?</description> <content:encoded><![CDATA[<p>is it possible to  make a forcast for san jose costa rica?</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-430</link> <dc:creator>david</dc:creator> <pubDate>Tue, 19 Feb 2008 22:26:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-430</guid> <description>Glad you like it.  Thank you Jon!</description> <content:encoded><![CDATA[<p>Glad you like it.  Thank you Jon!</p> ]]></content:encoded> </item> <item><title>By: jon soroko</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-432</link> <dc:creator>jon soroko</dc:creator> <pubDate>Tue, 19 Feb 2008 21:28:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-432</guid> <description>This may be more important than you realize. In the disaster-response context, automatically updated, highly localized blogs can be critical. What you&#039;ve done with the header does that with one of the critical data streams (weather) - and does it with really elegant information design - it doesn&#039;t require people to analyze a string of words.My blog is about these issues - and I do consulting, research and writing that isn&#039;t always reflected on the blog. But I&#039;m going to see how easy it is to set up at my skill level -Nice work - you&#039;ve done something that may end up saving people&#039;s lives.Jon Soroko</description> <content:encoded><![CDATA[<p>This may be more important than you realize. In the disaster-response context, automatically updated, highly localized blogs can be critical. What you&#8217;ve done with the header does that with one of the critical data streams (weather) &#8211; and does it with really elegant information design &#8211; it doesn&#8217;t require people to analyze a string of words.</p><p>My blog is about these issues &#8211; and I do consulting, research and writing that isn&#8217;t always reflected on the blog. But I&#8217;m going to see how easy it is to set up at my skill level -</p><p>Nice work &#8211; you&#8217;ve done something that may end up saving people&#8217;s lives.</p><p>Jon Soroko</p> ]]></content:encoded> </item> <item><title>By: tjeerdoo</title><link>http://davidwalsh.name/weather-data-change-websites-appearance-php-css#comment-431</link> <dc:creator>tjeerdoo</dc:creator> <pubDate>Mon, 18 Feb 2008 14:51:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/weather-data-change-websites-appearance-php-css/#comment-431</guid> <description>Very nice work, i&#039;ll try and get it up on my website !
Thanx</description> <content:encoded><![CDATA[<p>Very nice work, i&#8217;ll try and get it up on my website !<br
/> Thanx</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.014 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-24 03:02:55 -->
