News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Komunitasweb.com:
Showing the weather with PHP and Google Weather API
September 11, 2009 @ 09:47:21

On the Komunitasweb.com blog there's a recent post walking you through the steps to add the Google weather content to your site, complete with icons.

If you need to show weather in your website, you can use weather widget such as weatherbug. It's nice and simple, but maybe you need something more integrated with your website. So, take a look at Google Weather API.

They use a SimpleXML object to pull in the XML data from Google's backend (as called via a URL) and loop through the resulting objects to output temperature, current conditions and several days of the forecast.

1 comment voice your opinion now!
weather tutorial google simplexml api


blog comments powered by Disqus

Similar Posts

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Lorna Mitchell's Blog: Google Analytics Accounts API

Shameer's Blog: An Introduction to Smarty 3

DevShed: Searching and Replacing Nodes with SimpleXML in PHP 5 (Part 3)

Community News: Sara Golemon & Christopher Jones - First Day Summaries of php|works


Community Events

Don't see your event here?
Let us know!


conference laravel voicesoftheelephpant symfony2 community framework application configure introduction part2 language performance opinion release series podcast api interview php7 example

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework