WX Weather displays data from a Personal Weather Station, retrieved from the website Weather Underground.
to use this for your own Weather Station, you need to submit your data to Weather Underground, and you know your Weather Station code. to find out more about how to do this, visit Weather Underground’s Personal Weather Station Page.
data is cached locally in your WordPress install, so it only makes one request to Weather Underground every five minutes.
- upload the contents of the archive to your /wp-content/plugins/ directory
- activate the plugin
- go to Appearance, Widgets and Add the WX Weather Widget to your dynamic sidebar
- Edit the Widget on the right to add a title, and specify your Weather Station code
- theme compatibility
i have seen a few reports of this plugin throwing errors when certain themes are used. please try a different theme before reporting a problem – if the problem clears up, let me know what theme it was causing an error with and i will try to investigate the conflict. please also note that this plugin requires PHP 5 – if you’re using PHP4, the functions used to parse the return data from Wunderground don’t exist.
There are no reviews for this plugin.
Contributors and Developers
“WX Weather Widget” is open source software. The following people have contributed to this plugin.Contributors
- fixed a bug introduced in 0.9 that output the full F+C temp string after the C string (sorry!)
- corrected some formatting to be in line with the wordpress php coding standards: https://make.wordpress.org/core/handbook/coding-standards/php/
- changed some of my string concats to be more readable
- updating some of the URLs for wunderground
- starting work on abstracting out the choice to display alternate units or not
- accidentally checked in some debug code – fixed
- changes at wunderground meant this plugin displayed XML errors when api.wunderground is overloaded; updated to check not only the HTTP status code, but examine the payload itself for valid XML before processing (otherwise it continues to use your cached data)
- added the ability to choose Metric or English unit preference
- fixed the display of rainfall data (if it’s raining)
- updated readme and plugin info page to reflect PHP5 requirement
- added a message to report the use of cached data if timeout has not expired
- suppression of php errors when using WP “snoopy” function to retrieve data
- addition of title/mouseover error|success reporting (hover over update time to see status)