On Sun, 2008-07-06 at 00:28 +0300, merKur wrote: > On Sat, 2008-07-05 at 21:53 +0100, Dr J A Gow wrote: > > On Fri, 2008-07-04 at 05:38 +0300, merKur wrote: > > > Hi there, > > > > > > While trying to use synce-sync-engine v0.11.1-1 with Evolution > > > v2.22.2-1.1 (on a Debian SID system) and a Samsung SGH-i600 (European > > > version of the BlackJack), I encountered some issues. > > > > > > Attached are some patches that resolve the following issues: > [snip] > > Nice additions. Thanks. > There are some more on the way... ;) >
Super! Send 'em in when they are ready, and I'll have a look. > > > > WM5->EVO: > > > - Note was not being sync'ed, > > > At least on my phone, the note should be in <C1:Body>, not in > > > <C1:Rtf> > > > > Not convinced about this one. My phone exports them in <C1:Rtf>. I'll > > leave this one out until more info is available from different phone > > types. > I see mine exports some blurb on Rtf as well, but have no idea how to > decode it... > It's base64 encoded compressed RTF. The base64 codec used is just the standard python one. I wrote a library, 'librtfcomp' to handle compressed RTF in both directions, and there are a set of python bindings provided with the library. Follow the XSLT extension function (the one your patch tried to remove :-) ) to learn more about how I implemented this. > We might be able to tweak the xslt to pick body if there, and fallback > to Rtf. What do you think ? This might be a possibility. Let me see if I can get both WM5 and WM6 at my end to actually emit a 'Body' field! Once I can do this, we should have a clearer picture as to how Airsync handles the two fields. > Otherwise we might need a [yet another] config flag... Yuck. The core problem is if data is stored in both <Body/> and <Rtf/> - how do we combine and separate (if, indeed, we need to). John. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel