Live Weather Display Using CSS, jQuery and PHP

Steven Morris, CSS Tricks, Oct 03, 2012
Commentary by Stephen Downes

This is an example of the sort of data integration that is going to sit behind the next generation of e-learning (and now I'm talking about what comes after all the MOOC hype here). This article describes a website using CSS and JSON to set up a header than changes based on the weather where you're located. It reads your location, connects with a weather service to get the current weather, then sets up the display with apprpriate images. The article could be a bit clearer - it points the reader to Yahoo's RSS API from 2006, but the code actually uses the REST-JSON api documented in this other article. Of course, weather information is just the tip of the iceberg. Imagine, for example, an online course on economics that changes as the economic data changes!

Views: 0 today, 200 total (since January 1, 2017).[Direct Link]