|
From: Chris F. <cd...@fo...> - 2010-09-28 17:55:43
|
On Tue, Sep 28, 2010 at 07:27:14PM +0200, deloptes wrote: > I don't see any data in the logs. Which logs, where? I have the thread logs > but there is no xml. You may need to log it yourself. But before you do that, the multiple type issue needs to be fixed first. > Let us discuss a bit. > > I was not sure what would "get_changes" return for the Calendar type of > Akonadi. > It seems that all we see is coming from Calendar, so KDE is really keeping > the entries in one > Calendar > +- Events (VCALENDAR) > +- Notes (VJOURNAL) > +- Todos (VTODO) > > Besides you can have Notes like in KDE3 > Notes (VNOTE) (vnote11) > > I'm not sure how I have to solve this. > > May be it should be splitted in separate objects in the config I think that is true, since opensync handles each type separately. Each resource has a different objtype, so your plugin has to do the filtering if KDE doesn't allow for that. > Then we can use mimetype and save it into the config, when discovering. > > In the sync process we can make use of this mime-type to retrieve the proper > collection from akonadi. If you can tell akonadi "give me only VCALENDAR" then yes, that's the way to go. - Chris |