[Icecast] Checking for file /7.html
Nanda Kishor Dasa
nkd at 24hourkirtan.fm
Wed May 13 13:30:17 PDT 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
> be aliased if you have software that needs it. I did this ina
> life. Unfortunately, I don't have convenient access to the hard drive
> 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"
> 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
> 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
> 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
> 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
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.
More information about the Icecast