Subversion Repositories eFlore/Applications.cel

Rev

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