podcast: limit to 23 items per feed
This commit is contained in:
parent
dae0cfd707
commit
02ce095486
|
@ -96,6 +96,7 @@
|
|||
|
||||
<xsl:for-each select="newsfile">
|
||||
<xsl:sort select="date:seconds(document(.)/item/@date)" data-type="number" order="descending" />
|
||||
<xsl:if test="position() <= 23">
|
||||
<xsl:choose>
|
||||
<xsl:when test="($selection = 'pentaradio' or $selection = 'pentamedia') and
|
||||
starts-with(., 'content/news/pentaradio') and
|
||||
|
@ -124,6 +125,7 @@
|
|||
</xsl:apply-templates>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</channel>
|
||||
|
||||
|
|
Loading…
Reference in New Issue