Fix conversions for official Atom feeds

This commit is contained in:
Lucidiot 2021-04-05 22:53:22 +02:00
parent e29823f7c7
commit f3de071a2d
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
1 changed files with 6 additions and 1 deletions

View File

@ -125,8 +125,13 @@
<xsl:value-of select="$format" />
</xsl:attribute>
<!--
For custom feeds, grab the previously generated feed locally.
For official RSS feeds, grab the feed online.
For official Atom feeds, grab the converted feed locally.
-->
<xsl:choose>
<xsl:when test="itsb:output">
<xsl:when test="itsb:output or (@format = 'atom' and $format != 'json')">
<shell>
<xsl:text>cat $DIR/feeds/</xsl:text>
<xsl:choose>