-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathevents.ics
41 lines (41 loc) · 1.57 KB
/
events.ics
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
layout: null
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//JUG DA//Veranstaltungskalender//DE
METHOD:PUBLISH
X-WR-CALNAME:{{ site.name }}
X-WR-CALDESC:Veranstaltungen der {{ site.name }}
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
{% for post in site.posts reversed %}{% if post.date > site.time %}{% if post.canceled == false %}BEGIN:VEVENT
UID:{{ post.date | date: "%Y%m%d" }}@jug-da.de
ORGANIZER;CN="JUG Darmstadt":MAILTO:[email protected]
SUMMARY:JUG DA: {{ post.title }}{% if post.speaker %} ({{ post.speaker | map: "name" | join: ", " | xml_escape }}){% endif %}
DESCRIPTION:Java User Group Darmstadt\n\n{{ post.title }}{% if post.speaker %} ({{ post.speaker | map: "name" | join: ", " | xml_escape }}){% endif %}\n\n{{ post.content | strip_html | normalize_whitespace | truncatewords: 50 }}
LOCATION:{{ post.location | replace: ",", "\," }}
{% include getDateWithStartAndEndTimeFromEvent.html event=post %}DTSTART;TZID={{ site.timezone }}:{{ dateWithStartTime | date: "%Y%m%dT%H%M00" }}
DTEND;TZID={{ site.timezone }}:{{ dateWithEndTime | date: "%Y%m%dT%H%M00" }}
DTSTAMP:{{ dateWithStartTime | date: "%Y%m%dT%H%M00" }}
URL:{{ site.url }}{{ post.url }}
CLASS:PUBLIC
END:VEVENT
{% endif %}{% endif %}{% endfor %}END:VCALENDAR