PHP Weather widget using Google’s weather API

May 17 2012

With the recent launch of the Elbowz Racing team website, we decided to add something a little bit fun, but still applicable, into the project: a self-maintaining weather widget using Google’s weather API and PHP. The cycling team, much like their sponsor Ben Spies, is always moving around for races, and we thought it would be cool for visitors to quickly see where the Elbowz team is. To accomplish this, we placed the weather widget on the home page, where it updates automatically based on their current race location.

The Elbowz team enters their racing schedule into the WordPress admin console at the beginning of each season...