IcalEntry

From RevSpace
Revision as of 23:21, 1 October 2011 by 10.42.42.9 (talk) (Created page with " Render event as VEVENT ical entry. Parameters: * EVENTTOPIC - name of the event topic Example: %<nop>INCLUDE{"IcalEntry" topic="GnucashWorkshop"}% renders as: %INCLUDE{"I...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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