b226, WARNING. Significant format change
Please update your templates and scripts.
I have changed a lot in YoWindow XML format.
Mostly my goal was to let you create a template without PHP with comfort.
I hope you will agree with me on these changes.
Questions, suggestions and complaints are welcome.
But please, be short, I have no time to read "War and Peace".
1. <humidity> is accepted in percentage now, [0-100]
2. If you have wind speed on input in Kilometers per Hour, you may tell YoWindow about it, so you don't have
to convert the value yourself. Set @unit attribute of wind/<speed> tag to "kph" value
Example.
<wind>
<speed value="20" unit="kph"/>
</wind>
3. <precipitation> tag is totally changed.
<amount> tag is REMOVED from format.
These attributes REMOVED:
@mode
@intensity
Instead of this I have added 2 new tags - <rain>, <snow> and <ground>, all children of <precipitation>
<rain>
@rate - rain rate per hour (mm/hour), 0 means "no rain"
<snow>
@rate - snow rate per hour (mm/hour), 0 means "no snow"
@level - snow level (mm)
Now snow level helps YoWindow to choose the season picture.
When snow level > 0 YoWindow will always display winter landscape.
If your station does not provide rain or snow rate or snow level, do not include the corresponding tag or attribute.
When a tag is omitted, rain or snow is taken from the closest METAR station.
This looks to me as a be better way for reporting rain and snow.
Example.
<precipitation>
<rain rate="0"/>
<snow rate="1" level="10"/>
</precipitation>
4. ws-win only.
Hi, Andreas

Provide YoWindow with clouds information using sky/clouds/<icon> tag.
You have to add <icon> tag inside <clouds>, and assign sky-code to @id attribute of <icon> tag.
Example.
<sky>
<clouds>
<icon id="2" format="ws-win"/>
</clouds>
<description value="Fair"/>
<precipitation mode="rain">
<rate value="4"/>
</precipitation>
</sky>
5. You can highlight parameters provided by the weather station.
Go to Options/Advanced and check "Highlight Weather Station parameters" check-mark
Weather station parameters get displayed in blue color in Inspector.