Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
416 aurelien 1
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";?>
2
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
	<channel>
4
		<title><?=$titre?></title>
5
		<link><?=$lien?></link>
6
		<atom:link href="<?=$lien_service?>" rel="self" type="application/rss+xml" />
7
		<description><?=$description?></description>
8
 
9
		<?php if (isset($items)) : ?>
10
		<?php foreach ($items as $item) : ?>
11
		<item>
12
		  <guid><?=$item['guid']?></guid>
13
		  <title><?=$item['titre']?></title>
14
		  <link><?=$item['lien']?></link>
15
		  <description><?=$item['description_encodee']?></description>
16
		  <category><?= $item['categorie'] ?></category>
17
		  <pubDate><?=$item['date_maj_RSS']?></pubDate>
18
		</item>
19
		<?php endforeach; ?>
20
		<?php endif; ?>
21
 
22
	</channel>
23
</rss>