[SPIP] +2.1.12
[velocampus/web/www.git] / www / prive / rss / signatures.html
diff --git a/www/prive/rss/signatures.html b/www/prive/rss/signatures.html
new file mode 100644 (file)
index 0000000..d8f9936
--- /dev/null
@@ -0,0 +1,28 @@
+#HTTP_HEADER{Content-Type: text/xml; charset=#CHARSET}#CACHE{900}<BOUCLE0(AUTEURS){tout}{id_auteur=#ENV{id}}{lang_select}><?php
+if ([(#ID_AUTEUR|securiser_acces{#ENV{cle},rss,#ENV{op}, #ENV{args}}|?{1,0})]) {
+?><?xml version="1.0" encoding="#CHARSET" ?>
+
+<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
+<channel xml:lang="[(#LANG|texte_backend)]">
+       <title>[&#91;(#NOM_SITE_SPIP|texte_backend)&#93;] RSS (<:titre_suivi_petition|texte_backend:>)</title>
+       <link>[(#URL_ECRIRE{controle_petition}|url_absolue|texte_backend)]</link>
+       <description></description>
+       <language>[(#LANG|texte_backend)]</language>
+<BOUCLE_RSS(SIGNATURES){!par date}{0,50}{id_article ?}
+ ><BOUCLE_A(ARTICLES){id_article}>
+       <item>
+               <title>[(#TITRE|texte_backend)]</title>
+               <link>[(#URL_ARTICLE|url_absolue|texte_backend)]</link>
+               <guid isPermaLink="true">[(#URL_ARTICLE|url_absolue|texte_backend)]</guid>
+               <dc:date>[(#_RSS:DATE|date_iso)]</dc:date>
+               <dc:format>text/html</dc:format>
+               [<dc:language>(#LANG|texte_backend)</dc:language>]
+               <dc:creator>[(#NOM_EMAIL|texte_backend)][ &lt;(#EMAIL|texte_backend)&gt;]</dc:creator>
+               <description>[(#_RSS:URL_SITE|propre|liens_absolus)][ (#MESSAGE|couper{300}|liens_absolus|texte_backend)]</description>
+       </item></BOUCLE_A></BOUCLE_RSS>
+</channel>
+</rss><?php
+} else {
+include_spip('inc/minipres'); 
+echo minipres();
+}?></BOUCLE0>