WXforum.net

Weather Related Organizations => noaaweatherradio.org => Topic started by: Mark / Ohio on June 07, 2022, 12:06:28 AM

Title: Number of stream visitors?
Post by: Mark / Ohio 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. 
Title: Re: Number of stream visitors?
Post by: saratogaWX on June 07, 2022, 08:09:44 AM
 https://wxradio.org/status.xsl  for SSL streams linked on Noaaweatherradio.org.
Title: Re: Number of stream visitors?
Post by: Mark / Ohio on June 07, 2022, 09:39:32 AM
Thanks Ken!   8-)
Title: Re: Number of stream visitors?
Post by: saratogaWX 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.