Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 627 → Rev 628

/trunk/actu/par_popularite.html
New file
0,0 → 1,33
<?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><BOUCLE_titre(RUBRIQUES){id_rubrique}{doublons}>[(#TITRE|supprimer_numero)] - </BOUCLE_titre>[(#NOM_SITE_SPIP|texte_backend)]</title>
<link>#URL_SITE_SPIP/</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>#URL_SITE_SPIP/</link>
</image>
<BOUCLE_hitparade(ARTICLES){par popularite}{inverse}{0,10}>
<item>
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid>
<title>[(#TITRE|texte_backend)] </title>
<link>#URL_SITE_SPIP/#URL_ARTICLE</link>
<description>[&lt;img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"&gt; ][(#INTRODUCTION|texte_backend)]</description>
<pubDate>[(#DATE|affdate{'r'})]</pubDate>
<dc:format>text/html</dc:format>
<dc:language>#LANG</dc:language>
<dc:publisher>Tela Botanica - <BOUCLE_auteursb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteursb></dc:publisher>
<author><BOUCLE_auteursb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteursb></author>
</item>
</BOUCLE_hitparade>
</channel>
</rss>