Ever Wondered What the Weather's Like in Colwyn Bay?

Weather

By clicking on the link above you've just found out the weather in Colwyn Bay, North Wales. This is thanks to an RSS feed from the Yahoo API and some jQuery to change the div's class according to the weather!

Thanks to an article on Line25 entitled Style Your Site According to the Weather with jQuery and some extra code from this article - http://lawrence.ecorp.net/inet/samples/regexp-format.php to make sure it also removes forward slashes from the RSS feed, I have worked out how I will integrate my weather display into the Colwyn Bay Hockey Club website.

I'm also hoping to pull the temperature from the RSS feed too so you know what type of weather it is and how hot/cold it is too.

Posted via email from City&Wool's Posterous

0 comments: