Yuwen Yan
Yuwen Yan

Reputation: 4935

How to display the content of note with evernote api

I'm now developing an app on iOS with evernote api. Through getNoteContent function, I can get the content of a note, but how to display it? it's in ENML format.

Should I extract the information from ENML, and display it with UITextView? what's more, after user changed the content, Should I fill the changed content into ENML, and then send to Evernote server?

Or directly, display it with UIWebView? but how to edit the content?

Upvotes: 2

Views: 1659

Answers (1)

Seth
Seth

Reputation: 901

Displaying content is easier, although not trivial. You can convert ENML -> HTML pretty easily and display the converted note in a UIWebView.

Allowing a user to edit a note while maintaining formatting is much harder. Many of our apps have a full-time engineer who maintains the note editor, which is typically a web view in content-editable / design mode. I don't recommend trying to make a WYSIWYG Evernote note editor.

Upvotes: 2

Related Questions