PDA

View Full Version : html help


brad_nelson1
30th May 2001, 06:56
hey guys,
ive searched the forum but no luck.

i want to have a html page where users can go and see how many users are listening and what song is playing

how is this done?

Tom
30th May 2001, 16:53
Do you have the ability to run scripts (such as php) on your webserver?
You can always give a link to http://IP:PORT (where IP is the broadcasting IP and PORT is the port) but there are other ways which I'll let you know about when we determine what approach needs to be taken.

Tom

brad_nelson1
30th May 2001, 18:04
no i cant run php on my server..only cgi and SSI

so what happens now?

Tom
31st May 2001, 00:28
Well if you know how to code you can write something to extract the XML from the DNAS (so far I have only see code floating around for php or asp). Since you want the songs as well as the listeners the only tool that comes to mind that is able to do that is DoSomething by Oddsock (I have heard it is fairly complex though). Right now his page is down (so I can't give you a direct link) but when it comes back up again you can find it off http://www.oddsock.org

Tom

deejay_dude
31st May 2001, 03:09
hey er, just to update you guys - the support for that feature (no. of listeners, etc.) is gone already - due to some problems... (see his site for more details).

Anyway, it only works (or worked) for live365 streams....

Tom
31st May 2001, 04:27
deejay_dude,
Are you sure about that? I am no expert on the subject but I thought it had the ability to extract data from the XML in the SHOUTcast DNAS.

Tom

Highway 420
31st May 2001, 15:56
Yes indeedy, Do Something is capable of using XML data from SHOUTcast. I don't believe it can get an accurate listener count from a Live365 server anymore (legal problems), but there's a pretty comprehensive list of XML tags you can use with Do Something in the readme file or here (http://www.oddsock.org/tools/dosomething/).