
Je viens de modifier un fichier .xml espérant obtenir ceci :

Une fois implémenté et activé, j'obtiens ceci :

Que ce soit par accès aux données via mySQL ou .csv, il semblerait
que les données se chevauchent. Comment faire si possible pour que
GW ne lise que le dernier enregistrement soit mySQL soit .csv

Cela serait sympa pour créer cette bannière pouvant servir dans les
signatures ou ailleurs.
Code source ci-dessous.
Merci pour les avis avisés.
Cordialement @ tous.
-= weather =-
<?xml version="1.0" encoding="iso-8859-15" ?>
- <stylesheet>
<image width="500" height="40" />
- <!-- ================= Image d'arrière plan =================
-->
- <frame width="500" height="40" position-x="0" position-y="0">
<background color="ff0000ff" texture="img_banner.jpg" stretch="1" />
<border cornerradius="12" color="FF555555" thick="1" />
</frame>
- <!-- ================= Stats =================
-->
- <!-- Place
-->
- <textbox width="500" height="40" shadow="0" position-x="10" position-y="0" margin="0">
- <text alignement="left|top" text="Météo : La Turbie, F-06320, Les HMC">
<font color="FF008000" facename="Verdana" size="14" weight="600" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Date
-->
- <textbox width="500" height="40" shadow="0" position-x="325" position-y="0" margin="0">
- <text alignement="left|top" text="Le : $CurrentDate[ %d-%m-%y à %Hh%M]">
<font color="FF008000" facename="Verdana" size="14" weight="600" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Wind
-->
- <textbox width="200" height="40" shadow="0" position-x="10" position-y="13" margin="0">
- <text alignement="left|top" text="Vent : $Current[wind_speed] $Unit[Speed] - $Mean[wind_direction]°">
<font color="FF000000" facename="Verdana" size="13" weight="600" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Temp
-->
- <textbox width="200" height="40" shadow="0" position-x="250" position-y="16" margin="0">
- <text alignement="left|top" text="$Current[outdoor_temperature] $Unit[Temperature]">
<font color="FFFF0000" facename="Verdane" size="22" weight="800" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Rain
-->
- <textbox width="200" height="40" shadow="0" position-x="390" position-y="13" margin="0">
- <text alignement="left|top" text="Pluie : $Current[relative_rainfall] $Unit[Rainfall]">
<font color="FF0000FF" facename="Verdana" size="13" weight="600" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Hum Dew
-->
- <textbox width="520" height="40" shadow="0" position-x="10" position-y="25" margin="0">
- <text alignement="left|top" text="Hum : $Current[outdoor_humidity] % - Pt. de rosée : $Current[dew_point] $Unit[Temperature]">
<font color="FF000000" facename="Verdana" size="13" weight="bold" italic="0" />
</text>
<background color="00000000" />
</textbox>
- <!-- Baro
-->
- <textbox width="520" height="40" shadow="0" position-x="355" position-y="25" margin="0">
- <text alignement="left|top" text="Baromètre : $Current[relative_pressure] $Unit[Pressure]">
<font color="FF000000" facename="Verdana" size="13" weight="bold" italic="0" />
</text>
<background color="00000000" />
</textbox>
</stylesheet>