Hi everybody!!
Have any way to get notes content with no ENML?
I just know getNoteSearchText(), but its method will return content and title.
I just need content, I don't need title.
I want the content with no image's hash and no audio's hash.
getNote() and getNoteCentent() will return content with enml and image's hash and no audio's hash.
Be clear to say, getNote() will return note's content with enml, but if I have <en-note> and <en-media> in the enml, I just need <en-note> and I don't need <en-media>.
Have any thought to solve this problem?
Can I get the note's content without ENML(XHTML)?
Started by Lil Dre, Aug 16 2012 10:24 AM
4 replies to this topic
#1
Posted 16 August 2012 - 10:24 AM
#2
Posted 17 August 2012 - 02:01 AM
nobody knows?
#3
Posted 17 August 2012 - 05:57 AM
ENML tags are important components of the content, especially if you plan to allow users to create or update notes from your application. Notes without <en-note> bodies will fail validation and should not be sent to or expected from the server. If you want to display note content in your application without the ENML tags, you'll have to strip them out yourself. For an example, take a look at the feeds_evernote_sanitize_body() function in this Drupal project: http://drupalcode.or...evernote.module
It does not appear to cover all possible ENML tags (e.g., <en-todo>), but it should give you an idea how to proceed.
It does not appear to cover all possible ENML tags (e.g., <en-todo>), but it should give you an idea how to proceed.
#4
Posted 17 August 2012 - 07:35 AM
thx friend, what does <en-todo> stand for? I don't know.
#5
Posted 17 August 2012 - 12:54 PM
thx friend, what does <en-todo> stand for? I don't know.
Check here:
http://dev.evernote..../ENML.php#added
en-todo is listed there.
In short, it is a checkbox included in a note.
Evernote | Support | Status | KnowledgeBase | Developer API
My Evernote Help Shared Notebook: http://www.evernote....t/evernote-help
My Evernote Help Shared Notebook: http://www.evernote....t/evernote-help
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













