-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyndication4humans.xslt
32 lines (23 loc) · 961 Bytes
/
syndication4humans.xslt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2016 - 2017 Schimon Jehuda. Released under MIT license
Feeds rendered using this XSLT stylesheet, or it's derivatives, must
include https://sjehuda.github.io/ 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
method = 'html'
indent = 'yes'
omit-xml-decleration='no' />
<!-- Atom 1.0 Syndication Format -->
<xsl:include href='atom2html.xslt'/>
<!-- extract filename from given url string -->
<xsl:include href='extract-filename.xslt'/>
<!-- set page metadata -->
<xsl:include href='metadata.xslt'/>
<!-- RSS 2.0 Syndication Format -->
<xsl:include href='rss2html.xslt'/>
<!-- transform filesize from given length string -->
<xsl:include href='transform-filesize.xslt'/>
</xsl:stylesheet>