Module - Weather
This module was borne out of a desire to exercise my AJAX skills, but it has come in useful on more than one occasion.
Once installed and set up it will display the current and forecast weather report using the Google weather API, complete with images.
Weather now: Clear
Wind: N at 0 mph
Humidity: 6%

Sun:
75 →99 o
Clear

Mon:
81 →102 o
Clear

Tue:
75 →99 o
Clear
You can select a different location by clicking on the current location, which will also give you the option of seeing the weather in other languages. You can also switch between Centigrade and Fahrenheight by clicking on the relevant letter below the temperature.
Originally the module was written for PHP 5 using the simpleXML functions, and it was just standalone code, not intended or set up as a Joomla module. Once I had some spare time on my hands I wanted to rewrite it to function with PHP 4 too, however there was a significant headache involved in abandoning the nice, easy to use simpleXML classes offered by PHP 5 - until I found a great Class script by Taha Paksu on phpclasses.org which made the process of rewriting the code much more straightforward.
Encouraged by the results I rewrote the rest of the code so that it could be set up for Joomla.
I'll be the first to admit that it would benefit from some additional styling, but for a first AJAX project I'm quite satisfied. If time allows I would like to expand the options & improve the look of the module.
To be completed...



















