Ajout d'un squelette OPML pour diffusion des sites syndiques

master
andre@alternatives.ca 16 years ago
parent 8aa7ca250e
commit 18a8ca6999

1
.gitattributes vendored

@ -110,6 +110,7 @@ alternatives/modeles/article_portfolio.html -text
alternatives/modeles/miniplan.html -text
alternatives/modeles/site_box.html -text
alternatives/mot.html -text
alternatives/opml.html -text
alternatives/plan.html -text
alternatives/plugin.xml -text
alternatives/recherche.html -text

@ -0,0 +1,25 @@
[(#CACHE{3600})[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]]<?xml version="1.0"[ encoding="(#CHARSET)"]?>
<opml version="1.1">
<head>
<title>[(#NOM_SITE_SPIP|texte_backend)]</title>
<dateCreated>[(#DATE|affdate{'Y-m-d'})]</dateCreated>
</head>
<body>
<BOUCLE_syndic(SITES){tout}{syndication=oui} {par nom_site}>
<outline
id="#ID_SYNDIC"
text="[(#NOM_SITE|texte_backend)]"
description="[(#DESCRIPTIF|supprimer_tags|texte_backend)]"
title="[(#NOM_SITE|texte_backend)]"
type="rss"
version="RSS"
htmlUrl="#URL_SITE"
language="<BOUCLE_lang(RUBRIQUES) {id_rubrique}>[(#LANG)]</BOUCLE_lang>"
xmlUrl="#URL_SYNDIC"
/>
</BOUCLE_syndic>
</body>
</opml>
Loading…
Cancel
Save