domidom81 a écrit:
Salut,
On peut savoir de quel fichier xml tu parle ?
C'était celui là :
<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="620" height="540" />
<!-- ================= Background ================= -->
<frame width="620" height="540" position-x="0" position-y="0">
<background color1="FF9999FF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="0" color="FF555555" thick="1" />
</frame>
<!-- ================= Direct ================= -->
<textbox width="270" height="245" shadow="1" position-x="320" position-y="10" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="left|top">
<line text="\t\tDonnées en direct" />
<line text="\tdu $CurrentDate[%A %d %B %Y à %Hh%M]" />
<line text="" />
<line text="" />
<line text="Pression relative : \t$Current[relative_pressure] $Unit[Pressure] ($Current[rate_relative_pressure] $Unit[Pressure]/h)" />
<line text="Humidité exterieure : \t$Current[outdoor_humidity,2.0] %" />
<line text="Vent Rafales : \t\t$Current[wind_gust] $Unit[Speed]" />
<line text="Vent Moyen : \t\t$Current[wind_speed] $Unit[Speed]" />
<line text="Point de rosée : \t\t$Current[dew_point] $Unit[Temperature]" />
<line text="Facteur vent : \t\t$Current[wind_chill] $Unit[Temperature]" />
<line text="Facteur humidex : \t$Current[heat_index]" />
<line text="Pluie 1h : \t\t$Current[rainfall_1h] $Unit[Rainfall]" />
<line text="Précipitations du mois : \t$Stats[Month,TotalRainfall] $Unit[Rainfall]" />
<line text="Précipitations de l'année : $Stats[Year,TotalRainfall] $Unit[Rainfall]" />
<line text="Hauteur Nuages : \t$Current[cloud_base] m" />
<line text="" />
<font color="FF000000" size="14" weight="400" italic="0" />
</text>
</textbox>
<!-- ================= Pluies ================= -->
<textbox width="270" height="245" shadow="1" position-x="320" position-y="280" margin="10">
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="left|top">
<line text="Stats Vent" />
<line text="Direction du Vent : $Stats[vent_dir_txt=Néant] $Current[wind_direction, f1]" />
<line text="Vitesse maximale : $Max[wind_speed] $Unit[Speed] à $MaxDate[wind_speed,%Hh%M]"/>
<line text="Rafale maximale : $Max[wind_gust] $Unit[Speed] à $MaxDate[wind_gust,%Hh%M]"/>
<line text="" />
<line text="Stats Température" />
<line text="Tendance de la Température : $Current[rate_outdoor_temperature]$Unit[Temperature]" />
<line text="Température Moyenne du jour: $Mean[outdoor_temperature]$Unit[Temperature]" />
<line text="Température Minimum du jour: $Min[outdoor_temperature]$Unit[Temperature] à $MinDate[outdoor_temperature, %Hh%M]" />
<line text="Température Maximum du jour: $Max[outdoor_temperature]$Unit[Temperature] à $MaxDate[outdoor_temperature, %Hh%M]" />
</text>
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
</textbox>
<!-- ================= Grand Icon météo actuelle ================= -->
<textbox width="270" height="245" shadow="1" position-x="30" position-y="10" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="4">
<line text="Actuellement :$WeatherConditions[Comment]" />
<font color="FF000000" size="14" weight="400" italic="0" />
</text>
</textbox>
<frame width="128" height="128" position-x="100" position-y="40">
<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1" />
<background color="00000000" />
</frame>
<!-- ================= température ================= -->
<textbox width="160" height="40" shadow="1" position-x="90" position-y="180" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="4">
<line text="$Current[outdoor_temperature] $Unit[Temperature]" />
<font color="FF000000" size="22" weight="400" italic="0" />
</text>
<background color="00000000" />
</textbox>
<!-- ================= Petit Icon prévision 12h ================= -->
<textbox width="270" height="245" shadow="1" position-x="30" position-y="280" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="4">
<line text="Prévision à 12h : $WeatherForecast[Comment]" />
<font color="FF000000" size="14" weight="400" italic="0" />
</text>
</textbox>
<frame width="128" height="128" position-x="100" position-y="320">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
<background color="00000000" />
</frame>
<!-- ================= Logo Météo ================= -->
<frame width="170" height="180" position-x="390" position-y="350">
<background color="FF9999FF" texture="logo1.PNG" stretch="1" />
</frame>
</stylesheet>
Je l'avais "bidouillé" à ma sauce , maintenant , je ne sais pas si c'est celui là qui fait planté à minuit ou pas