Subversion Repositories eFlore/Applications.del

Rev

Rev 1317 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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