Subversion Repositories eFlore/Applications.del

Rev

Rev 1047 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";?>
<feed xmlns="http://www.w3.org/2005/Atom">
        
        <title><?=$titre?></title>
        <link href="<?=$lien_service?>" rel="alternate" type="text/html" hreflang="fr" />
        <link href="<?=$lien_service?>" rel="self" type="application/atom+xml"/>
        <updated><?=$date_maj_ATOM?></updated>
        <author>
                <name><?=$editeur?></name>
        </author>
        <id><?=$guid?></id>
        <rights>Copyright (c) <?=$annee_courante?>, <?=$editeur?></rights>
        <generator uri="<?=$lien_service?>" version="<?=$generateur_version?>"><?=$generateur?></generator>
        

        <?php if (isset($items)) : ?>
        <?php foreach ($items as $item) : ?>
        <entry>
                <id><?=$item['guid']?></id>
                <title><?=$item['titre']?></title>
                <? if (isset($item['lien'])) : ?>
                <link href="<?=$item['lien']?>"/>
                <? endif; ?>
                <updated><?=$item['date_maj_ATOM']?></updated>
                <author><name><?=$item['modifier_par']?></name></author>
                <content type="xhtml" xml:lang="fr">
                        <div xmlns="http://www.w3.org/1999/xhtml">
                                <?=$item['description'];?>
                        </div>
                </content>
        </entry>
        <?php endforeach; ?>
        <?php endif; ?>

</feed>