Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.


Where to stash extra metadata in EN notes

  • Please log in to reply
4 replies to this topic

#1 ascendant


  • Pip
  • Title: Member
  • Group: Members
  • 3 posts

Posted 08 June 2011 - 06:51 AM

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?

#2 SethH


  • Title: Evernote Employee
  • Group: Evernote Employee
  • 684 posts

Posted 04 January 2012 - 06:55 PM

Check out the new Note.attributes.applicationData field: http://discussion.ev...31-api-updated/

#3 Martin Packer

Martin Packer

  • PipPipPipPipPip
  • Title: Browncoat
  • Group: Members
  • 562 posts

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).


#4 ping13


  • PipPipPip
  • Title: Bushwhacker
  • Group: Members
  • 108 posts

Posted 05 January 2012 - 06:48 AM


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.

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 Martin Packer

Martin Packer

  • PipPipPipPipPip
  • Title: Browncoat
  • Group: Members
  • 562 posts

Posted 05 January 2012 - 08:31 AM

@schalker Thanks Stephan! That's just what I surmised.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Clip to Evernote