Fernando Freitas Alves
Fernando Freitas Alves

Reputation: 3777

How to identify a section in an Evernote's note to update it later

I am making an App that automatically creates Notes into Evernote based on a Government API and I need to update these notes if this Government API change something.

But the thing is, Evernote uses a superset of XHTML called ENML and it doesn't allows me to use "id" or "data" attributes in any tag.

My question is how can I identify one tag or section in a Note that I've created to change/update it later.

Upvotes: 0

Views: 82

Answers (1)

Ciprian Rarau
Ciprian Rarau

Reputation: 3120

We had the same issue, so we wrapped the inner HTML with a traceable span like this:

<span style="x-your-business-name:section;">Here put the inner HTML content</span>

At this point it's just XHTML traversing and updating. The span doesn't influence in any way the display of the Evernote note.

Upvotes: 3

Related Questions