[Icecast] Checking for file /7.html

Nanda Kishor Dasa nkd at 24hourkirtan.fm
Wed May 13 20:30:17 UTC 2015


On 12/05/2015 22:15, Geoff Shang wrote:
> As has been mentioned, 7.html is a standard stats file produced by
> Shoutcast (at least v1).
> 
> It's possible to write an XSL template that can do the same, which 
> could
> be aliased if you have software that needs it.   I did this ina 
> previous
> life.  Unfortunately, I don't have convenient access to the hard drive 
> it
> lives on, otherwise I'd send it.
> 
> The thing I recall is that the HTML in 7.html is mal-formed.  Take this
> example from the wild, generated by Shoutcast 1.9.8:
> 
> <HTML><meta http-equiv="Pragma"
> content="no-cache"></head><body>33,1,511,1500,32,96,</body></html>
> 
> You'll notice several things:
> 
> 1.  There is no opening <head> tag.
> 
> 2.  The opening tag is written <HTML> but the closing tag is written
> </html>.
> 
> A strict HTML parser will complain about these.
> 
> Worse however is the possibility that a program expecting 7.html may
> *expect* these defects.  There is an XSL stylesheet in the KH tree at
> https://github.com/karlheyes/icecast-kh/blob/master/web/7.xsl but it 
> uses
> the HTML output scheme which will lack these defects, and so may not be
> compatible with some software that expects them.
> 
> Of course, why Shoutcast decided to present what is obviously meant to 
> be
> machine-parsable data in HTML is completely beyond me.  Icecast's
> status2.xsl does a better job IMHO, though it still has some tags in 
> it.

Thanks for the elaborations, but it still does not make sense to me that 
this shows up in the Icecast log, does it? The old Shoutcast server has 
been shut down 2 weeks ago.

Cheers,
NKd



More information about the Icecast mailing list