Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Ven Mars 29, 2024 12:48 am

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 
Auteur Message
 Sujet du message: stylesheet perso
MessagePublié: Sam Mars 07, 2009 12:05 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Oct 19, 2008 9:14 am
Message(s) : 5
Bonjour à tous

Un exemple de mon cru à voir sur :http://valerieetphilippe.chez-alice.fr/meteo.html

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<!-- ================= Image d'arrière plan ================= -->
<frame width="500" height="230" 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>
<!-- ================= Stats ================= -->
<textbox width="250" height="210" shadow="1" position-x="10" 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="$Country "/>
<line text=""/>
<line text="Pression relative : $Current[relative_pressure] $Unit[Pressure] ($Current[rate_relative_pressure] $Unit[Pressure]/h)"/>
<line text="Humidité exterieure : $Current[outdoor_humidity] %"/>
<line text="Point de rosée : $Current[dew_point] $Unit[Temperature]"/>
<line text="Facteur vent : $Current[wind_chill] $Unit[Temperature]"/>
<line text="Facteur humidex : $Current[heat_index] $Unit[Temperature]"/>
<line text="Vitesse vent : $Current[wind_speed] $Unit[Speed]"/>
<line text="Pluie 1h : $Current[rainfall_1h] $Unit[Rainfall]"/>
<line text="Précipitations du mois : $Stats[Month,TotalRainfall] $Unit[Rainfall]"/>
<line text="Précipitations de l'année : $Stats[Year,TotalRainfall] $Unit[Rainfall]"/>
<line text=""/>
<line text="Prévision à 12h : $WeatherForecast[Comment]"/>
<font color="FF000000" size="16" weight="400" italic="0" />
</text>
</textbox>
<textbox width="160" height="40" shadow="1" position-x="275" 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>
<!-- ================= Icon ================= -->
<frame width="128" height="128" position-x="320" position-y="25">
<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1" />
</frame>
<frame width="36" height="36" position-x="110" position-y="177">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
</frame>
<!-- ================= Frame ================= -->
<frame width="500" height="512" position-x="0" position-y="232" shadow="0">
<title text="" alignement="top|hcenter" angle="0">
<font color="FF505050" facename="Arial" size="24" weight="400" italic="0" />
</title>
<background texture="tex_bluegrad.png"/>
<border cornerradius="0" color="FF909090" thick="1" />
</frame>
<!-- ================= Sun ================= -->
<textbox width="130" height="150" shadow="0" position-x="20" position-y="262" margin="10" >
<border cornerradius="0" color="FF909090" thick="1" />
<text alignement="left|top">
<line text="\nLever :\t\t$SunRise[%Hh%M]" />
<line text="Transit :\t$SunTransit[%Hh%M]" />
<line text="Coucher :\t$SunSet[%Hh%M]"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background texture="tex_bluegrad.png" stretch="1" />
</textbox>
<textbox width="150" height="30" shadow="0" position-x="10" position-y="242" margin="5" >
<border cornerradius="10" color="FF909090" thick="1" />
<text alignement="top|hcenter">
<line text="Soleil" />
<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
</text>
<background texture="tex_bluegrad.png" stretch="1"/>
</textbox>
<!-- ================= Moon ================= -->
<textbox width="295" height="150" shadow="0" position-x="180" position-y="262" margin="10" >
<border cornerradius="0" color="FF909090" thick="1" />
<text alignement="left|top">
<line text="\nLever :\t\t$MoonRise[%Hh%M]" />
<line text="Transit :\t$MoonTransit[%Hh%M]" />
<line text="Coucher :\t$MoonSet[%Hh%M]\n"/>
<line text="Actuellement :\n"/>
<line text="Elongation : \t$MoonElongation[%.1]°"/>
<line text="Phase : \t$MoonPhaseAngle[%.1]°"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background texture="tex_bluegrad.png" stretch="1" />
</textbox>
<frame width="120" height="120" position-x="340" position-y="282" shadow="0">
<background color="FFFFFFFF" />
<border cornerradius="0" color="FF909090" thick="1" />
</frame>
<frame width="100" height="100" position-x="350" position-y="292" shadow="0">
<background texture="$MoonImage[]" stretch="1" />
<border cornerradius="0" color="FFFFFFFF" thick="1" />
</frame>
<textbox width="315" height="30" shadow="0" position-x="170" position-y="242" margin="5" >
<border cornerradius="10" color="FF909090" thick="1" />
<text alignement="top|hcenter">
<line text="Lune" />
<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
</text>
<background texture="tex_bluegrad.png" stretch="1" />
</textbox>
<!-- ================= Map ================= -->
<frame width="460" height="280" position-x="20" position-y="432" shadow="0">
<background reload-texture="300" texture="http://www.fourmilab.ch/cgi-bin/uncgi/Earth?img=learth.evif&amp;imgsize=320&amp;dynimg=y&amp;opt=-p&amp;lat=&amp;lon=&amp;alt=&amp;tle=&amp;date=0&amp;utc=&amp;jd" />
<border cornerradius="15" color="FF909090" thick="1" />
</frame>
<!-- ================= Current date ================= -->
<textbox width="500" height="40" position-x="0" position-y="712">
<text text="généré le $CurrentDate[%A %d %B %Y à %Hh%M]" alignement="9">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
</textbox>
<!-- ================= Relative Pressure ================= -->
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="500" position-y="100" margin-top="50" margin-right="50" margin-bottom="50" margin-left="50" >
<title text="$Current[relative_pressure,6.1] $Unit[Pressure]\nMin: $Stats[Day,Min,relative_pressure,.1] $Unit[Pressure]\nMax: $Stats[Day,Max,relative_pressure,.1] $Unit[Pressure]\n" alignement="relative" angle="0" position-x="0.5" position-y="0.7">
<font color="FF000000" facename="Arial" size="13" weight="400" italic="1" />
</title>
<axis color="FF000000" min="940" max="1060" titlemargin="50" titleside="top" fromangle="-45" toangle="225">
<title text="Pression\nrelative" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<labels labelinterval="1" side="0" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="3" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="left" thick="9" axisdelta="0"/>
<stats_day_min_relative_pressure color1="FFFF0000" color2="FF00FF00" texture="img_modern_index5_120x40.png" side="left" thick="9" axisdelta="0"/>
<stats_day_max_relative_pressure color1="FFFF0000" color2="FF00FF00" texture="img_modern_index5_120x40.png" side="left" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="img_modern1_300x300.png" stretch="1" />
</circulargauge>
<frame width="300" height="300" position-x="500" position-y="100">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>
<!-- ================= Wind speed/direction ================= -->
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="500" position-y="400" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="Direction $Current[wind_direction,f1]\nVitesse $Current[wind_speed] $Unit[Speed]" alignement="relative" angle="0" position-x="0.56" position-y="0.63">
<font color="FF000000" facename="Arial" size="13" weight="400" italic="1" />
</title>
<axis color="FF000000" min="0" max="360" titlemargin="20" titleside="bottom" fromangle="90" toangle="450">
<labels labels="N;NO;O;SO;S;SE;E;NE" labelinterval="1" side="top" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="800" italic="0" />
</labels>
<ticks majorticks="9" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index3_120x40.png" side="left" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern1_300x300.png" stretch="1" />
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="500" position-y="400" margin-top="70" margin-right="70" margin-bottom="70" margin-left="70" >
<title text="Vent" alignement="relative" angle="0" position-x="0.5" position-y="0.40">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<axis color="FF000000" min="0" max="180" titlemargin="50" titleside="bottom" fromangle="0" toangle="225">
<labels labelinterval="1" side="160" hide="0">
<font color="FF000000" facename="Arial" size="13" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="2" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_speed color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index4_120x40.png" side="left" thick="9" axisdelta="0"/>
<stats_day_max_wind_speed texture="img_modern_index6_120x40.png" side="left" thick="9" axisdelta="0"/>
</index>
</circulargauge>
<frame width="300" height="300" position-x="500" position-y="400">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>
</stylesheet>

