Bannière dynamique automatique

Vous pouvez mettre dans ce forum les feuilles de style correspondant à la version 3 de GW .
Répondre
kocher
Membre
Messages : 109
Inscription : ven. avr. 27, 2012 11:37 pm
Localisation : San Sbastian (Spain)
Contact :

Bannière dynamique automatique

Message par kocher »

Bonjour à tous
Permettez-moi de vous donner un moyen simple d'obtenir facilement nos bannières dynamiques automatiquement.
Le mérite en revient à:
Antonio V. Boix Valero "http://www.meteoelche.com"
Il ya des années il a réussi mis au point un script à traduire:

1) Le temps actuel ("curweat.htx" >> "curweat.php").
2) La phase lunaire ("fasmoon.htx" >> "fasmoon.php")
3) les prévisions météo ("preweat.htx" >> "preweat.php")

L'information obtenue est convertie en 3 simples icônes sur notre site. Cette information est obtenue uniquement avec le software WeatherLink (stations Davis), mais il semble que peut accueillir tout type de station météo.
Pour nos bannières juste besoin du fichier "curweat.htx" >> "curweat.php".
Le même Weatherlink gère le téléchargement des fichiers templates (*. htx) toutes les x minutes, en les retournant à "*.php".


Il dispose de 22 conditions météorologiques possibles.

Une fois installé (lire les deux fichiers pdf), le courant icône météo (curweat.gif) devrait apparaître sur notre site Web.

Vous avez juste besoin de créer un autre répertoire avec nos propres images, les jumelant avec les conditions météorologiques de l'icône d'origine. Bien sûr, vous pouvez avoir la même image avec nom différent.
Ensuite, vous devez modifier le nom du nouveau fichier: "curweatxxx.php" à gagner par wetherlink. En principe, il suffirait d'avoir 4 ou 5 bonnes photos, mais je pense que la bonne chose à propos de ce script est qu'il peut diversifier nos bannières.

Antonio V. Boix Valero nous a autorisé à utiliser le script et le modifier à notre goût.

Pour télécharger: http://www.meteoelche.com/meteoActual.rar

Instrucciones en francés: http://kocher.es/almacen_archivos/Insta ... at_gif.txt

Kocher
Kocher

Windows 7 Prof
Estación Davis Vantage Pro Plus f.a
GraphWeather 3.0.15
WeatherLink 6.0.2
http://kocher.es/index.php
Image
kocher
Membre
Messages : 109
Inscription : ven. avr. 27, 2012 11:37 pm
Localisation : San Sbastian (Spain)
Contact :

Re: Bannière dynamique automatique

Message par kocher »

Pour les icônes de phase lunaires dans le format *. PNG avec fond transparent.
Pour les utiliser, vous devez éditer le fichier fasmoon.htx avec les nouvelles valeurs.

Descarga: http://kocher.es/almacen_archivos/lu.rar
Kocher

Windows 7 Prof
Estación Davis Vantage Pro Plus f.a
GraphWeather 3.0.15
WeatherLink 6.0.2
http://kocher.es/index.php
Image
Avatar de l’utilisateur
paaubert
Membre
Messages : 2624
Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :

Re: Bannière dynamique automatique

Message par paaubert »

Merci Javier,

je vais étudier ça

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
Image
kocher
Membre
Messages : 109
Inscription : ven. avr. 27, 2012 11:37 pm
Localisation : San Sbastian (Spain)
Contact :

Re: Bannière dynamique automatique

Message par kocher »

Salut Pierre André

Nous avons besoin de quelqu'un comme vous pour améliorer ce script.

Dans ma page fonctionne parfaitement.

Cordialement

Javier
Kocher

Windows 7 Prof
Estación Davis Vantage Pro Plus f.a
GraphWeather 3.0.15
WeatherLink 6.0.2
http://kocher.es/index.php
Image
Répondre