mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Flesh out OPDS generation backend to be more robust and to support generic Atom feeds
This commit is contained in:
parent
35188195f1
commit
f6df03cfca
23 changed files with 1549 additions and 267 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue