]>
Commit | Line | Data |
---|---|---|
a5472764 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
fcfa9ef1 AD |
2 | <xsl:stylesheet |
3 | xmlns:atom="http://www.w3.org/2005/Atom" | |
4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
a5472764 AD |
5 | |
6 | <xsl:output method="html"/> | |
7 | ||
fcfa9ef1 | 8 | <xsl:template match="/atom:feed"> |
a5472764 AD |
9 | <html> |
10 | <head> | |
fcfa9ef1 | 11 | <title><xsl:value-of select="atom:title"/></title> |
c1eeddfd | 12 | <link rel="stylesheet" type="text/css" href="css/utility.css"/> |
5de668ed | 13 | <script language="javascript" src="lib/xsl_mop-up.js"></script> |
a5472764 AD |
14 | </head> |
15 | ||
16 | <body onload="go_decoding()"> | |
17 | ||
18 | <div id="cometestme" style="display:none;"> | |
19 | <xsl:text disable-output-escaping="yes">&amp;</xsl:text> | |
20 | </div> | |
21 | ||
22 | <div class="rss"> | |
23 | ||
fcfa9ef1 | 24 | <h1><xsl:value-of select="atom:title"/></h1> |
a5472764 | 25 | |
fcfa9ef1 | 26 | <p class="description">This feed has been exported from |
1f8c187d | 27 | <a target="_new" class="extlink" href="http://tt-rss.org">Tiny Tiny RSS</a>. |
fcfa9ef1 | 28 | It contains the following items:</p> |
a5472764 | 29 | |
fcfa9ef1 AD |
30 | <xsl:for-each select="atom:entry"> |
31 | <h2><a target="_new" href="{atom:link/@href}"><xsl:value-of select="atom:title"/></a></h2> | |
a5472764 AD |
32 | |
33 | <div name="decodeme" class="content"> | |
fcfa9ef1 | 34 | <xsl:value-of select="atom:content" disable-output-escaping="yes"/> |
a5472764 AD |
35 | </div> |
36 | ||
37 | <xsl:if test="enclosure"> | |
38 | <p><a href="{enclosure/@url}">Extra...</a></p> | |
39 | </xsl:if> | |
40 | ||
a5472764 AD |
41 | |
42 | </xsl:for-each> | |
43 | ||
44 | </div> | |
45 | ||
46 | </body> | |
47 | </html> | |
48 | </xsl:template> | |
49 | ||
50 | </xsl:stylesheet> | |
51 |