IcalEntry

From RevSpace
Jump to navigation Jump to search


Render event as VEVENT ical entry.

Parameters:

  • EVENTTOPIC - name of the event topic

Example:

%<nop>INCLUDE{"IcalEntry" topic="GnucashWorkshop"}%

renders as:

%INCLUDE{"IcalEntry" topic="GnucashWorkshop"}%


%STARTINCLUDE%BEGIN:VEVENT SUMMARY:%FORMFIELD{"EventName" topic="%EVENTTOPIC%"}% UID:%CALC{"$FORMATTIME( $TIME(%FORMFIELD{"EventDate" topic="%EVENTTOPIC%"}% %FORMFIELD{"EventTime" topic="%EVENTTOPIC%"}%),$year$month$dayT$hour$minute$secondZ)"}%%EVENTTOPIC%@revspace DTSTART:%CALC{"$FORMATTIME( $TIME(%FORMFIELD{"EventDate" topic="%EVENTTOPIC%"}% %FORMFIELD{"EventTime" topic="%EVENTTOPIC%"}%),$year$month$dayT$hour$minute$secondZ)"}% DTEND:%CALC{"$FORMATTIME( $TIME(%FORMFIELD{"EventEndDate" topic="%EVENTTOPIC%"}% %FORMFIELD{"EventEndTime" topic="%EVENTTOPIC%"}%),$year$month$dayT$hour$minute$secondZ)"}% END:VEVENT%STOPINCLUDE%


-- Main.KoenMartens - 23 Jul 2011