Tool for converting Kolab XML (toltec) to iCal .ics form?

Helge Borgmann borgmann at jesse.de
Wed Jun 7 12:40:15 CEST 2006


Hi,

 > Can any one please point me to a tool, script, or program, either
 > within the Kolab source, or elsewhere on the net, which can take
 > as input a Toltec-generated, Kolab XML file, and produce an iCal
 > (RFC 2445) format file as output?

Yes and no. ;-) I've written a perlscript some time ago which reads all 
calendar- (and/or task-) data via IMAP/SSL from a Kolab-Server and 
writes them into a single *.ics-file (you have to split this manually 
into single iCal-files). It's beta, but we're using it successfully in 
my company for a while (oh, and it is GPL).

You'll find it here:
	http://www.jesse.de/shtml/download.shtml#kolab
or respectively:
	http://www.jesse.de/download/20060607.iKolab-Tools.tgz

You need the script named 'readkolab.pl' out of this tarball; the 
documentation is german only (sorry, not time, no time ...) an you'll 
have to install following perl-modules:
     * Mail::IMAPClient
     * IO::Socket::SSL
     * XML::Parser

Syntax is basically (for reading your standard-calendar):

perl readkolab.pl -server yourServerHostnameOrIP -port 993 -user 
yourUsername -pass "yourPassInDoubleQuotes" -eventfolder 
"INBOX/Calendar" -taskfolder "off" -file yourOutputfile.ics

If you can read the calendar-data directly out of the IMAP-server, this 
should do the job.

regards

Helge Borgmann


-- 
............................................
... Helge Borgmann .........................
... Jesse.DV ...............................
... Nöldnerstr. 1 ..........................
... 10317 Berlin ...........................
............................................
... tel ............ +49 30 55490041 .......
... fax ............ +49 30 55490043 .......
... email .......... borgmann at jesse.de .....
... www ............ http://www.jesse.de ...
............................................
-------------- next part --------------
A non-text attachment was scrubbed...
Name: borgmann.vcf
Type: text/x-vcard
Size: 368 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/users/attachments/20060607/7cd89af6/attachment.vcf>


More information about the users mailing list