backend.html 1.13 KB
Newer Older
agnez's avatar
agnez committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
#CACHE{3600}
[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]
<?xml version="1.0"[ encoding="(#CHARSET)"]?>
<rss version="2.0"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel>
	<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
	<link>#URL_SITE_SPIP/</link>
	<description>[(#DESCRIPTIF_SITE_SPIP|supprimer_tags|texte_backend)]</description>
	<language>#LANG</language>
	<generator>SPIP - www.spip.net</generator>

[	<image>
		<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
		<url>(#LOGO_SITE_SPIP||extraire_attribut{src}|url_absolue|texte_backend)</url>
		<link>#URL_SITE_SPIP/</link>
		[<height>(#LOGO_SITE_SPIP||extraire_attribut{height})</height>]
		[<width>(#LOGO_SITE_SPIP||extraire_attribut{width})</width>]
	</image>
]

<BOUCLE_actualites_perma(ARTICLES) {lang=#LANG}{id_rubrique IN 65,98}{id_mot=136}{doublons}>
	<INCLURE{fond=inc/rss-item}{id_article}{lang}>
</BOUCLE_actualites_perma>
<BOUCLE_actualites(ARTICLES) {lang=#LANG}{id_rubrique IN 65,98}{par date}{age<=0}{doublons}>
	<INCLURE{fond=inc/rss-item}{id_article}{lang}>
</BOUCLE_actualites>

</channel>

</rss>