New file |
0,0 → 1,21 |
<?php |
//Spécifier que le fichier est un xml |
header ('content-type: text/xml'); |
echo '<?xml version="1.0" encoding="iso-8859-1"?>'; |
?> |
|
|
<rss version="2.0"> |
<channel> |
<title>Mon site</title> |
<description>Ceci est un exemple de flux RSS 2.0</description> |
<lastBuildDate>Sat, 07 Sep 2002 00:00:01 GMT</lastBuildDate> |
<link>http://www.example.org</link> |
<item> |
<title>Actualité N°1</title> |
<description>Ceci est ma première actualité</description> |
<pubDate>Sat, 07 Sep 2002 00:00:01 GMT</pubDate> |
<link>http://www.example.org/actu1</link> |
</item> |
</channel> |
</rss> |