Subversion Repositories Applications.projet

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
431 mathias 1
<?php
2
	//Spécifier que le fichier est un xml
3
	header ('content-type: text/xml');
4
	echo '<?xml version="1.0" encoding="iso-8859-1"?>';
5
?>
6
 
7
 
8
<rss version="2.0">
9
    <channel>
10
        <title>Mon site</title>
11
        <description>Ceci est un exemple de flux RSS 2.0</description>
12
        <lastBuildDate>Sat, 07 Sep 2002 00:00:01 GMT</lastBuildDate>
13
        <link>http://www.example.org</link>
14
        <item>
15
            <title>Actualité N°1</title>
16
            <description>Ceci est ma première actualité</description>
17
            <pubDate>Sat, 07 Sep 2002 00:00:01 GMT</pubDate>
18
            <link>http://www.example.org/actu1</link>
19
        </item>
20
    </channel>
21
</rss>