95 |
aurelien |
1 |
<?php echo '<?xml version="1.0" encoding="'.Config::get('sortie_encodage').'"?>' ?>
|
75 |
aurelien |
2 |
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
|
3 |
|
|
|
4 |
<channel>
|
|
|
5 |
<title>Derniers inscrits à l'annuaire</title>
|
|
|
6 |
<link> www.tela-botanica.org</link>
|
|
|
7 |
<description>Flux des derniers inscrits à Tela Botanica</description>
|
|
|
8 |
<language>fr</language>';
|
|
|
9 |
|
|
|
10 |
<?php foreach ($derniers_inscrits as $inscrit) : ?>
|
|
|
11 |
<item>
|
|
|
12 |
<title> <?=$inscrit['nom']['amv_valeur'].' '.$inscrit['prenom']['amv_valeur'] ?></title>
|
|
|
13 |
<link></link>
|
|
|
14 |
<description>
|
|
|
15 |
<![CDATA[ <?php echo $inscrit['ville']['amv_valeur'].' ('.$inscrit['code_postal']['amv_valeur'].')'; ?> ]]>
|
|
|
16 |
</description>
|
|
|
17 |
<dc:format>text/html</dc:format>
|
|
|
18 |
</item>';
|
|
|
19 |
<?php endforeach; ?>
|
|
|
20 |
</channel>
|
|
|
21 |
</rss>';
|