News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

International weather script

Started by Electroguard, January 08, 2009, 15:50:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Electroguard

Id like to get weather forecast info for Bordeaux into a web page.

Id prefer to use a PHP or VB script rather the widely available company-bannered weather widgets.
Ive seen some relatively simple PHP scripts for getting USA weather by zip code from RSS streams, and I suspect it should be quite eazy peazy to do similar for a worldwide city (using an RSS provider offering world wide weather data - many appear to be USA only), but Im afraid Im too ignorant of AJAX and RSS to know how to go about doing it... the problem being that different weather stream providers seem to use different tags in their RSS streams, therefore a script written to request an RSS feed from a USA-only provider wont be compatible for a different international weather stream provider.

Im sure many people must have done this already though, so can anyone point me to a relatively simple PHP script using an international RSS feed that would enable me to display weather info for Bordeaux please?


Cypher

Its amazing what you get when you type in "weather feeds in php" in google.

http://www.mattsscripts.co.uk/mweather.htm

Clock'd 0Ne

I recently installed a number off RSS feeds from http://www.wunderground.com for a client, they cover the universe.

Electroguard

I had already tried Matts Weather but as far as I could see it just uses airport METAR reports intended primarily for pilots for providing current weather situations at a destination rather than an advance weather forecast... not much point for my purposes of course, where I can simply look outside to see the current weather situation.

I checked the RSS feeds link but didnt find any PHP scripts for their feeds, only their pre-defined weather widgets.

Sorry I havent been able to respond to you both earlier, but irony of all ironys... we had a hurricane gusting 190kph 2 weeks ago that did great damage including taking down our phone and internet for a fortnight.

I suppose pre-emptive forecasting wouldnt have made much difference to the outcome anyway, and with no useful PHP script for International RSS weather feed to be able to use, have pretty much given up on the idea.
Thanks for both of your replies anyway guys.