Embedding feed status/alert messages

Status
Not open for further replies.

Deziel0495

PE/NB Database Guy
Database Admin
Joined
Feb 11, 2008
Messages
905
Location
PEI
I was wondering if a code could be written up (even if it's an iframe) to allow feed providers to display active alerts/status messages for their feeds on their webpages. This could even be incorporated into the current iframe for the embedded web player.

It could also be coded similar to this: http://api.broadcastify.com/listeners/feed/####

Replace "listeners" with "status" and "alerts".

Thoughts and suggestions?

Thanks
 
Last edited:

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,101
Location
San Antonio, Whitefish, New Orleans
The following is available

GET http://api.broadcastify.com/listeners/feed/####
POST http://api.broadcastify.com/status/feed/####
POST http://api.broadcastify.com/status2/feed/####
POST http://api.broadcastify.com/status4/feed/####
POST http://api.broadcastify.com/status_mobile/feed/####
POST http://api.broadcastify.com/alert/feed/####

View the responses for each method to see what you get back. Some return JSON, some return HTML entities These are undocumented but used by our platform for various things. "GET" means you do an HTTP GET, "POST" means you do an HTTP POST.
 

Deziel0495

PE/NB Database Guy
Database Admin
Joined
Feb 11, 2008
Messages
905
Location
PEI
The following is available

GET http://api.broadcastify.com/listeners/feed/####
POST http://api.broadcastify.com/status/feed/####
POST http://api.broadcastify.com/status2/feed/####
POST http://api.broadcastify.com/status4/feed/####
POST http://api.broadcastify.com/status_mobile/feed/####
POST http://api.broadcastify.com/alert/feed/####

View the responses for each method to see what you get back. Some return JSON, some return HTML entities These are undocumented but used by our platform for various things. "GET" means you do an HTTP GET, "POST" means you do an HTTP POST.

Thanks Lindsay. Is there an easy way to display these in a webpage? I don't have the best knowledge when it comes to writing code.
 

ProScan

Software Provider
Premium Subscriber
Joined
Jul 2, 2006
Messages
7,409
Location
Ontario, Calif.
Thanks Lindsay. Is there an easy way to display these in a webpage? I don't have the best knowledge when it comes to writing code.

Many web pages will show you how using slightly different methods so you can experiment with what works best for you.

Basically use jquery and the "get" function to update a DOM element. Also use a timer to periodically get the latest "active alerts/status messages" to update the DOM element.

Google search " jquery.get"
 

Deziel0495

PE/NB Database Guy
Database Admin
Joined
Feb 11, 2008
Messages
905
Location
PEI
Many web pages will show you how using slightly different methods so you can experiment with what works best for you.

Basically use jquery and the "get" function to update a DOM element. Also use a timer to periodically get the latest "active alerts/status messages" to update the DOM element.

Google search " jquery.get"

Thanks for the info. I have a bit of knowledge of HTML, but this stuff is over my head. Wouldn't even know where to begin. :lol:
 

ProScan

Software Provider
Premium Subscriber
Joined
Jul 2, 2006
Messages
7,409
Location
Ontario, Calif.
Thanks for the info. I have a bit of knowledge of HTML, but this stuff is over my head. Wouldn't even know where to begin. :lol:

I gave you a start. Google search "jquery.get". That stuff was over my head too until I started searching and looking at the examples and making modifications.
 
Status
Not open for further replies.
Top