Realtime-Weather is a project mainly written in PHP and JAVASCRIPT, it's free.
Obtains real-time weather data from multiple public feeds and displays on a single page
Project to produce live weather data for kiting
The main elements are:
The collect.php script must be run regularly to get new data. This can be done from the crontab using either curl:
/15 * curl --silent --compressed [url] > /dev/null
or wget:
/15 * wget -qO /dev/null [url]
I'm currently running every 15 minutes to avoid excessive load on the data sources, while still providing reasonably up to date data.
It should also be possible to run the script from the command line but that caused some problems for me as it doesn't seem to load the xpath module in CL mode.
I'm using a .htaccess file to prevent caching of data.json.
== Feature Requests from kiters ==
D = Done
D Include map showing where spots are D Mobile version of page (w/o javascript) D Add more feeds including multiple at same site?
== Bugs ==
== To Do and potential ideas for futher development ==