spip_nursit/squelettes-dist/ical.html
2023-06-01 17:30:12 +02:00

30 lines
1,011 B
HTML

#HTTP_HEADER{Content-Type: text/calendar; charset:#CHARSET}
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID: SPIP https://www.spip.net
VERSION:2.0
X-WR-CALNAME;VALUE=TEXT:[(#NOM_SITE_SPIP|filtrer_ical)]
X-WR-RELCALID:[(#URL_SITE_SPIP|filtrer_ical)]
<BOUCLE_articles(ARTICLES){!par date}{0,100}>
BEGIN:VEVENT
SUMMARY:[(#TITRE|filtrer_ical)] [[(#NOM_SITE_SPIP|filtrer_ical)]]
UID:article#ID_ARTICLE @ [(#URL_SITE_SPIP|filtrer_ical)]
DTSTAMP:[(#DATE|date_ical)]
DTSTART:[(#DATE|date_ical)]
DTEND:[(#DATE|date_ical{60})]
CATEGORIES:<:articles|filtrer_ical:>
URL:[(#URL_ARTICLE|url_absolue)]
STATUS:CONFIRMED
END:VEVENT</BOUCLE_articles><BOUCLE_breves(BREVES){!par date}{0,100}>
BEGIN:VEVENT
SUMMARY:[(#TITRE|filtrer_ical)] [[(#NOM_SITE_SPIP|filtrer_ical)]]
UID:breve#ID_BREVE @ [(#URL_SITE_SPIP|filtrer_ical)]
DTSTAMP:[(#DATE|date_ical)]
DTSTART:[(#DATE|date_ical)]
DTEND:[(#DATE|date_ical{60})]
CATEGORIES:<:breves|filtrer_ical:>
URL:[(#URL_BREVE|url_absolue)]
STATUS:CONFIRMED
END:VEVENT
</BOUCLE_breves>
END:VCALENDAR