source: trunk/web/app/out/dist/backend/test_atom.php @ 10

Last change on this file since 10 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 946 bytes
Line 
1<<?= "?" ?>xml version="1.0" encoding="UTF-8" <?= "?" ?>>
2<feed xml:lang="fr" xmlns="http://www.w3.org/2005/Atom">
3  <id><?= $env->out["atom"]["id"] ?></id>
4  <author><name><?= $env->out["atom"]["author_name"] ?></name></author>
5  <updated><?= $env->out["atom"]["updated"] ?></updated>
6  <title><?= $env->out["atom"]["title"] ?></title>
7  <link rel="self" href="<?= str_replace("&", "&amp;", $env->out["atom"]["link"]["self"]) ?>"/>
8
9<?php if($env->out["atom"]["entries"]) : foreach($env->out["atom"]["entries"] as $id_entry => $entry) : ?>
10<entry xml:lang="fr">
11  <id>tag:nom.de.domaine,2009-04-06:id_entry</id>
12  <updated>2009-04-06T11:26:30+02:00</updated>
13  <author><name>entry_author_name</name></author>
14  <title>entry_title</title>
15  <link rel="alternate" type="text/html" href="http://entry.link.alternate/" />
16  <summary>entry_summary</summary>
17  <content type="html">entry_content</content>
18</entry>
19<?php endforeach; endif; ?>
20
21</feed>
Note: See TracBrowser for help on using the repository browser.