Massignano AP Italy
+393405011912
lacasettabio@lacasettabio.it

Adesivo meteo (sticker) per le stazioni meteo che usano PWS Dashboard template

Adesivo meteo (sticker) per le stazioni meteo che usano PWS Dashboard template

0,00

L’adesivo reattivo del tempo per il modello PWS Dashboard.

 

somdn_product_page

(Downloads - 38)

Categoria:

Descrizione

paypal

Se stai utilizzando il template PWS dashboard per mostrare e migliorare i dati della tua stazione meteorologica, ecco uno script per creare una bellissima immagine .png con i tuoi dati giornalieri più importanti.

Un bollino meteo personale da pubblicare come firma nei forum o da pubblicare a piacere sui siti web

Tutti i dati necessari vengono ottenuti automaticamente da PWSd Dashboard. Tutto quello che devi fare è assicurarti di avere il nuovo script “_data.php” di PWS Dashboard nella tua cartella “pwsWD” e che funzioni bene. Inoltre è necessario che lo script PWS_livedata.php sia anchesso funzionante.
Dopo aver scaricato il file stickersPWS.zip, è necessario decomprimerlo e quindi caricare completamente l’ultima cartella  (“stickersPWS”) nella stessa radice in cui si trova la cartella “pwsWD” del dashboard PWS.
All’interno del codice script stickersPWS/setup.php puoi fare alcune impostazioni, ad esempio puoi cambiare l’immagine di sfondo o l’url del sito di riferimento.
Per vedere l’adesivo in funzione, puoi semplicemente chiamare questo URL: yoursite_path / stickersPWS / sticker.php

Lo script sticker.php crea un’immagine .png ogni 5 minuti. Se chiami questo script più spesso di 5 minuti, viene visualizzata un’immagine .png memorizzata nella cache
Quindi, se modifichi le impostazioni, è necessario attendere che la cache scada per vederne gli effetti (5 minuti).

Se ti piace pubblicarlo sul forum www.weather-watch.com devi andare nel campo firma (il tuo profilo forum) e scrivere

[img width=500]https://yoursite/stickersPWS/sticker.php[/img]

dove 500 è la dimensione dello sticker.

Se vuoi pubblicarlo in un sito web eccoti il codice:

<a title="your station name" href="https://yoursite/yourmeteopage" target="_blank" rel="noopener">
<img style="width: 80%;" src="https://yoursite/stickersPWS/sticker.php" />
</a>

Dove 80% è la dimensione dello sticker.

Se vuoi usare Dynamic sticker puoi incorporalo al tuo sito con questo codice:

<iframe src=”il percorso del tuo sito/stickersPWS/dynamic_sticker.php” width=”375″ height=”200″ >
</iframe>

e questo è il risultato:

C’è un argomento riguardante StickerPWS nel forum: Wheather sticker for PWS Dashboard

Questo sticker è gratuito e puoi usarlo a tuo rischio e pericolo. E’ proibito cambiare il nome dell’autore.

Se ti è piaciuto puoi ringraziare donando quello che ti senti, anche solo un caffè.

paypal



Questo articolo è tradotto anche in en_GB.

Informazioni aggiuntive

Changelog

-8 feb 2021 TEST release
-9 feb 2021 v.1.0 – fixed color settings not working + improved readme.txt file
-10 feb 2021 v.1.1 – fixed issue with min/max humidity and pressure trend data when missing or n/a
-10 feb 2021 v. 2.0 – Now the sticker Have to be installed outside the pwsWD folder
-13 feb 2021 v 2.1 – Now the pressure trend icons work even with weather[barometer_trend_text] data. Rewritten the readme.txt file
-14 feb 2021 v 2.2 – Fixed issue with date format when m-d-Y. Moved trend and station icons in specific folders.
-15 feb 2021 v 2.3 – Now we use the new script '_data.php' to get all data. (please, search into this topic to download it)
If you have not it you must upload it into your 'pwsWD' folder, otherwise your sticker will not work anymore.
Thank to the new script we can have a today weather icon and text. Also, I've avoided all the url settings; now all settings are made within the script code.
-15 feb 2021 v 2.4 – Improved browser cache cleaning. When loading the cache .png image, now automatically select https or http.
Now it works with both humidity_max / min and humidity_high / low.
-16 feb 2021 v 2.5 – Added some debug checks
-17 feb 2021 v 2.6 – Now language translation is supported. Fixed a barometer trend icons issue. Reduced the weather icon text size.
-20 feb 2021 v 2.7 – Fixed some issues when the server has not GD FreeType Support.
Now you can force to don't use GD FreeType Support (usefull if it does not work fine).
Added Davis icon.
Added update auto check. Now, if there is an update you'll be advised by a little icon at the bottom right of the sticker
-25 feb 2021 v 3.0 – Implemented the new gauges
Added the new setup.php file. The old sticker with digit is always available but now its script is called stickerdigit.php
v3.1 Fixed the problem of the units of measure that were not clearly visible. Now the text is more black.
Guages now also accept data in F, inHg, mph, in.
Centered the pressure trend text
v3.2 Fixed an issue with php tag on gauge edition.
Fixed an issue with title font on digit edition.
Added a new sticker! Sticker compact
v3.3 In Compact sticker added solar radiation and uv index data. Also, fixed some issues with overlapping texts
v3.4 pronto per php 8.0
v4.0 Aggiunto il nuovo Dynamic sticker
v4.1 Risolto un problema di stickerdigit con php 8.

Richiede

PHP 7. e superiori anche 8.0
GD Graphics Library

Recensioni

Ancora non ci sono recensioni.

Solamente clienti che hanno effettuato l'accesso ed hanno acquistato questo prodotto possono lasciare una recensione.

Sviluppo software e siti web