Hi All,
I was wondering if anyone had some insights about where one might store extra metadata in notes- that is, data that would tell your own (third party) app how to present notes, that aren't used by Evernote itself.
For example, notes in Evernote already can store things like "create date" "location" "tag" etc. but say you created an app where you'd also want to store e.g. the "priority" of a note, or data about where it sits in a hierarchy that applies to your own app, but not to Evernote's own system.
You'd want this data to be stored in EN for sync purposes, but you wouldn't want it to be edited by the user by accident from within EN (as it could disrupt the note's functionality within your app), and you wouldn't want to co-opt any field that EN actually *does* use... is there a best practice for things like this?
Where to stash extra metadata in EN notes
Started by ascendant, Jun 08 2011 06:51 AM
4 replies to this topic
#1
Posted 08 June 2011 - 06:51 AM
#2
Posted 04 January 2012 - 06:55 PM
Check out the new Note.attributes.applicationData field: http://discussion.ev...31-api-updated/
#3
Posted 04 January 2012 - 08:23 PM
Question: If you added custom attributes to an "Evernote blessed" HTML5 tag what would happen? My assumption is the DTD checking would throw it out. But is that right? If not that might prove useful to the OP. Of course I don't expect clients to be able to do anything with it (and fear some might strip them out).
Martin
Martin
#4
Posted 05 January 2012 - 06:48 AM
Martin,
just try it and add your custom attribute to - say - the div tag. You will see that the Evernote service will reject your ENML (the "Evernote blessed HTML"), You don't need to write code, just try it using http://enml-editor.ping13.net/. You will get an error message.
Cheers
Stephan
just try it and add your custom attribute to - say - the div tag. You will see that the Evernote service will reject your ENML (the "Evernote blessed HTML"), You don't need to write code, just try it using http://enml-editor.ping13.net/. You will get an error message.
Cheers
Stephan
--
Reveal your hidden notes with NotePlaces
Edit your notes as ENML with http://enml-editor.ping13.net
Sync your Simplenote notes with Evernote at http://simpleforever.net
Reveal your hidden notes with NotePlaces
Edit your notes as ENML with http://enml-editor.ping13.net
Sync your Simplenote notes with Evernote at http://simpleforever.net
#5
Posted 05 January 2012 - 08:31 AM
@schalker Thanks Stephan! That's just what I surmised.
Martin
Martin
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












