]> git.wh0rd.org Git - tt-rss.git/blob - rss.xsl
add new filter action: modify score
[tt-rss.git] / rss.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4 <xsl:output method="html"/>
5
6 <xsl:template match="/">
7 <html>
8         <head>
9                 <title><xsl:value-of select="rss/channel/title"/></title>
10                 <link rel="stylesheet" type="text/css" href="utility.css"/>
11                 <script language="javascript" src="xsl_mop-up.js"></script>
12         </head>
13
14         <body onload="go_decoding()">
15
16                 <div id="cometestme" style="display:none;">
17                         <xsl:text disable-output-escaping="yes">&amp;amp;</xsl:text>
18                 </div>
19
20                 <div class="rss">
21
22                 <img class="feedicon" src="images/feed-icon-64x64.png" alt="feed icon"/>
23
24                 <h1><xsl:value-of select="rss/channel/title"/></h1>
25
26                 <p class="description">This is an RSS feed exported from
27                         <a target="_new" class="extlink" href="http://tt-rss.spb.ru">Tiny Tiny RSS</a>.
28                    You must install a news aggregator to subscribe to it.
29                         This feed contains the following items:</p>
30
31                 <!-- <p class="description"><xsl:value-of 
32                                 select="rss/channel/description"/></p> -->
33
34                 <xsl:for-each select="rss/channel/item">
35                         <h2><a target="_new" href="{link}"><xsl:value-of select="title"/></a></h2>
36
37                         <!-- <div><a class="extlink" target="_new" 
38                                         href="{link}"><xsl:value-of select="link"/></a></div> -->
39
40                         <div name="decodeme" class="content">
41                                 <xsl:value-of select="description" disable-output-escaping="yes"/>
42                         </div>
43
44                         <xsl:if test="enclosure">
45                                 <p><a href="{enclosure/@url}">Extra...</a></p>
46                         </xsl:if>
47
48                         <hr/>
49
50                 </xsl:for-each>
51
52                 </div>
53
54   </body>
55  </html>
56 </xsl:template>
57
58 </xsl:stylesheet>
59