|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
<xsl:message>selection: '<xsl:value-of select="$selection"/>'</xsl:message>
|
|
|
|
|
<channel>
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="$selection = 'pentaradio'">
|
|
|
|
|
<xsl:when test="$selection = 'pentaradio' or $selection = 'pentamedia'">
|
|
|
|
|
<title>Pentaradio</title>
|
|
|
|
|
<link><xsl:value-of select="$baseurl"/>radio.html</link>
|
|
|
|
|
<description>C3D2 Pentaradio</description>
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
</itunes:category>
|
|
|
|
|
<itunes:category text="Technology"/>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="$selection = 'pentacast'">
|
|
|
|
|
<xsl:when test="$selection = 'pentacast' or $selection = 'pentamedia'">
|
|
|
|
|
<title>Pentacast</title>
|
|
|
|
|
<link><xsl:value-of select="$baseurl"/>podcast.html</link>
|
|
|
|
|
<description>C3D2 Pentacast</description>
|
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
|
</itunes:category>
|
|
|
|
|
<itunes:category text="Technology"/>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="$selection = 'pentamusic'">
|
|
|
|
|
<xsl:when test="$selection = 'pentamusic' or $selection = 'pentamedia'">
|
|
|
|
|
<title>Pentamusic</title>
|
|
|
|
|
<link><xsl:value-of select="$baseurl"/>pentamusic.html</link>
|
|
|
|
|
<description>C3D2 Pentamusic</description>
|
|
|
|
@ -103,7 +103,7 @@
|
|
|
|
|
<xsl:for-each select="newsfile">
|
|
|
|
|
<xsl:sort select="date:seconds(document(.)/item/@date)" data-type="number" order="descending" />
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="$selection = 'pentaradio'">
|
|
|
|
|
<xsl:when test="$selection = 'pentaradio' or $selection = 'pentamedia'">
|
|
|
|
|
<xsl:if test="starts-with(., 'content/news/pentaradio') and
|
|
|
|
|
count(document(.)/item/resource) > 0">
|
|
|
|
|
<xsl:apply-templates select="document(.)/item/resource" mode="preselect">
|
|
|
|
@ -111,7 +111,7 @@
|
|
|
|
|
</xsl:apply-templates>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="$selection = 'pentacast'">
|
|
|
|
|
<xsl:when test="$selection = 'pentacast' or $selection = 'pentamedia'">
|
|
|
|
|
<xsl:if test="starts-with(., 'content/news/pentacast') and
|
|
|
|
|
count(document(.)/item/resource) > 0">
|
|
|
|
|
<xsl:apply-templates select="document(.)/item/resource" mode="preselect">
|
|
|
|
@ -119,7 +119,7 @@
|
|
|
|
|
</xsl:apply-templates>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:when test="$selection = 'pentamusic'">
|
|
|
|
|
<xsl:when test="$selection = 'pentamusic' or $selection = 'pentamedia'">
|
|
|
|
|
<xsl:if test="starts-with(., 'content/news/pentamusic') and
|
|
|
|
|
count(document(.)/item/resource) > 0">
|
|
|
|
|
<xsl:apply-templates select="document(.)/item/resource" mode="preselect">
|
|
|
|
|