{namespace e=DERHANSEN\SfEventMgt\ViewHelpers}
BEGIN:VCALENDAR
VERSION:2.0
PRODID:https://github.com/derhansen/sf_event_mgt
METHOD:PUBLISH
BEGIN:VEVENT
UID:{event.uid}-{event.pid}@{typo3Host}
CLASS: PUBLIC
SUMMARY:<e:format.ICalendarDescription substractChars="8">{event.title -> f:format.htmlentitiesDecode()}</e:format.ICalendarDescription>
DESCRIPTION:<e:format.ICalendarDescription substractChars="12">{event.description -> f:format.htmlentitiesDecode()}</e:format.ICalendarDescription>
<f:if condition="{event.location}">
LOCATION:<e:format.ICalendarDescription substractChars="9">{event.location.title -> f:format.htmlentitiesDecode()}</e:format.ICalendarDescription>
</f:if>
DTSTAMP:<e:format.ICalendarDate>{event.tstamp}</e:format.ICalendarDate>
DTSTART:<e:format.ICalendarDate>{event.startdate}</e:format.ICalendarDate>
<f:if condition="{event.enddate}">
DTEND:<e:format.ICalendarDate>{event.enddate}</e:format.ICalendarDate>
</f:if>
END:VEVENT
END:VCALENDAR
