[kronolith] Show events from custom system

Jan Fabry jan.fabry at monkeyman.be
Fri Nov 27 07:19:01 UTC 2009


Hello,

What is the best way to show events from a custom system in Kronolith?  
For the contacts, there is an example in the Wiki that shows how to  
get contacts from an external application. I would like to do the same  
thing for Kronolith. The events will be read-only.

Is this possible using the regular API? If I understand the code  
correctly, this would provide the events to other applications, but  
not to Kronolith itself.

I guess could also export the data to iCal, and open them as external  
calendars, but since the data is on the same system, I would prefer a  
tighter integration.

I have experimented a bit, and created a new Kronolith_Driver_qvn  
("qvn" is the name of the custom system). I implemented the listEvents  
and getEvent methods. The getEvent method returns a Kronolith_Event_qvn.

This works, but is this the best way to do this? It seems to work for  
a single calendar, but is there also a way to make multiple calendars  
public? I believe I should work with shares then?

Greetings,

Jan Fabry


More information about the kronolith mailing list