Flesh out OPDS generation backend to be more robust and to support generic Atom feeds

This commit is contained in:
Alex Cabal 2022-06-20 21:55:34 -05:00
parent 35188195f1
commit f6df03cfca
23 changed files with 1549 additions and 267 deletions

View file

@ -32,6 +32,23 @@ print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")
<p>
<xsl:value-of select="description"/>
</p>
<xsl:if test="enclosure">
<p class="download">Read</p>
<ul>
<xsl:for-each select="enclosure">
<li>
<p>
<a>
<xsl:attribute name="href">
<xsl:value-of select="@url"/>
</xsl:attribute>
Download compatible epub
</a>
</p>
</li>
</xsl:for-each>
</ul>
</xsl:if>
</li>
</xsl:for-each>
</ol>