4 |
david |
1 |
<?php
|
|
|
2 |
@header('Content-type: text/xml[; charset=(#CHARSET)]');
|
|
|
3 |
echo '<'.'?xml version="1.0" encoding="#CHARSET"?'.">\n";
|
|
|
4 |
?>
|
|
|
5 |
<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
|
6 |
|
|
|
7 |
<channel>
|
|
|
8 |
|
|
|
9 |
<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
|
|
|
10 |
<link>#URL_SITE_SPIP/</link>
|
|
|
11 |
<description></description>
|
|
|
12 |
<language>#LANG</language>
|
|
|
13 |
|
|
|
14 |
<image>
|
|
|
15 |
<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
|
|
|
16 |
<url>#URL_SITE_SPIP[/(#LOGO_SITE_SPIP||extraire_attribut{src})]</url>
|
|
|
17 |
<link>#URL_SITE_SPIP/</link>
|
|
|
18 |
<description></description>
|
|
|
19 |
</image>
|
|
|
20 |
|
|
|
21 |
<BOUCLE_breves(BREVES){id_rubrique ?}{lang ?}{par date}{inverse}{0,10}>
|
|
|
22 |
<item>
|
|
|
23 |
<title>[(#TITRE|supprimer_numero|texte_backend)]</title>
|
|
|
24 |
<link>#URL_SITE_SPIP/#URL_BREVE</link>
|
|
|
25 |
<date>#DATE</date>
|
|
|
26 |
<description>[<img src="#URL_SITE_SPIP/(#LOGO_BREVE||extraire_attribut{src})" align="left" hspace="4" vspace="4"> ][(#TEXTE|texte_backend)]</description>
|
|
|
27 |
<dc:date>[(#DATE|date_iso)]</dc:date>
|
|
|
28 |
<dc:format>text/html</dc:format>
|
|
|
29 |
<dc:language>#LANG</dc:language>
|
|
|
30 |
</item>
|
|
|
31 |
</BOUCLE_breves>
|
|
|
32 |
|
|
|
33 |
</channel>
|
|
|
34 |
|
|
|
35 |
</rss>
|