[tomboy-list] Evernote Addin
Doug Johnston
doug.johnston at gmail.com
Thu Jan 14 23:36:42 PST 2010
Hi all,
I made a two-way sync addin that interfaces with Evernote[1] . It
works fairly well right now, although the markup conversion is rather
lossy, so all sense of lists, fonts, or any tags are getting lost.
This will be remedied, but I want to try to do it right.
If you want to take a look, the project is up at
http://github.com/dvj/EvernoteSyncAddin
Take a look at the README in there for details.
If you just want to try it, first backup your notes (there are still
sync issues), and grab the binary from
http://github.com/dvj/EvernoteSyncAddin/downloads
I have a few questions about finishing it off.
1. Evernote uses SSL to set up the connection, and transmit passwords.
This works fine under .Net, but Mono by default doesn't accept any
security certificates. (See
http://www.mono-project.com/FAQ:_Security). If you are connecting to a
known trusted source, you can create an instance of an
ICertificatePolicy to allow access. In the WbSyncService, there's a
blank certificate, which I used. Is this really the best way to handle
this?
2. In the WebSyncService again, there is the NoteConvert class, which
does some basic xml wrapping. Is there a complete description of
html<->tomboy conversion? Evernote uses a modified xhtml
representation, and I have some very ugly conversion code right now.
How do I best preserve all the formatting in the note?
3. I dont really understand how the sync lock is supposed to work.
Should I even bother with this? I assume the evernote servers do
something intelligent if they are getting multiple requests on the
same note at once.
Thanks for the help, and any feedback would be appreciated.
--Doug
[1] http://www.evernote.com/
More information about the Tomboy-list
mailing list