Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 1027 → Rev 1028

/trunk/actu/backend-syndication-mots-cles.html
New file
0,0 → 1,31
<?php
@header('Content-type: text/xml; charset='.strtoupper('#CHARSET'));
echo '<'.'?xml version="1.0" encoding="'.strtoupper('#CHARSET').'"?'.">\n";
?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title> Articles taggés [(#ENV{mot_cle})] </title>
<description>Flux rss des articles de Tela Botanica contenant le mot clé [(#ENV{mot_cle})] </description>
<link>http://www.tela-botanica.org/actu/article4073.html</link>
<language>#LANG</language>
<image>
<url>http://www.tela-botanica.org/accueil/logo_tela_botanica.png</url>
<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
 
<link>http://www.tela-botanica.org/actu/article4073.html</link>
</image>
[(#REM) Les 30 derniers articles RSS ]
<BOUCLE_mots_cles(MOTS){titre=#ENV{mot_cle}}>
<BOUCLE_articles(ARTICLES){id_mot=#ID_MOT}{0,20}>
<item>
<guid>#URL_ARTICLE</guid>
<title>[(#TITRE|texte_backend)]</title>
<description>[(#NOM_SITE|texte_backend)] </description>
<pubDate>#DATE</pubDate>
<link>http://www.tela-botanica.org/actu/#URL_ARTICLE</link>
</item>
</BOUCLE_articles>
</BOUCLE_mots_cles>
</channel>
</rss>
 
/trunk/actu/backend-syndication-mots-cles.php3
New file
0,0 → 1,12
<?php
$fond = "backend-syndication-mots-cles";
$delais = 1;
 
// cette ligne empeche l'affichage des boutons d'administration
// Et les headers !!!!
 
$flag_preserver = true;
 
include ("inc-public.php3");
 
?>