This plugin is useful for skin developers or experienced users who understand how to modify skins.
Why a new weather plug-in you may ask? Well first because at the time I started writing this the bundled plug-in had stopped working and secondly because there were some features I wanted to add. This will be the last release of this package.
Features:
* Support for SEVERE WEATHER ALERTS. You can now show a visible alert icon (use the variable weatheralert) and display (ticker tape style if you want) severe weather alerts which are picked up in the Weather.com feed (US only feature).
* Uses Weather.com Xoap Web Service instead of scraping Yahoo weather (which means it is less likely to break in the future) for everything except the radar image which is grabbed in the same way the original plug-in does it You can override the radar image url
* User defined weather text variables! There are only two hardcoded variables (one is radar, the other is weatheralert) the rest can be defined using the configuration screen to use any XPATH query you want. If the data is in the XML file you can retrieve it and manipulate it. Don't worry if you don't know XPATH, I've provided the most common variables in the download for you. To see what the XML looks like and what data is in there try this link: http://xoap.weather.com/weather/local/USMO0614?cc=*&dayf=5&dayd=5
* Reads your existing forecasts.xml file for compatibility if you copy it to the new plugin directory (it will add some new tags to it).
* Caching of weather data and transformations
* Caches and obeys Weather.com limits on how often weather data is retrieved -- Automatic update of current conditions every 20 minutes and a full forecast every 2 hours.
* Complete open source (C#) available in SourceForge at http://sourceforge.net/projects/xoapweather/ and I welcome anyone taking over maintenance.
The plug-in itself can be downloaded from
http://prdownloads.sourceforge.net/xoapweather/xoapweather1.1.zip?download
Some examples of using the variables in your screens:
- Code: Select all
Current weather icon: plugin>xoapweather>current>nowicon
Weather alert image (if active): plugin>xoapweather>current>weatheralert
Radar image: plugin>xoapweather>current>radar
Current Temperature: plugin>xoapweather>current>%temperature%
Tomorrow's detailed outlook: plugin>xoapweather>current>1>%detaileddayoutlook%
Tomorrow night detailed outlook: plugin>xoapweather>current>1>%detailednightoutlook%
Tomorrow daytime weather icon: plugin>xoapweather>current>1>dayicon
NOTE! Install this plugin in a different subdirectory from the xweather plugin so you can revert back if required!