Thread: Evernote
View Single Post
Posts: 654 | Thanked: 664 times | Joined on Feb 2009 @ Germany
#20
Originally Posted by naabi View Post
API documentation says it has limited support for XHTML:

[I]Before submitting HTML content over the EDAM API the client application is expected to follow the following steps:

1.Convert the document into valid XML
2.Discard all tags that are not accepted by the ENML DTD
3.Convert tags to the proper ENML equivalent (e.g. BODY becomes EN-NOTE)
4.Validate against the ENML DTD
5.Validate href and src values to be valid URLs and protocols
[...]
This is very good information. Thanks a lot naabi. Basically this means we need to write a Tomboy-XML to ENML converter*. I'm planning to add support for converters to Conboy at some point, then hopefully we can integrate that nicely. It will take some time, though...

* or Tomboy-XML -> XHTML -> ENML