WeatherDisplay-Live (WDL for short) is fully supported in the Leuven-Template. This includes the use of the multi-language facility which is present in WDL.
I made some adjustments in the "standard' procedure around WDL to fully integrate WDL in the Leuven-Template. These changes are duscussed in this topic of the WiKi.
The scripts are stored in the folder wdl/ (www.yourweatherstation.com/weather28/wdl/):
|incWdlive.php||the page to displayed, fulle customizable|
|wdlv6_09.swf||recente version Adobes flash program.
When a new version is installed the script incWdlive.php should be modified also.
The folowing weatherprograms support the generation of the 4 clientraw*.txt files.
The needed configuration files can be found in the weather-programs upload folder (weather28/uploadXX/)
There is a separate config file wdl-??-config.xml for every supported language (?? is the language code).
This is the first part of a config.xml file with the English language:
replace " evaluation " with your serial number
In 1 conﬁg.xml only 1 language can be used. The difference between the 4 wdl-??-config.xml files is the line
There are only xml with metric units in the template. you should modify them to suit your default preferences.
you need to use the WDL conﬁgurator.
Copy the generated xml for every supported language. Use the same naming conventions as with the supplied files wdl-??-config.xml
Exact names are neeeded as they are used in incWdlive.php
Add 1 line in every xml with the language:
|taal||deze regel toevoegen|
During testing it sometimes happens that you have to adjust the height (width is always 100%). Especialy as tyhere is a full page display and the dashboard display.
You set the hight in incWdlive.xml lines 28 - 35.
$wdlHeight = '300px'; $wdlWidth = '450px';
$wdlHeight = '540px'; $wdlWidth = '810px';