bruce
Joined: 11 Nov 2008 Posts: 1
|
Posted: Tue Nov 11, 2008 3:04 pm Post subject: Minor change to web/status2.xsl |
|
|
Hi,
We've made a minor change to web/status2.xsl, which makes it behave the way I think it is supposed to
The distributed version of status2.xsl appears to be missing a newline - so it prints out the 6 comma-separated column headings, but then joins all of the data lines together.
So if you have 3 streams running through your server, the final part of the output would be a single line of 18 fields, rather than 3 lines of 6
The simple fix is to add a
| Code: |
| <xsl:text>
</xsl:text> |
to status2.csl, so
| Code: |
<xsl:value-of select="@mount" />,,<xsl:value-of select="name"/>,<xsl:value-of select="listeners" />,<xsl:value-of select="description" />,<xsl:value-of select="artist" /> - <xsl:value-of select="title" />,<xsl:value-of select="url" />
|
becomes
| Code: |
<xsl:value-of select="@mount" />,,<xsl:value-of select="name"/>,<xsl:value-of select="listeners" />,<xsl:value-of select="description" />,<xsl:value-of select="artist" /> - <xsl:value-of select="title" />,<xsl:value-of select="url" /><xsl:text>
</xsl:text>
|
[/code] |
|