summaryrefslogtreecommitdiff
path: root/style.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'style.xsl')
-rw-r--r--style.xsl13
1 files changed, 7 insertions, 6 deletions
diff --git a/style.xsl b/style.xsl
index d59cd9a..0571f82 100644
--- a/style.xsl
+++ b/style.xsl
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet version='2.0'
+<xsl:stylesheet version='3.0'
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
@@ -10,8 +10,8 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<link rel="stylesheet" href="/s/css/style.css" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- </head>
- <xsl:apply-templates select="rss/channel"/>
+ </head>
+ <xsl:apply-templates select="rss/channel"/>
</html>
</xsl:template>
<xsl:template match="channel">
@@ -115,8 +115,9 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<section class="channel">
<header class="header">
<xsl:apply-templates select="title"/>
- <p><b>Ceci est un flux RSS</b> à destination des agrégateurs de contenu.<br/>
- En tant qu'être humain vous cherchez certain <a href="https://ache.one">mon site web.</a></p>
+ <p>
+ <xsl:value-of select="description" disable-output-escaping="yes"/>
+ </p>
</header>
<xsl:apply-templates select="item"/>
</section>
@@ -126,7 +127,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="title">
<h1 class="title"><xsl:value-of select="text()"/></h1>
</xsl:template>
- <xsl:template match="description">
+ <xsl:template match="quick_description">
<span class="description"><xsl:value-of select="substring-before(text(),'Visit')"/><br /></span>
</xsl:template>
<xsl:template match="category">