forked from sch/Rivista
cb4507bb78
CSS: Improve position of elements; JS: Improve handling of content in erroneous cases; JS: Render post as HTML when XSLT does not render correctly; JS: Handle posts which were tagged as Text instead of HTML and vice versa; XSLT: Adapt to be viewed on browsers with a lack of support; XSLT: Add Support for link elements of attribute "rel"; Python: Add elements author and link of attribute "rel".
24 lines
942 B
XML
24 lines
942 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!--
|
|
Copyright (C) 2016 - 2024 Schimon Jehuda. Released under MIT license
|
|
Feeds rendered using this XSLT stylesheet, or it's derivatives, must
|
|
include https://schimon.i2p/ in attribute name='generator' of
|
|
element <meta/> inside of html element </head>
|
|
-->
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output encoding = 'UTF-8'
|
|
indent = 'yes'
|
|
media-type = 'application/atom+xml'
|
|
method = 'html'
|
|
version = '4.01' />
|
|
<!-- Atom Syndication Format 1.0 -->
|
|
<xsl:include href='atom_as_xhtml.xsl'/>
|
|
<!-- extract filename from given url string -->
|
|
<xsl:include href='extract-filename.xsl'/>
|
|
<!-- set page metadata -->
|
|
<xsl:include href='metadata.xsl'/>
|
|
<!-- transform filesize from given length string -->
|
|
<xsl:include href='transform-filesize.xsl'/>
|
|
</xsl:stylesheet>
|