Live + Webcam

Une question, un bug ?
Répondre
Avatar de l’utilisateur
david36
Membre
Messages : 31
Inscription : ven. sept. 11, 2009 9:50 am
Localisation : Belgique
Contact :

Live + Webcam

Message par david36 »

Voici ma création du jour :

Image

Code : Tout sélectionner

<?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>
	<!-- ================= Webcam ================= -->
  <frame width="320" height="20" position-x="10" position-y="10" shadow="0">
    <title text="Météo La Louvière (BE)" alignement="top|hcenter" angle="0">
      <font color="FF505050" facename="Arial" size="18" weight="400" italic="1" />
    </title>
    <background color1="FFFFFFFF" color2="FFAAAAFF" gradient="1" fill="1" fill-direction="90" stretch="1"/>
    <border cornerradius="5" color="FF000000" thick="1.3" />
  </frame>
  <frame width="320" height="240" position-x="10" position-y="35" shadow="0">
    <background reload-texture="300" texture="http://www.meteo-lalouviere.be/webcam32.jpg" color1="FF0000FF" color2="FFFFFFFF" gradient="1" fill="1" fill-direction="130" stretch="1" />
		<border cornerradius="20" color="FF000000" thick="1.3" />
	</frame>
  <!-- ================= Direct ================= -->
   <textbox width="270" height="270" shadow="1" position-x="340" 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,4.0] $Unit[Pressure] ($Current[rate_relative_pressure,4.0] $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="Indice UV : \t\t$Current[uv_index]" />	  
      <line text="Pluie 1h : \t\t$Current[rainfall_1h] $Unit[Rainfall]" />
      <line text="Hauteur Nuages : \t$Current[cloud_base] m" />
      <line text="" />
      <line text="Prévision à 12h :                  $WeatherForecast[Comment]" />
      <font color="FF000000" size="14" weight="400" italic="0" />
    </text>
   </textbox>
 <!-- ================= Pluies ================= -->
 <textbox width="270" height="50" shadow="1" position-x="340" position-y="290" margin="10">
  <border cornerradius="10" color="FF999999" thick="1" />
	<text alignement="left|top">
	      <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]" />
	</text>
	<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
</textbox>
  <!-- ================= Grand Icon météo actuelle ================= -->
   <textbox width="270" height="240" shadow="1" position-x="30" position-y="290" 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="310">
    <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="430" 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 ================= -->
  <frame width="36" height="36" position-x="440" position-y="220">
    <background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
  </frame>
 <!-- ================= Rapport généré  ================= -->
 <textbox width="240" height="35" shadow="1" position-x="45" position-y="480" margin="10">
  <border cornerradius="10" color="FF999999" thick="1" />	
<text text="           Station amateur Oregon WMR 200" />
</textbox>
  <!-- ================= 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>
Davis VP II / WeatherLink + GW

Image

Météo La Louvière : CliC
Répondre