mirror of
https://github.com/chriszero/epgd-plugin-tvsp.git
synced 2025-12-26 23:26:53 +01:00
Update tvsp.xsl
Replace \n with ' ' end remove empty (). Remove possible double spaces
This commit is contained in:
@@ -91,7 +91,10 @@
|
||||
<xsl:if test="string-length(fsk)"><parentalrating><xsl:value-of select="fsk"/></parentalrating></xsl:if>
|
||||
<xsl:if test="string-length(director)"><director><xsl:value-of select="director"/></director></xsl:if>
|
||||
<xsl:if test="string-length(anchorman)"><moderator><xsl:value-of select="anchorman"/></moderator></xsl:if>
|
||||
<xsl:if test="string-length(actors)"><actor><xsl:value-of select="actors"/></actor></xsl:if>
|
||||
<xsl:if test="string-length(actors)">
|
||||
<!-- Ersetzen von \n durch ' ' und entfernen von leeren Klammern. Und zum Schluß noch evt. doppelte Leerzeichen -->
|
||||
<actor><xsl:value-of select="str:replace(str:replace(str:replace(actors,' ()',''),'\n',' '),' ',' ')"/></actor>
|
||||
</xsl:if>
|
||||
<xsl:if test="string-length(studio_guests)"><guest><xsl:value-of select="studio_guests"/></guest></xsl:if>
|
||||
<xsl:if test="string-length(authorComment)"><commentator><xsl:value-of select="authorComment"/></commentator></xsl:if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user