mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
28 lines
1.4 KiB
HTML
28 lines
1.4 KiB
HTML
#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>[[(#NOM_SITE_SPIP|texte_backend)]] 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_petition}>
|
|
<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)][ <(#EMAIL|texte_backend)>]</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>
|