hi i work for a non-for-profit broadcaster and we use Icecast to serve a number of community radio stations - and it does a great job. i'd like to parse or edit the status.xsl file into a series of files that only show information for one mountpoint or station at a time. i have no idea of XSL syntax but looking at /usr/share/icecast/content/status.xsl i see the following statement pair: <xsl:for-each select="source"> [...] </xsl:for-each> would it be a case of amending the above for-each statement to point to the name of a single source - or is it going to be a lot more difficult than that? hope you can help and many thanks in advance chip
Hi, actualy there already are some scripts for parsing icecast statistics: http://www.scripts.com/php-scripts/counter-scripts/icecounter-15/ http://www.netzond.com/addons and note - status.xsl will give less info than admin/stats.xsl will ----- Original Message ----- From: <chiapas@aktivix.org> To: <icecast@xiph.org> Sent: Friday, April 13, 2007 7:54 PM Subject: [Icecast] Parsing status.xsl> hi > > i work for a non-for-profit broadcaster and we use Icecast to serve a > number of community radio stations - and it does a great job. > > i'd like to parse or edit the status.xsl file into a series of files > that only show information for one mountpoint or station at a time. > > i have no idea of XSL syntax but looking at > /usr/share/icecast/content/status.xsl i see the following statement > pair: > > <xsl:for-each select="source"> > [...] > </xsl:for-each> > > would it be a case of amending the above for-each statement to point > to the name of a single source - or is it going to be a lot more > difficult than that? > > hope you can help and many thanks in advance > > chip > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Thanks for the tip on those scripts. They're exactly what I've been looking for for a number of years now. Althogh the first one doesn't seem to be online anymore. If anyone's willing to send it to me, I'd love to host it for anyone else that would like to download it in the future. Justin On 14-Apr-07, at 4:33 AM, Klauss Fumuldavijus wrote:> Hi, > actualy there already are some scripts for parsing icecast statistics: > http://www.scripts.com/php-scripts/counter-scripts/icecounter-15/ > http://www.netzond.com/addons > > and note - status.xsl will give less info than admin/stats.xsl will > > ----- Original Message ----- From: <chiapas@aktivix.org> > To: <icecast@xiph.org> > Sent: Friday, April 13, 2007 7:54 PM > Subject: [Icecast] Parsing status.xsl > > >> hi >> i work for a non-for-profit broadcaster and we use Icecast to serve a >> number of community radio stations - and it does a great job. >> i'd like to parse or edit the status.xsl file into a series of files >> that only show information for one mountpoint or station at a time. >> i have no idea of XSL syntax but looking at >> /usr/share/icecast/content/status.xsl i see the following statement >> pair: >> <xsl:for-each select="source"> >> [...] >> </xsl:for-each> >> would it be a case of amending the above for-each statement to point >> to the name of a single source - or is it going to be a lot more >> difficult than that? >> hope you can help and many thanks in advance >> chip >> _______________________________________________ >> Icecast mailing list >> Icecast@xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast