Subversion Repositories Sites.obs-saisons.fr

Rev

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

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