Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > ZCS Client Connectors > iSync/CalDAV

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-08-2009, 04:32 PM
New Member
 
Posts: 3
Default Getting at Calnedar data remotely

Hello,

I am implementing a command-line calendaring solution using libical to parse the CalDAV bits. I'm trying to figure out the easiest way to actually get at the CalDAV bits stored on my zimbra server and there's very little documentation in that respect.

Right now I am using iCal and it does everything for me in the background. I'm curious as to what exactly it is doing and how so I can reproduce that.

Thanks.

-Daniel
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 06:40 PM
Outstanding Member
 
Posts: 576
Default

Your entire calendar can be accessed read/write via a url like https://mail.example.com/home/dcorbe...lendar?fmt=ics

Actually implementing caldav is a wee bit more complicated.

Useful definitions: iCalendar is just a data format. libical can read and write that format. CalDAV is a complicated set of protocols for multiuser manipulation of iCalendar data over a network. MacOS Leopard included the first mainstream implementation of same. libcaldav supports some subsets of CalDAV.

Last edited by Rich Graves : 07-08-2009 at 06:56 PM.
Reply With Quote
  #3 (permalink)  
Old 07-08-2009, 06:47 PM
Outstanding Member
 
Posts: 576
Default

If you tell us more about what you intend your command-line tool to do, we might be able to help (or be helped) more.
Reply With Quote
  #4 (permalink)  
Old 07-09-2009, 01:23 PM
New Member
 
Posts: 3
Default

I basically want to eliminate my dependence on iCal completely. Right now I'm able to be productive with little more than a web browser and an SSH client with the exception of appointment and todo access.

I am aware that I can log into my zimbra server through its web interface to access my calendar but I can't very well have a web browser in front of me 24/7 when I am trying to accomplish other tasks, and I nearly always have a terminal window sitting in front of me.

I'd like to be able to:

* View and manage my own calendar remotely, from the command line using minimalistic ncurses-based interface.
* View other people's calanders, and insert meeting requests accordingly.
* View and manage various TODO lists associated with each calendar.

Are you suggesting I steer clear of libical and CalDAV in general?

I do realize that CalDAV would be a chore to implement from scratch but the libical documentation suggests that all of the tools necessary are there with the exception of any necessary network I/O semantics required to actually fetch the data.

Further, libical seems to be a fairly portable library as it's known to compile in most POSIX environments, on Win32 and on Mac OS X as well.

If ICS is a better choice, can you point me in the direction of a relatively free implementation of ICS in C?

Regards,
Daniel
Reply With Quote
  #5 (permalink)  
Old 07-09-2009, 01:26 PM
New Member
 
Posts: 3
Default

BTW, more info on libical:

CalDAV Libraries & Tools
Reply With Quote
  #6 (permalink)  
Old 07-10-2009, 01:44 PM
cte cte is offline
Junior Member
 
Posts: 8
Default

Dcorbe, t=you are right,
caldav4J

Check the sources out, go through the examples and you will be able to understand everything. Then you can implement it in command line
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0