1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
| <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<xsl:output method="html" version="4" encoding="UTF-8" indent="yes" />
<xsl:template match="channel">
<html>
<head>
<title><xsl:value-of select="title" /> - <xsl:value-of select="description" /></title>
<style type="text/css">
body {
font-family:"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
font-size:10pt;
}
td {
font-family:"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
font-size:10pt;
border: solid 1px rgb(200,200,200);
padding-left: 10px;
padding-right: 10px;
padding-top: 6px;
padding-bottom: 6px;
}
</style>
<meta http-equiv="refresh" content="3600" />
</head>
<body>
<div align="center">
<b><a href="" target="_self"><small>[Recharger cette page]</small></a></b>
<br /><br /><br />
<table width="80%">
<tr>
<td align="center" style="border: none !important;">
<a href="{link}"><big><big><b><xsl:value-of select="title" /></b></big></big></a><br />
<a href="{image/link}" target="_blank"><img src="{image/url}" alt="{image/title}" title="{description}" border="0" width="{image/width}" height="{image/height}" /></a>
</td>
<td style="border: none !important">
<b><big><xsl:value-of select="description" /></big></b><br/>
<br />
</td>
</tr>
<xsl:call-template name="item" />
</table>
</div>
<hr />
</body>
</html>
</xsl:template>
<xsl:template match="item" name="item">
<xsl:for-each select="item">
<tr>
<td colspan="2">
<a href="{link}" target="_blank"><b><xsl:value-of select="title" /></b></a>
<br />
<xsl:value-of select="description" />
<br />
<xsl:value-of select="content:encoded" disable-output-escaping="yes"/>
</td>
</tr>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet> |
Partager