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}>
|
|
|
20 |
<item>
|
|
|
21 |
<guid>#URL_ARTICLE</guid>
|
|
|
22 |
<title>[(#TITRE|texte_backend)]</title>
|
|
|
23 |
<description>[(#NOM_SITE|texte_backend)] </description>
|
|
|
24 |
<pubDate>#DATE</pubDate>
|
|
|
25 |
<link>http://www.tela-botanica.org/actu/#URL_ARTICLE</link>
|
|
|
26 |
</item>
|
|
|
27 |
</BOUCLE_articles>
|
|
|
28 |
</BOUCLE_mots_cles>
|
|
|
29 |
</channel>
|
|
|
30 |
</rss>
|
|
|
31 |
|