diff options
author | ache <ache@ache.one> | 2023-07-05 07:34:37 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2023-07-05 07:34:37 +0200 |
commit | d8f3be76af854acb58ea6ef9521dd90424117461 (patch) | |
tree | 0d9a6dec0d610a35f153b9361280dd821f4e4034 /style.xsl | |
parent | Fix table of contents (diff) |
i18n for RSS
Diffstat (limited to 'style.xsl')
-rw-r--r-- | style.xsl | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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"> |