1028 |
aurelien |
1 |
<?php
|
|
|
2 |
@header('Content-type: text/xml; charset='.strtoupper('#CHARSET'));
|
|
|
3 |
echo '<'.'?xml version="1.0" encoding="'.strtoupper('#CHARSET').'"?'.">\n";
|
|
|
4 |
?>
|
|
|
5 |
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
|
6 |
<channel>
|
|
|
7 |
<title> Articles taggés [(#ENV{mot_cle})] </title>
|
|
|
8 |
<description>Flux rss des articles de Tela Botanica contenant le mot clé [(#ENV{mot_cle})] </description>
|
|
|
9 |
<link>http://www.tela-botanica.org/actu/article4073.html</link>
|
|
|
10 |
<language>#LANG</language>
|
|
|
11 |
<image>
|
|
|
12 |
<url>http://www.tela-botanica.org/accueil/logo_tela_botanica.png</url>
|
|
|
13 |
<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
|
|
|
14 |
|
|
|
15 |
<link>http://www.tela-botanica.org/actu/article4073.html</link>
|
|
|
16 |
</image>
|
|
|
17 |
[(#REM) Les 30 derniers articles RSS ]
|
|
|
18 |
<BOUCLE_mots_cles(MOTS){titre=#ENV{mot_cle}}>
|
|
|
19 |
<BOUCLE_articles(ARTICLES){id_mot=#ID_MOT}{0,20}>
|
1035 |
aurelien |
20 |
<item>
|
|
|
21 |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid>
|
|
|
22 |
<title>[(#TITRE|texte_backend)]</title>
|
|
|
23 |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link>
|
|
|
24 |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#INTRODUCTION|texte_backend)]</description>
|
|
|
25 |
<category> Article </category>
|
|
|
26 |
<author>#LESAUTEURS</author>
|
|
|
27 |
<pubDate>[(#DATE|affdate{'r'})]</pubDate>
|
|
|
28 |
<dc:format>text/html</dc:format>
|
|
|
29 |
<dc:language>#LANG</dc:language>
|
|
|
30 |
<dc:publisher>Tela Botanica - <BOUCLE_auteursb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteursb></dc:publisher>
|
|
|
31 |
</item>
|
1028 |
aurelien |
32 |
</BOUCLE_articles>
|
|
|
33 |
</BOUCLE_mots_cles>
|
|
|
34 |
</channel>
|
|
|
35 |
</rss>
|
|
|
36 |
|
1035 |
aurelien |
37 |
|