You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.6 KiB
43 lines
1.6 KiB
[(#REM) |
|
Ce fichier sert à créer les flux RSS |
|
qui permettent aux visiteurs de suivre l'actualité |
|
de votre site depuis un lecteur de news. |
|
|
|
Cette page génère un code XML/RSS adapté |
|
|
|
][(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<?xml |
|
version="1.0"[ encoding="(#CHARSET)"]?> |
|
<rss version="2.0" [(#REM) rss 2.0.9)] |
|
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
xmlns:content="http://purl.org/rss/1.0/modules/content/" |
|
xmlns:atom="http://www.w3.org/2005/Atom" |
|
> |
|
|
|
<channel[ xml:lang="(#LANG)"]> |
|
<title>[(#NOM_SITE_SPIP|textebrut|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> |
|
<atom:link href="[(#SELF|url_absolue)]" rel="self" type="application/rss+xml" /> |
|
|
|
[ <image> |
|
<title>[(#NOM_SITE_SPIP|texte_backend)]</title> |
|
<url>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{src}|url_absolue|texte_backend)</url> |
|
<link>#URL_SITE_SPIP/</link> |
|
[<height>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{height})</height>] |
|
[<width>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{width})</width>] |
|
</image> |
|
] |
|
|
|
<BOUCLE_10recents(ARTICLES) {lang ?}{branche ?}{id_mot ?}{id_auteur ?} {par date}{inverse}{0,10}{unique}> |
|
<INCLURE{fond=inclure/rss-item,id_article} /> |
|
</BOUCLE_10recents> |
|
|
|
<BOUCLE_tres_recents(ARTICLES){lang ?}{branche ?}{id_mot ?}{id_auteur ?} {par date}{inverse}{age<3}{unique}> |
|
<INCLURE{fond=inclure/rss-item,id_article} /> |
|
</BOUCLE_tres_recents> |
|
|
|
</channel> |
|
|
|
</rss>
|
|
|