generer le flux RSS d'un page web avec xslt
bonjour
je voudrais generer le flux RSS d'un page web avec xslt, afin d'avoir un resultat comme ceci:
Code:
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
| <?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2" -->
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel>
<title>XXXXX</title>
<link>http://www.xxxxxx.com</link>
<description>xxxxxxxxxxx</description>
<pubDate>Tue, 12 Jul 2011 13:02:15 +0000</pubDate>
<generator>http://wordpress.org/?v=2.2</generator>
<language>en</language>
<item>
<title>xxxxxxxxxxx</title>
<link>xxxxxxxxxxxx</link>
<guid isPermaLink="false">xxxxxxxx</guid>
<description><![CDATA[ DESC]]></description>
<content:encoded><![CDATA[content 1]]></content:encoded>
</item>
<item>
<title>xxxxxxxxxx</title>
<link>xxxxxxxxxxx</link>
<guid isPermaLink="false">xxxxxxxx</guid>
<description><![CDATA[ DESC]]></description>
<content:encoded><![CDATA[content 1]]></content:encoded>
</item>
</channel>
</rss> |
merci d'avance j'ai met la date en rouge car c tres important pour moi ;)