source: spip-zone/_plugins_/zotspip/trunk/biblio-rss.html @ 124213

Last change on this file since 124213 was 82171, checked in by joseph@…, 7 years ago

Ajout d'un flux RSS des dernières publications (expérimental)

File size: 1.0 KB
Line 
1#CACHE{0}#HTTP_HEADER{Content-Type: text/xml; charset=#CHARSET}<B_RSS><?xml version="1.0" encoding="#CHARSET" ?>
2<rss version="2.0" [(#REM) rss 2.0.9)]
3        xmlns:dc="http://purl.org/dc/elements/1.1/"
4        xmlns:content="http://purl.org/rss/1.0/modules/content/"
5>
6<channel>
7        <title>[&#91;(#NOM_SITE_SPIP|texte_backend)&#93; <:zotspip:dernieres_publications:>]</title>
8        <link>[(#URL_PAGE{biblio}|url_absolue|texte_backend)]</link>
9        <language>[(#ENV{lang}|texte_backend)]</language>
10        <BOUCLE_RSS(ZITEMS){id_parent==0}{par date_ajout}{inverse}{0,50}{si #CONFIG{zotspip/flux_rss}}>
11        <item>
12                <title>[(#TITRE|texte_backend)]</title>
13                [(#CONFIG{zotspip/page_biblio}|oui)<link>[(#URL_PAGE{zitem,id=#ID_ZITEM}|url_absolue|texte_backend)]</link>]
14                <dc:format>text/html</dc:format>
15                <description>[(#MODELE{ref,id=#ID_ZITEM}|texte_backend)]</description>
16                <content:encoded>[(#INCLURE{fond=inclure/zitem,id_zitem,csl,details=complet,export=oui,nojs=on}|liens_absolus|texte_backend)]</content:encoded>
17        </item></BOUCLE_RSS>
18</channel>
19</rss>
20</B_RSS>
Note: See TracBrowser for help on using the repository browser.