Thank for great post.
You should change style type location , i think change to select + option tag html .
Regards,
Hi,
Check this error for: http://papermashup.com/demos/google-weather-api/?location=g%C5%82og%C3%B3w
You dont check Content-Type: text/xml; charset=$encoding_input
For iso8859-2 it must do iconv($encoding_input, ‘utf-8′, $xml_from_google);
I tried to get the weather information from googles API with your script in another language. But with my knowledges i couldn’t get them. Could you give me some help to send additional information about language to the api?
Thanks.
Anyone know how to get the feed using classic asp? Thanks.
Thanks for a nice tutorial, It’s a very simple and useful. I love the idea of the little friendly messages. Thanks a lot for sharing it.
Regards,
Razib
http://www.donheymann.com/
This returns weather data for Paris France in XML format.
http://www.google.com//ig/api?weather=paris
This will also accept US zip codes.
This link also has more information.
http://www.instructables.com/id/Google-Weather-on-graphical-display-with-Arduino/
Did Google change the weather-api? Have a look at your demo site:
“Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /nfs/c02/h13/mnt/40992/domains/papermashup.com/html/demos/google-weather-api/index.php on line 21″
Great tutorial, would be great to be able to use custom icons though, how would you go about this?
Thanks for a great API tutorial, very simple and useful. Is it possible to replace Googles (ugly) weather icons with my own (beautiful) images ?? =)
Really nice tutorial thanks
I love the idea of the little friendly messages
This is Great apps! i have’nt use it before! but i found it very interesting ![]()
thanks
Nice tutorial. It would be better if I could find a link to Google Weather API and a returned format. Anyway, the code looks clean.
I made something similar long time ago ![]()
Take a look at the demo, I’m to lazy to write some docs and to release it. But I hope I will do it soon…
http://sale.mfhinc.net/demos/weather-widget/
Cheers!
Can this google weather xml data be used for a commercial weather website? Could I just use the data to make my own weather website?
Thank you for this interesting article. – Another idea: A display of the solar UV index. Thank you for your great work.
It’s also worth noting that the Google Weather API is stable (there aren’t many changes) even though it’s undocumented. I’ve been using it for http://instantwx.com for more than a year without touching the code.
Thanks for another great post Ashley!
Google API + custom messages = cool application
I would definitely use it in my future projects.
Designer and web developer, Co-founder and Technical Director at Harkable.com London. Previously I worked at InMobi, Spotify and MySpace. Interests include photography and making short videos. Also an avid F1 fan.
Follow us on Twitter and get in-stream updates.
Subscribe to all the Papermashup tutorials and articles straight to your RSS reader.
Sign up and get all the Papermashup tutorials straight to your inbox.
18 discussions around Using Google’s Weather API