parent
7886660d53
commit
e5a0fc76a2
@ -0,0 +1,34 @@
|
||||
#CACHE{0}#SET{motcle, #ENV{motcle}|lef_test_tag}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Liste des évènements #GET{motcle}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 4px;
|
||||
}
|
||||
table, td{
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #999;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
td, tr {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #999;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
[<p><a href="spip.php?page=evenements-rss-motcle&motcle=(#GET{motcle})">Flux RSS pour #GET{motcle}</a></p>]
|
||||
<table>
|
||||
[(#ENV{motcle}|lef_liste_evenements_tag)]
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,31 @@
|
||||
#CACHE{0}[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<?xml version="1.0"[ encoding="(#CHARSET)"]?>
|
||||
#SET{motcle, #ENV{motcle}|lef_test_tag}
|
||||
<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/"
|
||||
>
|
||||
<channel xml:lang="fr">
|
||||
<title>Évènements #GET{motcle}</title>
|
||||
<link>https://www.libre-en-fete.net/spip.php?page=evenements-rss-motcle&motcle=#GET{motcle}</link>
|
||||
<description>Liste des évènements du mot-clé #GET{motcle}</description>
|
||||
<language>fr</language>
|
||||
<generator>Libre en fête / Agenda du Libre</generator>
|
||||
|
||||
#SET{evenement_array, #GET{motcle}|lef_evenement_array_tag}
|
||||
<BOUCLE_evenements(DATA){source table, #GET{evenement_array}}>
|
||||
<item>
|
||||
<title>[(#VALEUR{start_time}|lef_date) ][(#VALEUR{city}) : ][(#VALEUR{title}|texte_backend) ]</title>
|
||||
<link>https://www.agendadulibre.org/events/#VALEUR{id}</link>
|
||||
<guid isPermaLink="true">https://www.agendadulibre.org/events/#VALEUR{id}</guid>
|
||||
<dc:date>#VALEUR{time}</dc:date>
|
||||
<dc:format>text/html</dc:format>
|
||||
<dc:language>fr</dc:language>
|
||||
<description>
|
||||
<p><strong>Contact :</strong> [(#VALEUR{contact}|texte_backend)]</p>
|
||||
[(#VALEUR{description}|texte_backend)]</description>
|
||||
</item>
|
||||
</BOUCLE_evenements>
|
||||
|
||||
</channel>
|
||||
|
||||
</rss>
|
Loading…
Reference in new issue