calendar-summary: fix autotopia-events

This commit is contained in:
Astro 2019-04-27 13:51:54 +02:00
parent 1ee5de82b2
commit 1fa151579d
1 changed files with 2 additions and 3 deletions

View File

@ -29,9 +29,8 @@
<!-- Events aus Autotopia ziehen -->
<xsl:for-each select="document('../autotopia-events.xml')/page/news/newsfile">
<xsl:variable name="news" select="document(concat('../', .))"/>
<xsl:apply-templates select="$news/item/event">
<xsl:with-param name="link"
select="concat('https://autotopia.c3d2.de/event/', substring-before(substring-after(., 'content/autotopia/'), '.xml'), '.html')"/>
<xsl:apply-templates select="$news/page/event">
<xsl:with-param name="link" select="concat('https://autotopia.c3d2.de/event/', substring-before(substring-after(., 'content/autotopia/'), '.xml'), '.html')"/>
</xsl:apply-templates>
</xsl:for-each>
</calendar-summary>