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
<feed xmlns="http://www.w3.org/2005/Atom">
322 aurelien 2
 
31 aurelien 3
	<title><?=$titre?></title>
207 aurelien 4
	<link href="<?=$lien_ods?>" rel="alternate" type="text/html" hreflang="fr" />
31 aurelien 5
	<link href="<?=$lien_service?>" rel="self" type="application/atom+xml"/>
6
	<updated><?=$date_maj_ATOM?></updated>
7
	<author>
8
		<name><?=$editeur?></name>
9
	</author>
10
	<id><?=$guid?></id>
11
	<rights>Copyright (c) <?=$annee_courante?>, <?=$editeur?></rights>
12
	<generator uri="<?=$lien_coel?>" version="<?=$generateur_version?>"><?=$generateur?></generator>
13
 
322 aurelien 14
 
31 aurelien 15
	<?php if (isset($items)) : ?>
16
	<?php foreach ($items as $item) : ?>
17
	<entry>
18
		<id><?=$item['lien']?></id>
19
		<title><?=$item['titre']?></title>
20
		<link href="<?=$item['lien']?>"/>
21
		<updated><?=$item['date_maj_ATOM']?></updated>
22
		<author><name><?=$item['modifier_par']?></name></author>
23
		<content type="xhtml" xml:lang="fr">
24
			<div xmlns="http://www.w3.org/1999/xhtml">
25
				<?=$item['description'];?>
26
			</div>
27
		</content>
28
	</entry>
29
	<?php endforeach; ?>
30
	<?php endif; ?>
31
 
322 aurelien 32
</feed>