Rev | Line | |
---|
[6] | 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="<?= $env->out["atom"]["link"]["self"] ?>"/> |
---|
| 8 | <link rel="alternate" type="text/html" href="<?= $env->out["atom"]["link"]["alternate"] ?>"/> |
---|
| 9 | |
---|
| 10 | <?php if($env->out["atom"]["entries"]) : foreach($env->out["atom"]["entries"] as $id_entry => $entry) : ?> |
---|
| 11 | <entry xml:lang="fr"> |
---|
| 12 | <id><?= $entry["id"] ?></id> |
---|
| 13 | <updated><?= $entry["updated"] ?></updated> |
---|
| 14 | <author><name><?= $entry["author_name"] ?></name></author> |
---|
| 15 | <title><?= $entry["author_name"] ?> - <?= $entry["title"] ?></title> |
---|
| 16 | <link rel="alternate" type="text/html" href="<?= $entry["link"]["alternate"] ?>" /> |
---|
| 17 | <?php if($entry["enclosure"]) : ?> |
---|
| 18 | <link rel="enclosure" type="<?= $entry["content_type"] ?>" href="<?= $entry["enclosure"] ?>"/> |
---|
| 19 | <?php endif; ?> |
---|
| 20 | <?php if($entry["summary"]) : ?> |
---|
| 21 | <summary><?= $entry["summary"] ?></summary> |
---|
| 22 | <?php endif; ?> |
---|
| 23 | </entry> |
---|
| 24 | <?php endforeach; endif; ?> |
---|
| 25 | |
---|
| 26 | </feed> |
---|
Note: See
TracBrowser
for help on using the repository browser.