Export Pattern for Evernote(R)

Evernote(R) is a popular note management framework.  The following pattern will create an ENEX file (Evernote Export Format) that can be imported into the desktop software.  This pattern was originally designed for v0.1 of the software and should be supported by later versions.Header

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export.dtd">
<en-export export-date="20121211T220218Z" application="Evernote/Windows" version="4.x">

Body

<note>
<title>?P<Type> from Location ?P<Location> of ?P<Book></title>
<content>
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">
<en-note style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div title="EverKlipperV0.1">
   <div>Source: ?P<SpanXmlSafeBook></div>
   <div>Author(s): ?P<SpanXmlSafeAuthor></div>
   <div>Page(s): ?P<SpanXmlSafePage></div>
   <div>Location: ?P<SpanXmlSafeLocation></div>
   <div><br/></div>
   <div>?P<SpanXmlSafeText></div>
</div>
</en-note>
]]>
</content>
<created>?P<Date></created>
<updated>?P<Date></updated>
   <tag>KindleClipping</tag>
   <tag>ConvertedByKlippings</tag>
   ?P<EvernoteTagBook>
   ?P<EvernoteTagAuthor>
<note-attributes>
   <author>?P<Author></author>
</note-attributes>
</note>

Attached Notes

<div>?P<SpanXmlSafeNote></div>
<div><br/></div>
<div>REGARDING HIGHLIGHT</div>
<div>=========</div>
<div>?P<SpanXmlSafeHighlight></div>
<div>=========</div>
<div>END HIGHLIGHT</div>

Bottom

</en-export>

Date Format

yyyyMMddThhmmssZ

Extensions

enex

Encoding:

UTF-8 (all languages)

Comments are closed.