Hi,
I am using Lotus Notes 8.5.3, too but cannot see a CalDAV option. Just an iCalendar feed - which "should" also work with ownCloud when using the .ics download URL for that specific calendar.
However, I recognized, that OC sends a
BEGIN:VCALENDAR
END:VCALENDAR
with every VEVENT. This seems to irritate some software like Lotus Notes. I therefore created a small script which downloads the .ics file and tweaks it by moving all VEVENTS in a single VCALENDAR tag.
- Code: Select all
#!/bin/bash
OCURL="http://<owncloudurl>/?app=calendar&getfile=export.php?calid="
CALID=2
PERSONAL=/var/calendars/$USER.ics
OCCAL=/tmp/ownCloud.ics
if [ -f "$OCCAL" ]; then
rm "$OCCAL"
fi
wget --auth-no-challenge --no-clobber --http-user=user --http-password=password -O "$OCCAL" "$OCURL$CALID"
echo "wget ended with return code: $?"
if [ $? -eq 0 ]; then
echo removing VCALENDAR tags...
sed -i".bak" '/BEGIN:VCALENDAR/d' "$OCCAL"
sed -i".bak" '/VERSION:2.0/d' "$OCCAL"
sed -i".bak" '/PRODID:ownCloud Calendar/d' "$OCCAL"
sed -i".bak" '/END:VCALENDAR/d' "$OCCAL"
echo "BEGIN:VCALENDAR" >"$PERSONAL"
echo "VERSION:2.0" >>"$PERSONAL"
echo "PRODID:ownCloud Calendar" >>"$PERSONAL"
cat "$OCCAL" >>"$PERSONAL"
echo "END:VCALENDAR" >>"$PERSONAL"
fi
echo "removing temp file..."
rm "$OCCAL"
echo "done."
I run this script via cron every 15min and point my Lotus Notes directly to the file. Works fine...
bye
Marcus.