1,4 → 1,4 |
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";?> |
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n" ?> |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
<channel> |
<title><?=$titre; ?></title> |
5,7 → 5,7 |
<link><?=$lien_ods; ?></link> |
<atom:link href="<?= $lien_service; ?>" rel="self" type="application/rss+xml" /> |
<description><?=$description; ?></description> |
|
|
<?php if (isset($items)) : ?> |
<?php foreach ($items as $item) : ?> |
<item> |
17,6 → 17,6 |
</item> |
<?php endforeach; ?> |
<?php endif; ?> |
|
|
</channel> |
</rss> |
</rss> |