xsl/podcast feeds: prefer mp4 too

It's for Apple and their followers. Our subscribers use feed catchers which
probably do not play WebM at the moment.
This commit is contained in:
Astro 2012-04-16 01:05:29 +02:00
parent d4773ad386
commit b80549892e
1 changed files with 6 additions and 0 deletions

View File

@ -152,6 +152,12 @@
<xsl:with-param name="newsfile" select="$newsfile"/>
</xsl:apply-templates>
</xsl:when>
<!-- Gibts ein MP4? -->
<xsl:when test="count(alternative[@type='video/mp4']) &gt; 0">
<xsl:apply-templates test="alternative[@type='video/mp4'][1]">
<xsl:with-param name="newsfile" select="$newsfile"/>
</xsl:apply-templates>
</xsl:when>
<!-- Nimm was da ist (OGG) -->
<xsl:otherwise>
<xsl:apply-templates select=".">