Bon week-end à tous


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Sam Mars 07, 2009 3:07 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mer Oct 29, 2008 11:34 pm
Message(s) : 141
Localisation : Bruxelles
merci, je suis aussi intéressé par vos images de prévisions et temps actuel :)

_________________
Davis Vantage Pro 2 (une non-câblée à Bruxelles, une câblée à Grimentz (1710m, VS) depuis décembre 2015. Datalogger usb, Cumulus et Weatherlink
Anciennement
WMR200; Xnet_météo v2011-10-14a (entre 2014 et 2015) + données de 2008 à 2013 en txt, format WD;
Graphweather v3.0.15 ;
Deux minipc Beebox de ASRock sous Windows 10 gèrent WL et GW.

Image Image


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Sam Mars 07, 2009 4:19 pm 
Hors-ligne
Membre

Inscription : Jeu Août 31, 2006 12:53 pm
Message(s) : 239
Localisation : ROUEN
merci, mais j'ai voulu tester et cela m'a dit "Image node missing" . Qu'est ce que cela veut dire ?

_________________
Win 7 - ws2308 - graphweather 2.0.x

Ma météo : http://leappy.free.fr/

Image


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Sam Mars 21, 2009 5:56 am 
Hors-ligne
Nouveau membre

Inscription : Dim Oct 19, 2008 9:14 am
Message(s) : 5
chris_01 a écrit:
merci, je suis aussi intéressé par vos images de prévisions et temps actuel :)


On peut les trouver sur http://weather.yahoo.com/forecast/CAXX0301.html

Bon courage


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Sam Mars 21, 2009 2:08 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mer Oct 29, 2008 11:34 pm
Message(s) : 141
Localisation : Bruxelles
merci

