| View previous topic :: View next topic |
| Author |
Message |
Dae
Joined: 15 Oct 2009 Posts: 1
|
Posted: Thu Oct 15, 2009 2:13 pm Post subject: Parsing Icecast XML data |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Oct 15, 2009 3:06 pm Post subject: |
|
|
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 |
|
 |
bbk

Joined: 15 Oct 2005 Posts: 79
|
|
| Back to top |
|
 |
|