source: spip-zone/_plugins_/comments/trunk/feed/comments-atom.html @ 63306

Last change on this file since 63306 was 63306, checked in by kent1@…, 8 years ago

entites_unicode a disparu au profit de charset2unicode

File size: 1.1 KB
Line 
1<?php
2   @header("Content-type: application/atom+xml");
3   echo '<'.'?xml version="1.0" encoding="#CHARSET"?'.'>';
4?>
5<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="#LANG">
6
7<BOUCLE_article(ARTICLES){id_article}>
8<title>[(#TITRE|textebrut|entites_html|entites_unicode)] - <:comments:comments:></title>
9[<link rel="alternate" type="text/html" href="(#URL_ARTICLE|url_absolue)"></link>]
10</BOUCLE_article>
11<title>[(#NOM_SITE_SPIP|textebrut|entites_html|charset2unicode)] - <:comments:comments:></title>
12<link rel="alternate" type="text/html" href="#URL_SITE_SPIP"></link>
13<//B_article>
14
15<BOUCLE_comments(FORUMS) {statut IN publie} {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat} {!par date}{0,#ENV{nb,100}}>
16    <item>
17        <entry>
18            [<title>(#TITRE|texte_backend)</title>]
19            [<link rel="alternate" type="text/html" href="(#URL_FORUM|url_absolue)"></link>]
20            [<issued>(#DATE|date_iso)</issued>]
21            [<id>(#URL_FORUM|url_absolue)</id>]
22            [<modified>(#DATE|date_iso)</modified>]
23            [<summary>(#TEXTE|texte_backend)</summary>]
24        </entry>
25    </item>
26</BOUCLE_comments>
27
28</feed>
Note: See TracBrowser for help on using the repository browser.