[pmwiki-users] Recipe to generate calendar invites

Stef stefct4 at gmail.com
Fri May 27 06:49:55 CDT 2016


Hi,

2016-05-27 9:24 GMT+02:00, Simon <nzskiwi at gmail.com>:
> I'm looking for a recipe that would generate a google/outlook(ics) inite
> that people can use to add an event to their own personal calendar?

It's possible to simply write something like the following code into
an otherwise empty Wiki page (replace Location, Summary and
DTSTART;TZID with the proper information):

BEGIN:VCALENDAR
VERSION:2.0
PRODID:
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
LOCATION: Location
SUMMARY: Summary
CLASS:PUBLIC
DTSTART;TZID=Europe/Berlin:20141030T193000
DTSTAMP:20160527T113200
END:VEVENT
END:VCALENDAR

Furthermore, an ".ics action" similar to the recipe "CSV action"

http://www.pmwiki.org/wiki/Cookbook/CSVAction

(the whole Regex part can probably be omitted)

needs to be created.

The .ics file can then be downloaded with an URL such as

[WikiURL]?n=Calendar.Event1&action=ics

I hacked something like that together a few years ago, and it worked
fine. Unfortunately, I never came around to turning this into a proper
recipe.

Kind regards

Stef



More information about the pmwiki-users mailing list