|
From: deloptes <del...@ya...> - 2010-09-18 10:41:04
|
Hi,
I want to discuss something with you about akonadi.
I had a closer look into the discover funtion and I think it can do much
more then mapping event obj and contact.
In akonadi all items seem to live in "Address Book"
("text/directory", "application/x-vnd.kde.contactgroup")
When I iterate on them at top level I get following
akonadi_opensync(30129) akonadi_discover: osync -> t contact
akonadi_opensync(30129) akonadi_discover: available resource for "Address
Book" ("text/directory", "application/x-vnd.kde.contactgroup")
akonadi_opensync(30129) akonadi_discover: available resource for "outbox"
("message/rfc822", "inode/directory")
akonadi_opensync(30129) akonadi_discover: available resource for "Local
Folders" ("message/rfc822", "inode/directory")
akonadi_opensync(30129) akonadi_discover: available resource for "Search" ()
and there seem to be submime types for note, event, calendar etc.
So one could iterate on the members to get those.
As my syncml phone has mail folder and so on, which also need to be backuped
(synced) I think all found objects are of interest, thus how do we map them
and where?
The thing is that I'm not sure where to do it and what type of format and
objtype I need to set - or do I need a proper configuration file?
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
[1284801554.297435] FORMAT: xmlformat-contact
[1284801554.297457] FORMAT: xmlformat-event
[1284801554.297476] FORMAT: xmlformat-todo
[1284801554.297496] FORMAT: xmlformat-note
[1284801554.297515] FORMAT: xmlformat-contact-doc
[1284801554.297535] FORMAT: xmlformat-event-doc
[1284801554.297563] FORMAT: xmlformat-todo-doc
[1284801554.297582] FORMAT: xmlformat-note-doc
[1284801554.297622] FORMAT: file
[1284801554.297642] FORMAT: plain
[1284801554.297661] FORMAT: memo
regards
|