Jump to content


Photo

weather/PHP


  • Please log in to reply
2 replies to this topic

#1 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 24 April 2006 - 11:09 AM

hi all

does anyone know of or use any services that allow you to put the weather (depending on location) on your site?

i came across this one which although American, deal with worldwide weather:
[a href=\"http://www.weather.gov/\" target=\"_blank\"]http://www.weather.gov/[/a]

which seems to have access to various weather data, however they make it look ridiculously hard to implement it, using FTP, weather terminology, etc. put just a simple API to which i pass a city (worldwide, not just specifically US/UK) and get in return the temperature, forecast, etc.

I even tried the UK Met office, but the licence fees to access the data can get well out of control and is only available for private companies and not individuals.

hope someone can help

Cheers
Mark
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 24 April 2006 - 07:45 PM

There are some limited scripts [a href=\"http://www.weather.com/services/oap.html?from=footer&ref=/\" target=\"_blank\"]here at weather.com[/a] that let you display a templated thing on your site with weather reports - Maybe you could dump it into a variable and extract what you need that way?

#3 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 24 April 2006 - 09:39 PM

[!--quoteo(post=368116:date=Apr 24 2006, 08:45 PM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ Apr 24 2006, 08:45 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
There are some limited scripts [a href=\"http://www.weather.com/services/oap.html?from=footer&ref=/\" target=\"_blank\"]here at weather.com[/a] that let you display a templated thing on your site with weather reports - Maybe you could dump it into a variable and extract what you need that way?
[/quote]

lovely, that's actually one i never came across when i was looking.
only problem i can see in advance is that the 'customisable' ways are paid for methods - possibly not ideal as it's for a project that's not for myself.

seems like it doesn't allow us non-US users to sign up without making a bogus address, but we shall see...
i'll have a good look though, looks interesting.

cheers SA!
Mark
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users