Weather Plugin
weather.swf
by Binh BUI bnhbinh@yahoo.com
* Multilanguage via <;
lang.xml>; file.
* Customizable via setting file <;
weather.xml>;
* You can make your own background and replace the default.
* The position, size can be controlled with the usual
<;plugin>; attributes: align, x, y, scale, ...
NOTE - this is a commercial plugin - to use it - it must be purchased. 15€
You can purchase this plugin through the link below.
Updates for this plugin are free!
<?xml version="1.0" encoding="utf-8"?>
<lang id="en">
<general>
<wind>Wind</wind>
<humidity>Humidity</humidity>
<visibility>Visibility</visibility>
<sun>Sun</sun>
<uv_index>UV Index</uv_index>
<moon>Moon</moon>
<chance_of_rain>Chance of rain</chance_of_rain>
<time_zone>Time Zone</time_zone>
<last_update>Last update</last_update>
<right_now>Right now</right_now>
<local_time>Local Time</local_time>
<!-- Strength of UV index -->
<low>Low</low>
<moderate>Moderate</moderate>
<high>High</high>
<very_high>Very high</very_high>
<day>Day</day>
<night>Night</night>
<today>Today</today>
<tomorow>Tomorow</tomorow>
<monday>Mon</monday>
<tuesday>Tue</tuesday>
<wednesday>Wed</wednesday>
<thursday>Thu</thursday>
<friday>Fri</friday>
<saturday>Sat</saturday>
<sunday>Sun</sunday>
<!-- months of year-->
<jan>Jan</jan>
<feb>Feb</feb>
<mar>Mar</mar>
<apr>Apr</apr>
<may>May</may>
<jun>Jui</jun>
<jul>Jul</jul>
<aug>Aug</aug>
<sep>Sep</sep>
<oct>Oct</oct>
<nov>Nov</nov>
<dec>Dec</dec>
<!-- Geographic coordinate direction -->
<n>N</n>
<s>S</s>
<e>E</e>
<w>W</w>
</general>
<conditions>
<condition code="0" text="tornado">Tornado</condition>
<condition code="1" text="tropical storm">Tropical storm</condition>
<condition code="2" text="hurricane">Hurricane</condition>
<condition code="3" text="severe thunderstorms">Severe Thunderstorms</condition>
<condition code="4" text="thunderstorms">Thunderstorms</condition>
<condition code="5" text="mixed rain and snow">Mixed rain and snow</condition>
<condition code="6" text="mixed rain and sleet">Mixed rain and sleet</condition>
<condition code="7" text="mixed snow and sleet">Mixed snow and sleet</condition>
<condition code="8" text="freezing drizzle">Freezing drizzle</condition>
<condition code="9" text="drizzle">Drizzle</condition>
<condition code="10" text="freezing rain">Freezing rain</condition>
<condition code="11" text="showers">Showers</condition>
<condition code="12" text="showers">Showers</condition>
<condition code="13" text="snow flurries">Snow flurries</condition>
<condition code="14" text="light snow showers">Light snow showers</condition>
<condition code="15" text="blowing snow">Blowing snow</condition>
<condition code="16" text="snow">Snow</condition>
<condition code="17" text="hail">Hail</condition>
<condition code="18" text="sleet">Sleet</condition>
<condition code="19" text="dust">Dust</condition>
<condition code="20" text="foggy">Foggy</condition>
<condition code="21" text="haze">Haze</condition>
<condition code="22" text="smoky">Smoky</condition>
<condition code="23" text="blustery">Blustery</condition>
<condition code="24" text="windy">Windy</condition>
<condition code="25" text="cold">Cold</condition>
<condition code="26" text="cloudy">Cloudy</condition>
<condition code="27" text="mostly cloudy (night)">Mostly cloudy</condition>
<condition code="28" text="mostly cloudy (day)">Mostly cloudy</condition>
<condition code="29" text="partly cloudy (night)">Partly cloudy</condition>
<condition code="30" text="partly cloudy (day)">Partly cloudy</condition>
<condition code="31" text="clear (night)">Clear</condition>
<condition code="32" text="sunny">Sunny</condition>
<condition code="33" text="fair (night)">Fair</condition>
<condition code="34" text="fair (day)">Fair</condition>
<condition code="35" text="mixed rain and hail">Mixed rain and hail</condition>
<condition code="36" text="hot">Hot</condition>
<condition code="37" text="isolated thunderstorms">Isolated thunderstorms</condition>
<condition code="38" text="scattered thunderstorms">Scattered thunderstorms</condition>
<condition code="39" text="scattered thunderstorms">Scattered thunderstorms</condition>
<condition code="40" text="scattered showers">Scattered showers</condition>
<condition code="41" text="heavy snow">Heavy snow</condition>
<condition code="42" text="scattered snow showers">Scattered snow showers</condition>
<condition code="43" text="heavy snow">Heavy snow</condition>
<condition code="44" text="partly cloudy">Partly cloudy</condition>
<condition code="45" text="thundershowers">Thundershowers</condition>
<condition code="46" text="snow showers">Snow showers</condition>
<condition code="47" text="isolated thundershowers">Isolated thundershowers</condition>
<condition code="3200" text="not available">--</condition>
</conditions>
</lang>
<?xml version="1.0" encoding="utf-8"?>
<settings>
<!-- weather location code, find yours at http://www.edg3.co.uk/snippets/weather-location-codes/ -->
<city_code>FRXX0076</city_code>
<city_name>Paris</city_name>
<!-- background alpha, 0(transparent) -> 100(opaque) -->
<background_alpha>100</background_alpha>
<!-- temperature unit: c or f -->
<temperature_unit>c</temperature_unit>
<!-- distance unit: k(km) or m(mile) -->
<distance_unit>k</distance_unit>
<!-- speed unit: k(km/h) or m(mph) -->
<speed_unit>k</speed_unit>
<!-- time interval for update, in minutes -->
<utime_interval>15</utime_interval>
</settings>
You can pass parameters to the plugin:
* baseDir : path to plugin directory (default: current directory).
* langXML : path to language file.
* settingsXML: path to setting file.
<plugin name="weather"
url="../../plugins/weather/weather.swf?baseDir=../../plugins/weather/&langXML=language/lang.xml&settingsXML=weather.xml"
keep="true"
align="topcenter"
/>