Page 1 of 1

Gauges showing WXSim forecast

Posted: Tue 26 Jul 2022 2:22 pm
by broadstairs
For users of WXSim I have created a small PHP script which allows the current forecast formatted by Ken True's plantext-parser script to be displayed in the rolling ticker on the gauges page of the standard CMX website or on your own custom website using the steelseries gauges.

You can see the CMX standard page at https://www.stella-maris.org.uk/CumulusMX/gauges.htm

or my own custom page at https://www.stella-maris.org.uk/Cumulus ... uges.phtml

I also have a version generated as part of a Weather Display website at https://www.stella-maris.org.uk/wxgauges.phtml

If anyone would like to try this out please let me know, it does require getting the plaintext-parser to work but otherwise the changes in CMX are minimal.

Stuart

PS. I should have said send me a PM with an email address as I want to keep it restricted until I'm sure my instructions etc are OK :roll:

Re: Gauges showing WXSim forecast

Posted: Tue 26 Jul 2022 3:08 pm
by dazza1223
yea i give it a go look nice?

Re: Gauges showing WXSim forecast

Posted: Fri 29 Jul 2022 10:25 pm
by BeaumarisWX
Hi Stuart,
As discussed via PM, your instructions easy to follow (works well).
I have implemented on my Saratoga Template only : https://beaumaris-weather.com/wxssgauges.php but not the other 3.
Thanks Again,
Kindest Regards,

Re: Gauges showing WXSim forecast

Posted: Sat 30 Jul 2022 12:38 pm
by Mapantz
I did a similar thing for the ticker on my front page..

The "rest of tonight" "this afternoon" etc, is never more than 3 lines long for me, so I just did this:

Code: Select all

<?php $wxsim = file('plaintext.txt'); echo $wxsim[3], $wxsim[4], $wxsim[5]; ?>
Cheap and nasty, but it hasn't failed me yet!