[Icecast] Icecast2 Status Page Parser

Thomas B. Ruecker dm8tbr at afthd.tu-darmstadt.de
Fri May 19 13:28:05 UTC 2006

Chris Jones schrieb:

> Greg J. Ogonowski wrote:
>> Does anyone have a Perl or PHP Icecast2 Status Page Parser?
>> Thanks.
>> -greg. 
> Any XML parser should do... I have a script which grabs
> http://admin:password@server/admin/stats.xml and returns the bits I
> care about.
> This example uses the Pear XML_Serializer library
> (http://pear.php.net/package/XML_Serializer), but if you have PHP5
> simplexml will do much the same thing.
> Doing it your self using the xml parsing tools inst exactly hard either.

In case you don't want to export the whole server status you can write
an XSLT to output a reduced XML document. If you don't want to cope with
XML at all you can have what ever you want if you craft your own XSLT.
(the KH branch even has the content-type fixed so you can set it in the



More information about the Icecast mailing list