Automatically create ICS File from CalDav Calendar
Ever thought about to use your (remote) CalDav Calendar(s) as an automatic data source for your favourite WP Calendar Plugin ?
Searched for a Plugin that would provide this functionality in the WP Plugins Directory and found nothing useful ?
Well, in case of ‘Yes’ to both questions, this is for You 🙂 .
Just read the whole story at https://hoernerfranzracing.de/werner/kde-linux-web/wp-caldav2ics to check out if this will fit your needs…
And yes, Calendar(s) is correct from Version 1.1.0 – you are no longer limited to just ONE Calendar Source !
FROM YOUR WORDPRESS DASHBOARD
FROM WORDPRESS.ORG
FROM GITHUB.COM
Just click on the link provided on the Admin Page after having pressed ‘Save Changes’ button
Install WP Crontrol and check scheduled Cron Jobs, see screenshot #2
Make sure the URL is not an IP Address in the 192.168.xx Range (or other Local Network) as this is not accepted by the URL Validation function.
Rather add this Address to your /etc/hosts File and associate it with a host Name.
This means exactly what is stated: Unfortunately, it turns out that CalDav Servers often vary significantly in the Structure of their response.
Currently supported are the following Servers:
– Baikal/Sabre.io
– Synology Nas
– mailbox.org/OX
So, if you run into this issue, you can:
– Open an Issue on the support Page: https://wordpress.org/support/plugin/wp-caldav2ics providing the contents of the Logfile and hope for getting it fixed (which usually means providing access to such a brand of Server you are using)
or
– fix it yourself following the famous Motto ‘use the source, Luke’ 🙂 – in that case, patches are welcome !
19.07.23: fix wrong (insufficient) trim() Modification
09.03.23: do not stop ics Creation when no VTIMEZONE Block present in Server Response, check for BEGIN:VCALENDAR instead
25.02.23: fix Fatal Internal Error with PHP 8.x when CalendarExcludes is empty
24.02.23: show PHP Version upon Plugin Activation, issue Warning for PHP >= 8.0
18.02.23: introduced undocumented Option CalendarExcludes to filter/suppress unwanted Properties from Server Response,
for more Information, see https://github.com/wernerjoss/wp-caldav2ics/exclude.md .
Fix WP 6.1/PHP 8.x issue https://github.com/wernerjoss/wp-caldav2ics/issues/5 .
Tested up to PHP: 8.1
13.12.20: Tested with WP 5.6
20.11.19: replace XML Parser for server response with simple line-by-line parsing from https://github.com/wernerjoss/caldav2ics, add Warning if no valid Ical Data found in Server Response
26.06.19: replace URL Validation wp_http_validate_url() with esc_url_raw() to avoid local hosts rejection
Fixed Multi-Calendar ICS File save issue
Added Multi-Calendar Function, that is, you can now convert multiple Calendars at once (see Screenshot #3)
moved Backend styles to separate File (css/style.css)
Fixed missing VTIMEZONE data in Calendar Properties
Completed german Translation for WP Directory
Updated readme.txt
Code cleanup
Updated Translations
Tagged Stable Version
Fix another alternative Server Response Issue (mailbox.org/Open Xchange)
Update FAQ
Strip Username/Password from Logfile
Fix alternative Server Response Issue (Synology NAS)
Plugin also tested with ClassicPress
Improved Description, Tested with WP 5.0