podcast.xml: include pentacast

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@1854 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2009-10-02 22:28:34 +00:00
parent b9303170a3
commit 4e6d531646
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@
<xsl:for-each select="newsfile">
<xsl:sort select="date:seconds(document(.)/item/@date)" data-type="number" order="descending" />
<!--xsl:if test="position() &lt;= 10"-->
<xsl:if test="starts-with(., 'content/news/pentaradio') and (count(document(.)/item/resource) &gt; 0)">
<xsl:if test="(starts-with(., 'content/news/pentaradio') or
starts-with(., 'content/news/pentacast')) and
(count(document(.)/item/resource) &gt; 0)">
<xsl:apply-templates select="document(.)/item/resource" mode="preselect">
<xsl:with-param name="newsfile" select="."/>