Jump to content
  • 0

(Archived) Journler to Evernote -- some progress; need a little help


dalefrancum

Idea

Hey all,

There seems to be a lot of interest out there in migrating from Journler to Evernote. I wrote myself a little Perl script to take Journler XHTML files and build Evernote .enex files.

Right now, I can import all of my Journler notes (1000+) into the Evernote Mac client, but the data isn't syncing. When I try to sync, I get the error "The content is not valid." Here's the .enex file for my test note:

<?xml version="1.0" encoding="UTF-8"?>



OS X screenshots
20080829T131200Z
imported
<?xml version="1.0" encoding="UTF-8"?><br /><!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml.dtd"><br /><en-note><br /> <style type="text/css"><br /> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #000000}<br /> p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #808080}<br /> p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #808080; min-height: 13.0px}<br /> p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}<br /> p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}<br /> span.s1 {color: #808080}<br /> span.s2 {color: #000000}<br /> </style><br /><p class="p3"><br /></p><br /><p class="p4"><br /></p><br /><p class="p5">http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X</p><br /><p class="p4"><br /></p><br /><p class="p4"><br /></p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on the desktop</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Shift-4, then space, then click a window: Take a screenshot of a window and save it as a file on the desktop</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Control-Shift-3: Take a screenshot of the screen, and save it to the clipboard</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Control-Shift-4, then select an area: Take a screenshot of an area and save it to the clipboard</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Command-Control-Shift-4, then space, then click a window: Take a screenshot of a window and save it to the clipboard </p><br /><p class="p4"><br /></p><br /><p class="p5">In Leopard, the following keys can be held down while selecting an area (via Command-Shift-4 or Command-Control-Shift-4):</p><br /><p class="p4"><br /></p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Space, to lock the size of the selected region and instead move it when the mouse moves</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Shift, to resize only one edge of the selected region</p><br /><p class="p5"><span class="Apple-converted-space">    </span>* Option, to resize the selected region with its center as the anchor point </p><br /></en-note><br />
>

Moving forward, if there is anyone out there who wants to improve upon what I have thus far, please let me know. I'd love to share the script. The big thing to do (after fixing the Sync issue) is coming up with an easy way to get attached files from the Journler library into Evernote.

Thanks,

Dale

Link to comment

5 replies to this idea

Recommended Posts

Well, I think it's finally working, at least well enough. I imported about 500 of my notes (the rest aren't going in there I think) and was able to sync them without a problem.

I ended up changing the script to just remove all HTML tags (except , because I use that extensively), because the CSS-related tags were causing problems as well, and when I took those out, it just didn't look that great anymore. An obvious drawback to this is that any notes containing HTML code as part of the note content won't be imported properly. Then again, a workaround would be to (hopefully) enclose the HTML inside of tags or something similar.

The next step will be importing some attached files and emails, so I'll see how that goes. At any rate I feel good enough about things to go ahead and sign up for a Premium account.

Dale

Link to comment

just wanted to point to michael carusos applescript to convert journler entries to evernote notes: »Journler to Evernote Export« http://michaelcaruso.net/journler-to-evernote/

it does preserve creation/modification date, tags, categories and folders (which both become tags) etc

did work great for my 2000+ journler entries, although some things did not work:


  • [*:2yknxhsz]wikilinks between journler entries — they obviously did not get updated but remained journler links
journler://entry/xyz
[*:2yknxhsz]aliases/links to directories: "encountered an error: 20. attachment parameter is a directory"
[*:2yknxhsz]"encountered an error: -1700. evernote got an error: can't make missing value into type file"
[*:2yknxhsz]malformed (well, at least for evernote) links: "encountered an error: -10000. evernote got an error: appleevent handler failed" — journler entries with such links did not get imported et all

  • [*:2yknxhsz]eg
http://www.falter.at/web/wwei/detail.ph ... 26teil%3D1)#
[*:2yknxhsz]eg http://www.amazon.de/s/ref=nb_ss_ce/028 ... .y=0&Go=Go
[*:2yknxhsz]eg http://www.duden-suche.de/suche/treffer ... E4rendreck

cudos to caruso

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...