/trunk/actu/backend.html |
---|
1,45 → 1,48 |
<?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_10recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{0,10}{unique}{id_secteur != 66}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#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> |
</item> |
</BOUCLE_10recents> |
<BOUCLE_tres_recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{age<3}{unique}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#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_auteurs_tb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteurs_tb></dc:publisher> |
</item> |
</BOUCLE_tres_recents> |
</channel> |
</rss> |
<?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_10recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{0,10}{unique}{id_secteur != 66}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#INTRODUCTION|texte_backend)]</description> |
<category> Article </category> |
<author>#LESAUTEURS</author> |
<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> |
</item> |
</BOUCLE_10recents> |
<BOUCLE_tres_recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{age<3}{unique}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#INTRODUCTION|texte_backend)]</description> |
<category> Article </category> |
<pubDate>[(#DATE|affdate{'r'})]</pubDate> |
<dc:format>text/html</dc:format> |
<dc:language>#LANG</dc:language> |
<dc:publisher>Tela Botanica - <BOUCLE_auteurs_tb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteurs_tb></dc:publisher> |
</item> |
</BOUCLE_tres_recents> |
</channel> |
</rss> |
/trunk/actu/backend-syndication.html |
---|
1,60 → 1,30 |
<?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> |
[(#REM) Les 30 derniers articles RSS ] |
<B_syndic> |
<BOUCLE_syndic(SYNDIC_ARTICLES) {age<180} {par date}{inverse} {0,20}> |
<item> |
<guid>#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<description>#NOM_SITE</description> |
<pubDate>#DATE</pubDate> |
<link>#URL_ARTICLE</link> |
</item> |
<!--li><a href="#URL_ARTICLE"[ title="(#NOM_SITE|texte_backend)"] class="spip_out">#TITRE</a> - <small>#DATE</small></li--> |
</BOUCLE_syndic> |
</B_syndic> |
<!--BOUCLE_10recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{0,10}{unique}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#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_10recents> |
<BOUCLE_tres_recents(ARTICLES){lang ?}{branche ?}{par date}{inverse}{age<3}{unique}> |
<item> |
<guid>#URL_SITE_SPIP/#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<link>#URL_SITE_SPIP/#URL_ARTICLE</link> |
<description>[<img src="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" align="left" hspace="4" vspace="4"> ][(#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_auteurs_tb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteurs_tb></dc:publisher> |
<author><BOUCLE_auteursb(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteursb></author> |
</item> |
</BOUCLE_tres_recents--> |
</channel> |
</rss> |
<?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> |
<description>La botanique ailleurs sur la toile</description> |
<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> |
[(#REM) Les 30 derniers articles RSS ] |
<B_syndic> |
<BOUCLE_syndic(SYNDIC_ARTICLES) {age<180} {par date}{inverse} {0,20}> |
<item> |
<guid>#URL_ARTICLE</guid> |
<title>[(#TITRE|texte_backend)]</title> |
<description>[(#NOM_SITE|texte_backend)]</description> |
<pubDate>#DATE</pubDate> |
<link>#URL_ARTICLE</link> |
</item> |
</BOUCLE_syndic> |
</B_syndic> |
</channel> |
</rss> |
/trunk/actu/tela_rss.php |
---|
1,23 → 1,22 |
<?php |
/** |
* @author Grégoire Duché |
* Le script permet d'afficher les flux RSS spécifiques de spip. |
* Si un paramètre squelette est passé, s'il n'est pas vide et si le squelette existe, |
* on affiche le squelette demandé. |
* Sinon, on affiche par défaut le squelette des actualités |
* */ |
$fond = "backend"; |
$delais = 1; |
if (isset($_GET['squelette']) && $_GET['squelette'] != '' && file_exists($_GET['squelette'].".html")) { |
$fond = $_GET['squelette']; |
} |
// cette ligne empeche l'affichage des boutons d'administration |
// Et les headers !!!! |
$flag_preserver = true; |
include ("inc-public.php3"); |
?> |
<?php |
/** |
* @author Grégoire Duché |
* Le script permet d'afficher les flux RSS spécifiques de spip. |
* Si un paramètre squelette est passé, s'il n'est pas vide et si le squelette existe, |
* on affiche le squelette demandé. |
* Sinon, on affiche par défaut le squelette des actualités |
* */ |
$fond = "backend"; |
$delais = 1; |
if (isset($_GET['squelette']) && $_GET['squelette'] != '' && file_exists($_GET['squelette'].".html")) { |
$fond = $_GET['squelette']; |
} |
// cette ligne empeche l'affichage des boutons d'administration |
// Et les headers !!!! |
$flag_preserver = true; |
include ("inc-public.php3"); |
?> |