|
|
@@ -59,14 +59,14 @@ Pour discuter : |
|
|
|
the content of the encoded entries displays the HTML without rendering it. |
|
|
|
|
|
|
|
--> |
|
|
|
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
|
|
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
|
|
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> |
|
|
|
<xsl:stylesheet version="3.0" |
|
|
|
xmlns:atom="http://www.w3.org/2005/Atom" |
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
|
|
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> |
|
|
|
<xsl:template match="/"> |
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
<head> |
|
|
|
<title><xsl:value-of select="/feed/title"/> (flux RSS)</title> |
|
|
|
<title><xsl:value-of select="/atom:feed/atom:title"/> (flux RSS)</title> |
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1"/> |
|
|
|
<link rel="stylesheet" type="text/css" href="/static/david/css/style_2021-01-20.css"/> |
|
|
@@ -100,7 +100,7 @@ Pour discuter : |
|
|
|
<p class="center"> |
|
|
|
<a> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
<xsl:value-of select="/feed/link/@href"/> |
|
|
|
<xsl:value-of select="/atom:feed/atom:link/@href"/> |
|
|
|
</xsl:attribute> |
|
|
|
Vous êtes perdu·e ? Retourner à l’accueil → |
|
|
|
</a> |
|
|
@@ -131,19 +131,19 @@ Pour discuter : |
|
|
|
|
|
|
|
<h2>Dernières publications</h2> |
|
|
|
|
|
|
|
<xsl:for-each select="/feed/entry"> |
|
|
|
<xsl:for-each select="/atom:feed/atom:entry"> |
|
|
|
<div> |
|
|
|
<details> |
|
|
|
<summary> |
|
|
|
<xsl:value-of select="title" disable-output-escaping="yes"/> |
|
|
|
<xsl:value-of select="atom:title" disable-output-escaping="yes"/> |
|
|
|
</summary> |
|
|
|
<xsl:value-of select="summary" disable-output-escaping="yes"/> |
|
|
|
<xsl:value-of select="atom:summary" disable-output-escaping="yes"/> |
|
|
|
</details> |
|
|
|
<small> |
|
|
|
Publié le : <xsl:value-of select="substring(updated,1,10)" /> — |
|
|
|
Publié le : <xsl:value-of select="substring(atom:updated,1,10)" /> — |
|
|
|
<a target="_blank"> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
<xsl:value-of select="link/@href"/> |
|
|
|
<xsl:value-of select="atom:link/@href"/> |
|
|
|
</xsl:attribute> |
|
|
|
Lien permanent |
|
|
|
</a> |
|
|
@@ -153,7 +153,7 @@ Pour discuter : |
|
|
|
|
|
|
|
<hr /> |
|
|
|
<p class="center"> |
|
|
|
<xsl:value-of select="/feed/rights"/> |
|
|
|
<xsl:value-of select="/atom:feed/atom:rights"/> |
|
|
|
</p> |
|
|
|
</article> |
|
|
|
</body> |