Subversion Repositories eFlore/Applications.del

Rev

Go to most recent revision | Details | 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
<feed xmlns="http://www.w3.org/2005/Atom">
3
	<title><?=$titre?></title>
1233 gduche 4
	<link href="<?=$lien_service?>" rel="alternate" type="text/html" hreflang="fr" />
1047 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_service?>" version="<?=$generateur_version?>"><?=$generateur?></generator>
13
 
14
	<?php if (isset($items)) : ?>
1661 jpm 15
		<?php foreach ($items as $item) : ?>
16
			<entry>
17
				<id><?=$item['guid']?></id>
18
				<title><?=$item['titre']?></title>
19
				<? if (isset($item['lien'])) : ?>
20
					<link href="<?=$item['lien']?>"/>
21
				<? endif; ?>
22
				<updated><?=$item['date_maj_ATOM']?></updated>
23
				<published><?=$item['date_maj_ATOM']?></published>
24
				<author><name><?=$item['modifier_par']?></name></author>
25
				<content type="xhtml" xml:lang="fr">
26
					<div xmlns="http://www.w3.org/1999/xhtml">
27
						<?=$item['description'];?>
28
					</div>
29
				</content>
30
			</entry>
31
		<?php endforeach; ?>
1047 aurelien 32
	<?php endif; ?>
33
</feed>