RE: [PHP] Weather Scripts
I recently made a class that gets its info from the NOAA which is free for public use. At the moment it is a little buggy and not quite complete. You can look at it here http://spectre013.grunews.com/weather It works for any location in the world by using the 4 character Airport Code. I will have the source if you want to use it, but at the moment it is in no condition to be used on a live site. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Simos Varelakis (OLD) [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 5:27 AM To: 'Erik Price'; 'Shannon Doyle' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Weather Scripts > > Hi People, > > I have been looking around the web lately and have noted a number of > sites are running what appears to be php scripts that parse their local > weather information and display it on their wesite. > > Well, I want to do the same, however I have been searching and found > nothing that does what I want it to do. The only ones that I can find > are either the output style of weather.com (ie all or nothing) or use > their own graphics etc to display the data. > > All I want to be able to do is give the current conditions (ie partly > cloudy) and the current temperature. I haven't decided if I then want to > use this info to create an image or if I will display it as straight > text. I want to do the same thing and I wonder if there are sites which can give me weather info for European cities (in xml format) for free... Thanks in advance for your help Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Weather Scripts
> > Hi People, > > I have been looking around the web lately and have noted a number of > sites are running what appears to be php scripts that parse their local > weather information and display it on their wesite. > > Well, I want to do the same, however I have been searching and found > nothing that does what I want it to do. The only ones that I can find > are either the output style of weather.com (ie all or nothing) or use > their own graphics etc to display the data. > > All I want to be able to do is give the current conditions (ie partly > cloudy) and the current temperature. I haven't decided if I then want to > use this info to create an image or if I will display it as straight > text. I want to do the same thing and I wonder if there are sites which can give me weather info for European cities (in xml format) for free... Thanks in advance for your help Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Weather Scripts
On Tuesday, February 19, 2002, at 08:13 PM, Shannon Doyle wrote: > > Hi People, > > I have been looking around the web lately and have noted a number of > sites are running what appears to be php scripts that parse their local > weather information and display it on their wesite. > > Well, I want to do the same, however I have been searching and found > nothing that does what I want it to do. The only ones that I can find > are either the output style of weather.com (ie all or nothing) or use > their own graphics etc to display the data. > > All I want to be able to do is give the current conditions (ie partly > cloudy) and the current temperature. I haven't decided if I then want to > use this info to create an image or if I will display it as straight > text. This is the beauty of XML... It's usually done using something called XML-RPC. There's a nice O'Reilly introduction to the topic, at xml.com, and I'm sure that after reading this you'll be better-prepared to search for scripts that do this for you. http://www.xml.com/pub/a/1999/08/rpc/ Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Weather Scripts
Surprising as it may come, you should look for something like "satellite images" on Google - you'll find zillions of links to top-level weather info providers. Then you should check which are free, copy their names and search for "free web weather service " - you'll probably end up with a solid list of free services - you see, the ones that are free for you must rely on some free service above, so there. HTH Bogdan Shannon Doyle wrote: >Hi People, > >I have been looking around the web lately and have noted a number of >sites are running what appears to be php scripts that parse their local >weather information and display it on their wesite. > >Well, I want to do the same, however I have been searching and found >nothing that does what I want it to do. The only ones that I can find >are either the output style of weather.com (ie all or nothing) or use >their own graphics etc to display the data. > >All I want to be able to do is give the current conditions (ie partly >cloudy) and the current temperature. I haven't decided if I then want to >use this info to create an image or if I will display it as straight >text. > >I was wondering if anyone on this list has ever used such a script and >if their outputs were similar to what I want, and of course possibly if >I could source that script for my own use? > >Any help would be appreciated. > >Regards, > >Shannon > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Weather Scripts
Hi, it sounds like it shouldn't be too bad, but you didn't say where you plan on getting the information from... At 11:43 AM 2/20/2002 +1030, Shannon Doyle wrote: >Hi People, > >I have been looking around the web lately and have noted a number of >sites are running what appears to be php scripts that parse their local >weather information and display it on their wesite. > >Well, I want to do the same, however I have been searching and found >nothing that does what I want it to do. The only ones that I can find >are either the output style of weather.com (ie all or nothing) or use >their own graphics etc to display the data. > >All I want to be able to do is give the current conditions (ie partly >cloudy) and the current temperature. I haven't decided if I then want to >use this info to create an image or if I will display it as straight >text. > >I was wondering if anyone on this list has ever used such a script and >if their outputs were similar to what I want, and of course possibly if >I could source that script for my own use? > >Any help would be appreciated. > >Regards, > >Shannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Weather Scripts
Hi People, I have been looking around the web lately and have noted a number of sites are running what appears to be php scripts that parse their local weather information and display it on their wesite. Well, I want to do the same, however I have been searching and found nothing that does what I want it to do. The only ones that I can find are either the output style of weather.com (ie all or nothing) or use their own graphics etc to display the data. All I want to be able to do is give the current conditions (ie partly cloudy) and the current temperature. I haven't decided if I then want to use this info to create an image or if I will display it as straight text. I was wondering if anyone on this list has ever used such a script and if their outputs were similar to what I want, and of course possibly if I could source that script for my own use? Any help would be appreciated. Regards, Shannon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php