|
From: Chris F. <cd...@fo...> - 2010-09-18 20:54:58
|
On Sat, Sep 18, 2010 at 04:15:50PM +0200, deloptes wrote: > >> the file plugin i.e. could be used to sync "Local Folders" and may > >> be "outbox" too > >> > >> [1284801554.297273] FORMAT: vcard21 > >> [1284801554.297299] FORMAT: vcard30 > >> [1284801554.297320] FORMAT: vevent10 > >> [1284801554.297339] FORMAT: vevent20 > >> [1284801554.297358] FORMAT: vtodo10 > >> [1284801554.297377] FORMAT: vtodo20 > >> [1284801554.297396] FORMAT: vjournal > >> [1284801554.297415] FORMAT: vnote11 > > > > This depends on what format of data you get from Akonadi. > > Can you extract RFC format data from it? If so, then these are what > > you want. > > So I need to check in discover for supported format and set the objformat > for the ressouse. This is what I'll be doing next. In my experience, if you have your config setup from the start, you don't have to worry about formats at the discover stage. I set the format in the config, and then enable them based on availability, and the opensync engine figures out the rest. Maybe Daniel can explain better. > The barry-sync is not exactly what I need as it does process standard items. > In aconady items are multiple collections of data. So I see a potential > danger here. If I sync my calendar from kde with my phone. In kde I have 1 > moonphase calendar defined and multiple other calendars, like holidays, > private and public. Who is this to be managed in opensync? I still think that the config needs to "lock onto" a particular source. For example, the user might configure the plugin in one group to sync only the moonphase calendar with his Blackberry. He might configure another group to sync another calendar with Evolution. And he might configure another group to sync all calendars with google-calendar. It is possible to have multiple calendars in Google Calendar as well, something I need to look into. But if you can set a plugin to config with a particular calendar, then you can use the rest of opensync's group configuration to work around the rest. > I read about akonadi items - they are identified by mimetypes, so this is > may be the best way to check them. So I'll probably need the mime option > and some advanced options in the config to get several subtypes in one > collection i.e. "Address Book" and assign multiple ressources. How do I do > this? barry does not show a way You could connect the mime type with a particular ObjType (contact, event, todo, etc). Then find the matching resource with that ObjType in your config. - Chris |