|
From: deloptes <del...@ya...> - 2010-09-30 21:56:52
|
Chris Frey wrote:
> You may need to log it yourself. But before you do that, the multiple
> type issue needs to be fixed first.
I think I've solved the multiple types issue, by rewriting the discover
function, I found a possible bug in libopensync, but I don't have time to
look in it. Anyway, I'm still missing something.
Still few things to do to get the proper format from akonadi to be passed to
opensync.
<?xml version="1.0"?>
<config version="1.0">
<Resources>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vevent20</Name>
</Format>
</Formats>
<Name>Birthdays and Anniversaries</Name>
<MIME>application/x-vnd.akonadi.calendar.event</MIME>
<ObjType>event</ObjType>
<Url>akonadi:?collection=11</Url>
</Resource>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vtodo10</Name>
</Format>
</Formats>
<Name>Calendar</Name>
<MIME>application/x-vnd.akonadi.calendar.todo</MIME>
<ObjType>todo</ObjType>
<Url>akonadi:?collection=8</Url>
</Resource>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vjournal</Name>
</Format>
</Formats>
<Name>Calendar</Name>
<MIME>application/x-vnd.akonadi.calendar.journal</MIME>
<ObjType>journal</ObjType>
<Url>akonadi:?collection=8</Url>
</Resource>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vcard30</Name>
</Format>
</Formats>
<Name>Address Book</Name>
<MIME>text/directory</MIME>
<ObjType>contact</ObjType>
<Url>akonadi:?collection=9</Url>
</Resource>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vnote11</Name>
</Format>
</Formats>
<Name>akonadi_notes_resource_1</Name>
<MIME>application/x-vnd.kde.notes</MIME>
<ObjType>note</ObjType>
<Url>akonadi:?collection=10</Url>
</Resource>
</Resources>
</config>
|