Subversion Repositories eFlore/Applications.del

Rev

Rev 1661 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1047 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>
1233 gduche 5
		<link><?=$lien_service?></link>
1047 aurelien 6
		<atom:link href="<?=$lien_service?>" rel="self" type="application/rss+xml" />
7
		<description><?=$description?></description>
1661 jpm 8
 
1047 aurelien 9
		<?php if (isset($items)) : ?>
1661 jpm 10
			<?php foreach ($items as $item) : ?>
11
				<item>
12
					<guid><?=$item['guid']?></guid>
13
					<title><?=$item['titre']?></title>
14
					<? if (isset($item['lien'])) : ?>
15
						<link><?=$item['lien']?></link>
16
					<? endif; ?>
17
					<description><?=$item['description_encodee']?></description>
18
					<category><?= $item['categorie'] ?></category>
19
					<author><?=$item['modifier_par']?></author>
20
					<pubDate><?=$item['date_maj_RSS']?></pubDate>
21
				</item>
22
			<?php endforeach; ?>
1047 aurelien 23
		<?php endif; ?>
24
	</channel>
25
</rss>