I don't mind using the password. Just I am asking if there is some sort of protocol to retrieve the information without playing with the xsl !! I mean, to directly retrieve the wanted information, like ME: Get MetaData Server: Celin Dion - All comes back to me. On Tue, 15 Feb 2005 10:22:11 -0800 (PST), Karl Heyes <karl@xiph.org> wrote:> On Tue, 2005-02-15 at 14:28, Mohamed Eldesoky wrote: > > Regardless of the xsl files. > > Can't we communicate with the icecast server directly to retrieve the > > information ?? > > > > > > > > On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote: > > > lluis wrote: > > > > i need to access the info of the files > > > > > > > > /admin/stats.xsl > > > > /admin/listmounts.xsl > > > > /admin/listclients.xsl > > > > > > > > I wanted to let other people monitor the connection stats and such of > > > the stream without giving out the PW. I run a cron job on a remote > > > machine that gets the stats file every minute (the stats prog we use > > > needs the stats.xml file) with the admin UN/PW, and everyone then gets > > > the stats from my remote box without needing the admin PW or having > > > access to the admin functions. > > Any of the stats in stats.xsl can be listed via xsl in webroot (eg > status.xsl) provided they are not marked as hidden (<hidden>1</hidden>). > > The information about specific listeners (like IP addressess) are not in > the stats so are created specifically for the xsl, so those cannot be > done without password access. > > karl. > >-- Mohamed Eldesoky www.eldesoky.net RHCE
On Wed, 16 Feb 2005 16:23:03 +0200, Mohamed Eldesoky <eldesoky.lists@gmail.com> wrote:> I don't mind using the password. > Just I am asking if there is some sort of protocol to retrieve the > information without playing with the xsl !! > I mean, to directly retrieve the wanted information, like > > ME: Get MetaData > Server: Celin Dion - All comes back to me.Ah. For most (possibly all?) of the admin requests, there's an alternative form that will just serve you the raw XML (which is what the XSL transforms). Just use the same URL, but without the ".xsl" on it. You'll still need to parse the XML, but that's easy. Mike
That is why I asked for a protocol :) Why we have to go the extra mile of parsing the XML, that will contain plenty of info we don't need !! Anyway, thank you for the tips. On Thu, 17 Feb 2005 10:39:26 +1100, Michael Smith <mlrsmith@gmail.com> wrote:> On Wed, 16 Feb 2005 16:23:03 +0200, Mohamed Eldesoky > <eldesoky.lists@gmail.com> wrote: > > I don't mind using the password. > > Just I am asking if there is some sort of protocol to retrieve the > > information without playing with the xsl !! > > I mean, to directly retrieve the wanted information, like > > > > ME: Get MetaData > > Server: Celin Dion - All comes back to me. > > Ah. For most (possibly all?) of the admin requests, there's an > alternative form that will just serve you the raw XML (which is what > the XSL transforms). Just use the same URL, but without the ".xsl" on > it. > > You'll still need to parse the XML, but that's easy. > > Mike >-- Mohamed Eldesoky www.eldesoky.net RHCE