Den 06. sep. 2012 21:03, skrev [email protected]:
> Ove Kåven <[email protected]> wrote on Thu, 06 Sep 2012 20:29:02 +0200:
>
>> It's probably just HTML. There's no reason that couldn't be synced. (I
>> suppose that ideally, the sync format would then be text/html rather
>> than text/plain, but I don't think SyncML knows the difference, it's
>> probably all text/plain to it.)
>
> Would seem likely. However, the markup is apparently lost already
> upstream: The syncevolution-log_trm*_*_outgoing.xml show the notes in
> plain-text form, with no markup. Also, fwiw, the (adware) Harmattan app
> "Notes Exporter" produces plain-text output.
OK, but perhaps the markup *would* be synced if you were able to use
text/calendar instead of text/plain. I've just taken a look, and it
seems the markup is stored in the X-ALT-DESC property of the iCal entry.
You can see what it looks like if, on your N9, you dump the notes
database with a command like:
$ syncevolution --export - <config> memo
You could also take a look at your trm* logs when you try to sync memos
with text/calendar format, to see if there's an X-ALT-DESC property sent
to the PC (before the PC fails to parse it).
Patrick, would the engine handle this? A bold "Test" looks much like this:
> BEGIN:VJOURNAL
> CREATED:20120906T203638Z
> X-ALT-DESC;FMTTYPE=text/html:
> <!DOCTYPE=20HTML=20PUBLIC=20"-//W3C//DTD=20HTML=204.0//EN"=20"http:
> //www.w3.org/TR/REC-html40/strict.dtd">=0A<html><head><meta=20name=3D"qric
> htext"=20content=3D"1"=20/><meta=20http-equiv=3D"Content-Type"=20content=3
> D"text/html;
> =20charset=3Dutf-8"=20/><style=20type=3D"text/css">=0Ap,=20li=20{=20white-
> space:=20pre-wrap;=20}=0A</style></head><body=20style=3D"=20font-family:
> 'Nokia=20Pure=20Text=20Light';=20font-weight:400;=20font-style:normal;
> ">=0A<p=20style=3D"=20margin-top:0px;=20margin-bottom:0px;=20margin-left:
> 0px;=20margin-right:0px;=20-qt-block-indent:0;=20text-indent:0px;
> "><span=20style=3D"=20font-weight:600;
> ">Test</span></p>=0A<p=20style=3D"-qt-paragraph-type:empty;=20margin-top:
> 0px;=20margin-bottom:0px;=20margin-left:0px;=20margin-right:0px;
> =20-qt-block-indent:0;=20text-indent:0px;"><br=20/></p></body></html>
> DTSTAMP:20120906T203513Z
> UID:0dc08cea-66c9-427e-83fb-6444370ac0e4
> LAST-MODIFIED:20120906T203513Z
> DESCRIPTION:Test\n
> STATUS:CONFIRMED
> DTSTART;TZID=Europe/Oslo:20120906T223512
> END:VJOURNAL
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution