|
From: Emanoil K. <del...@ya...> - 2010-09-29 09:51:49
|
Daniel, could you please, give me your opinion on this subject. Or may be you know someone in the opensync team who can answer The problem is (briefly) if you define different types of resources in akonadi, these would be also discovered in the discover stage, but the calendar is a container for event, note (journal) and todo. I can discover them too, but at which level should I do the filtering and how should I design the plugin. The plugin (in it's original design by Volker Krause) retrieves all the items from an url i.e. akonadi:?collection=2 and this is reported for all the calendar sub entries. So if I try to retrieve the journal it would report also the rest. I don't want to take a design decisions on my own as I don't have much experience with opensync and that much time to code experiments. Thanks in advance --- On Tue, 9/28/10, Chris Frey <cd...@fo...> wrote: > From: Chris Frey <cd...@fo...> > Subject: Re: [Opensync-devel] akonadi-sync (discussion) > To: ope...@li... > Date: Tuesday, September 28, 2010, 7:55 PM > 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 > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment > and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Opensync-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-devel > |