diff options
author | Andrew Dolgov <[email protected]> | 2020-03-28 11:45:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-03-28 11:45:42 +0300 |
commit | a0da71598a42148a9ad01129b60d7fbd010d910d (patch) | |
tree | f59a1a439f85a2562800eb8f6ba499cfa0cd03eb | |
parent | 61be0b215db850395ef2746a5b7499f39db30662 (diff) |
remove atom-to-html XSLT
-rw-r--r-- | atom-to-html.xsl | 51 | ||||
-rw-r--r-- | templates/generated_feed.txt | 1 |
2 files changed, 0 insertions, 52 deletions
diff --git a/atom-to-html.xsl b/atom-to-html.xsl deleted file mode 100644 index 79ce42891..000000000 --- a/atom-to-html.xsl +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet - xmlns:atom="http://www.w3.org/2005/Atom" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<xsl:output method="html"/> - -<xsl:template match="/atom:feed"> -<html> - <head> - <title><xsl:value-of select="atom:title"/></title> - <link rel="stylesheet" type="text/css" href="themes/light.css"/> - <script language="javascript" src="lib/xsl_mop-up.js"></script> - </head> - - <body onload="go_decoding()" class="ttrss_utility"> - - <div id="cometestme" style="display:none;"> - <xsl:text disable-output-escaping="yes">&amp;</xsl:text> - </div> - - <div class="rss"> - - <h1><xsl:value-of select="atom:title"/></h1> - - <p class="description">This feed has been exported from - <a target="_new" class="extlink" href="http://tt-rss.org">Tiny Tiny RSS</a>. - It contains the following items:</p> - - <xsl:for-each select="atom:entry"> - <h2><a target="_new" href="{atom:link/@href}"><xsl:value-of select="atom:title"/></a></h2> - - <div name="decodeme" class="content"> - <xsl:value-of select="atom:content" disable-output-escaping="yes"/> - </div> - - <xsl:if test="enclosure"> - <p><a href="{enclosure/@url}">Extra...</a></p> - </xsl:if> - - - </xsl:for-each> - - </div> - - </body> - </html> -</xsl:template> - -</xsl:stylesheet> - diff --git a/templates/generated_feed.txt b/templates/generated_feed.txt index 5e35f9be1..617162652 100644 --- a/templates/generated_feed.txt +++ b/templates/generated_feed.txt @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> -<?xml-stylesheet type="text/xsl" href="atom-to-html.xsl"?> <!-- $BeginBlock feed --> <feed xmlns="http://www.w3.org/2005/Atom"> <title>${FEED_TITLE}</title> |