[OGo-Users] ical import zidestore

Jan Schulze users@opengroupware.org
Thu, 14 Feb 2008 13:53:23 +0100


Hi,

Helge Hess wrote:
> On 14.02.2008, at 09:35, Jan Schulze wrote:
>> I want to import an ical file into zidestore using cadaver.
> 
> A single event or a whole calendar? For the latter curl would be more
> appropriate.

It's a whole calendar, because I want to move an existing local calendar
to OGo. All appointments (VEVENTs) are in one file, though.

Why would curl be more appropriate?

> What URLs do you use?

I first tried a group calendar called 'bsstaff' with 'schulze' being a
member of the group (URL #1):
https://hostname.informatik.uni-tuebingen.de/zidestore/so/schulze/Groups/bsstaff/Calendar/

Because that was not working, I tried the private calendar of 'schulze'
(URL #2):
https://hostname.informatik.uni-tuebingen.de/zidestore/so/schulze/Calendar/.

>> Having problems in accomplishing this, I found this (German) thread:
>> http://osdir.com/ml/cms.opengroupware.user.german/2004-08/msg00023.html
>>
>> In translation, it says: After uploading an ical file, one has to set
>> the appropriate rights on appointments before they will appear.
> 
> 
> The read_access_group depends on the URL you import to. You can PUT to
> group calendars etc.

So, when importing to the bsstaff group (URL #1), the appointments
should be visible for schulze (because he is a member of bsstaff)? And
appointments imported to the private calendar of schulze (URL #2) should
be visible for schulze? Both is not working for me. No appointments are
visible.

> But be very careful. When you PUT a calendar to an OGo calendar, the two
> will be synced. Ie this means all events which are not in the iCal will
> get deleted?

I understand that. It's not a problem for me right now, because I want
to move an existing local calendar to an empty OGo calendar.

> If thats not what you want, you need to write a small GroupDAV importer
> (split the iCal Calendar into separate VEVENT ics files and import them
> separately to own URLs).

I'll keep that in mind for later. Do the VEVENT ics files have to comply
to a special naming convention or something?


Regards,
-- 
Jan Schulze - Systemadministration
Wilhelm-Schickard-Institut für Informatik
Universität Tübingen
Raum C309, Sand 14, D-72076 Tübingen