Stylesheet XML créés par nos membres
paaubert
Membre
Messages : 2624 Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :
Message
par paaubert » sam. févr. 27, 2010 1:14 am
J'ai fait quelques bannières, les fichiers xml sont dispo ici
http://www.boock.ch/meteo/banner.php il faut juste mettre dans le répertoire des feuiiles de styles un fichier images .png avec le même nom que le fichier.
Si quelqu'un veut une bannières dans le style et qu'il n'arrive pas a adapter le style a sa bannière, il peux me l'envoyer en MP et je lui ferais sa bannière.
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
laulau
Membre
Messages : 405 Inscription : mar. mars 03, 2009 8:39 pm
Localisation : 42400
Contact :
Message
par laulau » sam. févr. 27, 2010 1:29 pm
Super ta banniere et merci d'en faire profiter, juste pour te dire que tu a oublier cette ligne en debut de fichier xml <?xml version="1.0" encoding="iso-8859-1" ?>
Cordialement
Laurent
paaubert
Membre
Messages : 2624 Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :
Message
par paaubert » sam. févr. 27, 2010 2:07 pm
Salut
Non, la ligne est bien mise, seulement quand on l'ouvre directement dans l'explorateur on ne la voit pas, il faut faire click droite, enregistrer la cible du lien sous.
@+
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
laulau
Membre
Messages : 405 Inscription : mar. mars 03, 2009 8:39 pm
Localisation : 42400
Contact :
Message
par laulau » sam. févr. 27, 2010 5:25 pm
effectivement.
jmj41
Membre
Messages : 31 Inscription : dim. janv. 31, 2010 9:02 am
Contact :
Message
par jmj41 » jeu. avr. 01, 2010 10:36 am
Sympa, merci pour le partage. Je profite de ton post pour en proposer une autre. Toute simple, résultat dans ma signature.
<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="500" height="100" />
<!-- ================= Background ================= -->
<frame width="500" height="100" position-x="0" position-y="0">
<background color="990279FD" />
<border cornerradius="5" color="" thick="1" />
</frame>
<!-- ================= Titre ================= -->
<textbox width="400" height="20" shadow="0" position-x="60" position-y="5" margin="0">
<text alignement="center">
<line text="Station Chailles (41) - $CurrentDate[%d %B %Y à %Hh%M]" />
<font color="6600006F" size="17" weight="500" italic="1" />
</text>
</textbox>
<!-- ================= Texte tendance ================= -->
<textbox width="70" height="20" shadow="0" position-x="425" position-y="80" margin="0">
<text alignement="left">
<line text="Tendance" />
<font color="6600006F" size="15" weight="500" italic="1" />
</text>
</textbox>
<!-- ================= Données ================= -->
<textbox width="50" height="20" shadow="0" position-x="220" position-y="25" margin="0">
<text alignement="center">
<line text="Température" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="220" position-y="40" margin="0">
<text alignement="left">
<line text="$Current[outdoor_temperature]°" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="220" position-y="60" margin="0">
<text alignement="center">
<line text="Humidité relative" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="220" position-y="75" margin="0">
<text alignement="left">
<line text="$Current[outdoor_humidity]%" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="300" position-y="25" margin="0">
<text alignement="center">
<line text="Pression relative" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="300" position-y="40" margin="0">
<text alignement="left">
<line text="$Current[relative_pressure,6.1] $Unit[Pressure]" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="300" position-y="60" margin="0">
<text alignement="center">
<line text="Pluie du jour " />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="310" position-y="75" margin="0">
<text alignement="left">
<line text="$Stats[Day,TotalRainfall] mm" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="120" position-y="40" margin="0">
<text alignement="center">
<line text="Vent Moyen" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="120" position-y="55" margin="0">
<text alignement="left">
<line text="$Current[wind_speed] $Unit[Speed]" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<circulargauge width="70" height="70" shadow="0" orientation="1" position-x="20" position-y="15" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<axis color="FFFFFFFF" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;NO;O;SO;S;SE;E;NE" labelinterval="1" side="1" hide="0">
<font color="FFFFFF84" facename="Comic sans ms" size="11" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="6600006F" />
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<gaugebackground color="00000000" texture="" />
</circulargauge>
!-- ================= Icon ================= -->
<frame width="75" height="75" position-x="420" position-y="3">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
</frame>
</stylesheet>
neomanu16
Nouveau membre
Messages : 8 Inscription : ven. oct. 21, 2011 11:25 am
Message
par neomanu16 » mer. nov. 16, 2011 9:26 pm
bonsoir, j'utilise la bannière de jm41 et je me demander si il y avait un moyen de rajouter, les uv et le rayonnement solaire,
j'ai fait pleins de test non concluant pour l'instant si quelqu’un a une idée des codes a rajouter se suis preneur merci
bonne soirée @+
paaubert
Membre
Messages : 2624 Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :
Message
par paaubert » mer. nov. 16, 2011 9:50 pm
Salut,
Radiation solaire: $Current[solar_radiation,4.1] w/m² h
Indice UV : $Current[uv_index,3.1]
Bonne soirée
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
neomanu16
Nouveau membre
Messages : 8 Inscription : ven. oct. 21, 2011 11:25 am
Message
par neomanu16 » jeu. nov. 17, 2011 9:41 am
merci je vais essayer ça voir que sa donne nickel ça marche @+
jturlier
Membre
Messages : 3149 Inscription : mar. août 22, 2006 8:38 am
Localisation : 34410 Sérignan - Languedoc
Contact :
Message
par jturlier » jeu. nov. 17, 2011 9:58 pm
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
domidom81
Membre
Messages : 477 Inscription : mer. févr. 18, 2009 1:34 pm
Localisation : Lagarrigue 81 (Tarn France)
Contact :
Message
par domidom81 » ven. avr. 13, 2012 6:58 am
paaubert a écrit : J'ai fait quelques bannières, les fichiers xml sont dispo ici
http://www.boock.ch/meteo/banner.php il faut juste mettre dans le répertoire des feuiiles de styles un fichier images .png avec le même nom que le fichier.
Si quelqu'un veut une bannières dans le style et qu'il n'arrive pas a adapter le style a sa bannière, il peux me l'envoyer en MP et je lui ferais sa bannière.
Salut paaubert,
Merci pour le partage, j'ai même rajouté dans la signature un lien pour mobiles.
a+
Station VP2-IP + WebCam sur IC Lagarrigue81 Weatherlink 6555 (V 6.0.2)
Site Station VantagePro2+WebCam Foscam FI9805W (GW V3.0.15) Win10x64 Pc HP