Author Topic: Number of stream visitors?  (Read 560 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2505
    • Fairfield County Weather
Number of stream visitors?
« on: June 07, 2022, 12:06:28 AM »
Is there a new link available to the server status that shows how many current listeners we have on our streams?

I noticed the old link quit working for me after the SSL changeover.  It was neat to check in during severe weather to see how many were listening to the stream.  Also motivating when you see you have an actual audience of people at any given time depending on it. 
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8647
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Number of stream visitors?
« Reply #1 on: June 07, 2022, 08:09:44 AM »
 https://wxradio.org/status.xsl  for SSL streams linked on Noaaweatherradio.org.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2505
    • Fairfield County Weather
Re: Number of stream visitors?
« Reply #2 on: June 07, 2022, 09:39:32 AM »
Thanks Ken!   8-)
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8647
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Number of stream visitors?
« Reply #3 on: June 07, 2022, 10:53:42 AM »
You can also add a custom check to your wxstatus.php page if you like.

I use on my page  the attached code.  Put it in the 'custom status' area on the wxstatus.php page.

Just change the stream entries of
Code: [Select]
   'CA-Monterey-KEC49' => 0,
  'CA-MontereyMarine-WWF64' => 0,
to your streams on wxradio.org to use the script.

and change
Code: [Select]
'/saratoga-weather.org/i' to your website's URL.
« Last Edit: June 07, 2022, 10:56:45 AM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP