Subversion Repositories Applications.bazar

Rev

Blame | 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_coel?>" 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_coel?>" version="<?=$generateur_version?>"><?=$generateur?></generator>
        

        <?php if (isset($items)) : ?>
        <?php foreach ($items as $item) : ?>
        <entry>
                <id><?=$item['lien']?></id>
                <title><?=$item['titre']?></title>
                <link href="<?=$item['lien']?>"/>
                <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>