Embedded Feed Question

Status
Not open for further replies.
Joined
Jun 26, 2010
Messages
5
Location
Bromley, Kent, UK
Hi Guys.

If you view a feed via the "web player", just below the player there is a "Feed Status - Online/Offline" display.

My question is, is it possible to display this feed status on a page with an embedded player?

Also, the RR site also displays an owner inserted "Status Message" and a "Feed Alert Message". Can these be displayed on the embedded player page as well?

Thank you.
 

kendrik578

Live Audio Administrator
Database Admin
Joined
Jul 3, 2008
Messages
1,582
Location
Greensboro, NC
You can display your feed's status and # of listeners by inserting the following script on your site:

<script language="JavaScript" src="http://api.radioreference.com/audio/listeners.php?feedId=####"> </script>

where #### is the ID for your feed.
This script will return the number of listeners you feed is serving if online. If offline, the script will return the string "Offline."
You can find the feedID value for your feed on your feed owner's page:

As far as the status/news and alert, no that can not be done. Unless of course you add it on your page yourself.
 
Last edited:
Joined
Jun 26, 2010
Messages
5
Location
Bromley, Kent, UK
Thanks for that kendrik.

I was already aware about the number of listeners, I got it from the wiki.

I suspected the other fields weren't available for offsite use (as nobody else seemed to do it), but I thought I'd ask anyway.

Thanks for the confirmation though.
 
Status
Not open for further replies.
Top