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.

35 lines
1.2KB

  1. [(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<?xml
  2. version="1.0"[ encoding="(#CHARSET)"]?>
  3. <rss version="2.0" [(#REM) rss 2.0.9)]
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  6. >
  7. <channel[ xml:lang="(#LANG)"]>
  8. <title>[(#NOM_SITE_SPIP|textebrut|texte_backend)]</title>
  9. <link>#URL_SITE_SPIP/</link>
  10. <description>[(#DESCRIPTIF_SITE_SPIP|supprimer_tags|texte_backend)]</description>
  11. <language>#LANG</language>
  12. <generator>SPIP - www.spip.net</generator>
  13. [ <image>
  14. <title>[(#NOM_SITE_SPIP|texte_backend)]</title>
  15. <url>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{src}|url_absolue|texte_backend)</url>
  16. <link>#URL_SITE_SPIP/</link>
  17. [<height>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{height})</height>]
  18. [<width>(#LOGO_SITE_SPIP|image_reduire{144,400}|extraire_attribut{width})</width>]
  19. </image>
  20. ]
  21. <BOUCLE_10recents(ARTICLES) {lang ?}{branche ?}{id_mot ?}{id_auteur ?} {par date}{inverse}{0,10}{unique}>
  22. <INCLURE{fond=inc-rss-item, id_article} />
  23. </BOUCLE_10recents>
  24. <BOUCLE_tres_recents(ARTICLES){lang ?}{branche ?}{id_mot ?}{id_auteur ?} {par date}{inverse}{age<3}{unique}>
  25. <INCLURE{fond=inc-rss-item, id_article} />
  26. </BOUCLE_tres_recents>
  27. </channel>
  28. </rss>