iCalendar Export Plugin
There are some Calendaring tools that don't yet support CalDAV, but they do have support for the 'Subscribe to' feature.
Starting with SabreDAV 1.4, there is now a plugin that grabs an existing calendar, and exports it as a file that's compatible with these applications.
To use this plugin, simply add it to your server:
$icsPlugin = new \Sabre\CalDAV\ICSExportPlugin(); $server->addPlugin($icsPlugin);
After this is added, you can generate these exports by finding a url to your calendar, and adding ?export at the end of the url. This will automatically trigger a download.
The ICSExport plugin supports several options since version 2.0.
|start||Only show events from after this unix timestamp||
|end||Only show events from before this unix timestamp||
|expand||Automatically expand recurring events||
|accept||Convert the iCalendar data to jCal||
|componentType||Filter by componentType, such as only
- If you want to use
expand, you must specify
expandautomatically filters out
VJOURNAL, because only
VEVENTis currently supported. If you need support for
VTODO, open a feature request.
componentTypewas added in sabre/dav 3.0.