updates
May 26th, 2007Fixed an issue with the sidebar weather plugin that is displayed on the right of this screen. Wordpress, is an open source software, and among other great things, has plugin support. I wrote the weather plugin, using Google Maps API and RSS weather data from Yahoo! that is updated continuously. The architecture of the plugin is very simple, just one php file to handle one filter that writes the javascript that interfaces with Google Maps API and one action to write the plugin on the sidebar, actually on the meta section but that can be fixed by installing a wigdet management plugin and turning my plugin into a widget. The filter calls a separate php that sits outside of Wordpress and collects the weather data (presently from Yahoo, but other channels could be used) for a few locations of interest, with the info for latitude, longitude, weather description and icon. This data is then used by the javascript and passed on to the Google API for rendering on the map. Very simple. Tested it with Firefox and IE.
The only thing I don’t like though is that the Google copyright information spills over outside of the Google map, but since I use their component I’ll have to live with that. If anyone is interested to use such a plugin, I’d be glad to give out the code and help with installing it.
Recently
Archives
Categories