_________________
Davis Vantage Pro 2 (une non-câblée à Bruxelles, une câblée à Grimentz (1710m, VS) depuis décembre 2015. Datalogger usb, Cumulus et Weatherlink
Anciennement
WMR200; Xnet_météo v2011-10-14a (entre 2014 et 2015) + données de 2008 à 2013 en txt, format WD;
Graphweather v3.0.15 ;
Deux minipc Beebox de ASRock sous Windows 10 gèrent WL et GW.

Image Image


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Mar Mai 05, 2009 4:29 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Mars 03, 2009 8:39 pm
Message(s) : 405
Localisation : 42400
demangel a écrit:
On peut les trouver sur http://weather.yahoo.com/forecast/CAXX0301.html

Bon courage


Pouvez vous etre plus precis svp, j'ai regardé le site mais que faut il prendre comme image ?

Amicalement.
Laurent

_________________
Vantage-Vue :D WeatherLink 6.0.3 / Graphweather V3.0.35 avec plugin VantagePro / Cumulus 1.9.4 /Win 10
http://www.st-chamond-meteo.fr

ImageImage


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Lun Mai 11, 2009 7:12 pm 
Hors-ligne
Nouveau membre

Inscription : Dim Oct 19, 2008 9:14 am
Message(s) : 5
laulau a écrit:
demangel a écrit:
On peut les trouver sur http://weather.yahoo.com/forecast/CAXX0301.html

Bon courage


Pouvez vous etre plus precis svp, j'ai regardé le site mais que faut il prendre comme image ?

Amicalement.
Laurent


Bonsoir,
Il faut copier les images dans un dossier (clic droit) en cherchant
sur différentes villes la totalité des icônes

bon courage

Cordialement


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Lun Mai 11, 2009 8:05 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Mars 03, 2009 8:39 pm
Message(s) : 405
Localisation : 42400
Ok

Mais pourriez vous le faire pour nous et mettre en zip les icones ?

Cordialement
Laurent

_________________
Vantage-Vue :D WeatherLink 6.0.3 / Graphweather V3.0.35 avec plugin VantagePro / Cumulus 1.9.4 /Win 10
http://www.st-chamond-meteo.fr

ImageImage


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: stylesheet perso
MessagePublié: Jeu Mai 14, 2009 4:43 pm 
Depuis 24 h, il pleut (pas en permanence mais fréquemment) et le baromètre est bas (1007 hPa) - Or le pictogramme sur report2.xml reste à nuageux.
J'ai coché "automatique" dans l'onglet temps actuel.
18:20 : je rectifie, tout fonctionne bien ; le picto est passé à la pluie (il a eu peur que je l'engueule !).

En attendant, voici ma version de report2-xml : elle est libre de droit (et de gauche) ; vous pouvez vous en servir :


<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="600" height="300" />
<!-- ================= Background ================= -->
<frame width="600" height="300" position-x="0" position-y="0">
<background color1="FFFFCC66" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="0" color="FF555555" thick="1" />
</frame>
<!-- ================= Stats ================= -->
<textbox width="400" height="250" shadow="1" position-x="10" position-y="20" margin="10">
<background color1="FFFFCCCC" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="left|top">
<line text="$Country le $CurrentDate[%A %d %B %Y à %Hh%M]" />
<line text="" />
<line text="Pression relative : $Current[relative_pressure] $Unit[Pressure] ($Current[rate_relative_pressure] $Unit[Pressure]/h)" />
<line text="Humidité exterieure : $Current[outdoor_humidity] %" />
<line text="Point de rosée : $Current[dew_point] $Unit[Temperature]" />
<line text="Facteur vent : $Current[wind_chill] $Unit[Temperature]" />
<line text="Facteur humidex : $Current[heat_index] $Unit[Temperature]" />
<line text="Vitesse vent : $CURRENT[wind_gust] $UNIT[SPEED]"/>
<line text="Pluie 1h : $Current[rainfall_1h] $Unit[Rainfall]" />
<line text="Précipitations du mois : $Stats[Month,TotalRainfall] $Unit[Rainfall]" />
<line text="Précipitations de l'année : $Stats[Year,TotalRainfall] $Unit[Rainfall]" />
<line text="" />
<line text="" />

<line text="Prévision à 12h : $WeatherForecast[Comment]" />

<font color="FF000000" size="15" weight="600" italic="0" />
</text>
</textbox>
<textbox width="160" height="40" shadow="1" position-x="420" position-y="250" 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="FFFF0000" size="22" weight="800" italic="0" />
</text>
<background color="00000000" />
</textbox>
<circulargauge width="80" height="80" shadow="0" orientation="1" position-x="450" position-y="30" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<axis color="FF000000" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;O;S;E" labelinterval="1" side="1" hide="0">
<font color="FF009933" facename="Comic sans ms" size="16" weight="800" italic="0" />
</labels>
<ticks majorticks="5" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="90FF0000" />
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<gaugebackground color="00000000" texture="" />
</circulargauge>

<!-- ================= Icon ================= -->
<frame width="128" height="128" position-x="430" position-y="120">
<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1" />
</frame>
<frame width="45" height="45" position-x="140" position-y="210">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
</frame>
</stylesheet>


Haut
  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 9 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 2 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site