I've got a plugin started for adding weather information to the b2evolution sidebar. It might be of interest to sites that are focused on a single location. I maintain the website for a local newspaper and this is one of the features that b2evo needs before I can migrate the site from PostNuke to b2evolution. If you think this might be something to offer on AM, then let me know what it needs to have. Right now it displays current temp, icon, today's high, today's low and a link to the Weather.com 10-day forecast for the location. But Weather.com's xml feed provides all kinds of information, so the sky's the limit. Params in the skin can set all sorts of things, including the location ID and measurement units (standard or metric). You can take a look at it
here.
I couldn't resist trying this out
PS. Is this the right place to propose stuff like this, or should I just send an email?
Todo:
Finish the backoffice part so that a site that only wants one set of weather settings can just store them in the database. If other blogs on the site want different settings, they can be done in the skin. Maybe the backoffice page can take their settings via a form, and generate the code they need to paste into the skin. Edit: Done. This can all be done in the backoffice now.
Set up some kind of caching.EDIT: Done. My plugin now caches to the database.
Edit: I've got things working fairly well now. I haven't progressed much as far as the front end presentation, but everything under the hood works fine. Now it's just a matter of making the data presentation more interesting and flexible. Get the file here:
weatherplugin.zip.
Recent Comments