Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parsing Icecast XML data

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Dae



Joined: 15 Oct 2009
Posts: 1

PostPosted: Thu Oct 15, 2009 2:13 pm    Post subject: Parsing Icecast XML data Reply with quote

I'm sure there are already topics on this, but I guess I must be really bad at searching for them.

Like many people I'd like to use Icecast stream data on my webpage. Ideally I would prefer to parse an XML file with PHP's SimpleXMLElement function (simple because that's a way of doing things I'm familiar with). Should I be trying to work with the stats.xml file in the admin directory? If so, is the authentication on that directory going to get in the way?

Alternatively, should I be trying to parse the status.xsl file?

Any pointers much appreciated.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Oct 15, 2009 3:06 pm    Post subject: Reply with quote

The xsl files in webroot can be configured how you like, the status.xsl is just an example of generating a web page from the stats, just like status2.xsl generates a text file from the stats. If you want to present xml data then that is fine as well. webroot pages don't need to be auth'd either.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Fri Oct 16, 2009 2:23 pm    Post subject: messi.... Reply with quote

hi

i whould like to cleanup the stuff there:

http://forums.cacti.net/about7713.html&highlight=

it contains a messy php parser.... maybe you like to contribute your parser then.

i will go for mrtg...
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber