I wrote two version of my weather module for drupal because the API of 5.x ans 6.x are different.
A weather module alredy exists for drupal, so why this another module ?
Simply because I wanted to be able to use codes like those used in yahoo, not the international airport codes. Thoses codes allows to get the weather for a specific town.
Differences between the standard weather module and my implementation :
| Drupal weather module | Jeff weather module | |
| Based on | weatherroom.com | weather.com |
| Features | one weather based on zip (for the US) or airport codes | up to 3 weathers in a block based on codes used on weather.com |
It works great, take a look at the right side bar.
Enjoy, and don't hesitate to drop me a line.
Requirements
- php modules : curl, xml, json
How to install ?
- Copy weather.module and the weather directory in the module directory
- Go to http://yourwebsite/?q=admin/settings/weather
- Register to get you partner ID and license key.
- Set the codes for the different locations that you want to be displayed in the weather block using the ajax autocomplete fields provided in the admin page. You can search a regional code by country or by name.
- the last things to do is to save settings and activate the block
Subscribe
Fill in the form and submit it if you want to keep in touch with the project. I will send an e-mail for update notification.
To all the users : if you want very fast feedback, send your comments to my mailbox. Thanks.
Jeff







Nice Module Jeff
I like the module - it is a needed block on my site. I run a Fishing Federation site - so I would also like to encourage you to allow for the visitor to select from a few locations to display - as travel to different locations in the state is common. I could get by this with the current options... but displaying more than 1 location at a time, I think, breaks our license key agreement.
Any, I'm currently switching the site from E_107 site to drupal. E_107's weather module is really nice..(I've borrowed some code from theirs to display some extra readings in your module) even allowing for satellite photos.. I was extremely happy to find that someone had decided to 'carry the torch' for drupal.
Great work. I'm signing up for update notification. Thanks for all your work.
tcb
ncbass.com
New images
Not sure if you recvieved my post so if you did please remove this one.
I have a set of images that look pretty good
http://www.fedorajim.homelinux.com/files/Weather-images/
possibly next version you could use these?
Weather Module
Great work Jeff, works very well and looks great too.
Thanks a lot for sharing this module.
Brian
Thanks!
Thanks very much Jeff for your program. It is very, very good and very useful. I'm delightfully :-).
I live in the south of Chile. I am called Miguel Angel.
Regards.
module update
impatiently waiting for module update for drupal 5.x!
Vlad
Interesting subscribing!
Hi,
Very interested in the weather module for drupal 5. Does it also support snow forecast for example?
greetings,
Martijn
Missing Images
Thanks Jeff for this awesome module.
I however dont know why my images will not display.
My site www.igboezue.com runs on drupal 5.12.
Any help will be greatly appreciated.
Bogiero
one location at a time
Thanks for your comments.
I know about the rule of one location at a time, so I will have to decide to display randomly one location in the block ,leave only one entry field in the settings page.
But you track is great, I saw on you site, a dropdown list with several locations. I think it would be great !
images
I agree with you, the images are great, but I'm using the weather.com xml services to generate the weather, and I have to follow their rules. I MUST use the icons provided in various sizes with the sdk.
thanks
Thanks Miguel for your comments, I'm always happy to know that the weather module is useful and help people to add nice feature to their site. Regards
jeff
snow forecast
Hi martijn,
I've checked and there is icons for snow, so I assume that weather.com webservice provide information about snow.
RE
Maybe you can find a location code on weather.com, fill in your license key, partner id and save. Normally it should display data. You will have to enable the weather block in drupal. The ajax regional code finder is not linked with settings of the module. Please contact me on my email, I don't check very often this page.
Regards
Jeff