Export entries made in a WikiCalendar to the iCal format so you can subscribe to it online via Apple iCal or Mozilla Sunbird.
The script assume that you have the WikiCalendar cookbook installed that gives wiki sides with group and names like "Groupname/yyyymmdd" -> "Calendar/20050801".
# put Attach:icalexport.php into your cookbook folder # include it into your config.php: "include_once("$FarmD/cookbook/icalexport.php");" # set the following parameter in your config.php file: ## $ICalCalendarGroup - the name of your wikilog group - default:"Calendar" ## $ICalCalendarTitle - the title shown if the calendar is subscribed - default:"PmWiki Calendar" ## $ICalTimeZone - the time zone the events belong to - default:"Europe/Berlin" ## $ICalFileName - the name of calendarfile - default: same as $ICalCalendarGroup
The link to the generated file is
so per default it is something like
If you haven't uploaded anything in your calender group yet, don't forget to make a new folder with the appropriate rights or just upload something.
The keywords "Begin", "End", "Location", and "Description" can be localized.
On a wiki side each calendar entry has do be seperated by a horizontal rule:
!!Title of the first Event Begin: hh:mm
Description: ---- !!Title of the next Event ...
See discussion at ICalExport-Talk
User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.