Tool: Import Chrome (Netscape) bookmarks to Evernote
#1
Posted 10 July 2012 - 03:27 PM
It will parse the bookmark export, create notes with folders as tags. The output xml can be saved as an .enex file and imported to Evernote.
I'm posting it here in case anyone else will find it useful.
I've used simple javascript+jquery parsing functions. It is not tested much.
I was inspired by @gufertum's solution (http://discussion.ev...er-to-evernote/), which however was done in perl, and it did not handle folders and dates
update 2012/12/12: fixed version here
http://jsfiddle.net/iwqnna/LQ2nQ/
#2
Posted 10 July 2012 - 03:33 PM
Hi, I wanted to organize my bookmarks with tags, and was not happy with the Chrome bookmark manager, so I decided to create a small tool to help importing bookmarks from Chrome (Netscape Bookmark format).
It will parse the bookmark export, create notes with folders as tags. The output xml can be saved as an .enex file and imported to Evernote.
I'm posting it here in case anyone else will find it useful.
I've used simple javascript+jquery parsing functions. It is not tested much.
http://jsfiddle.net/kT4nj/
Hi. Welcome to the forum and thanks for posting that. I'll give it a try. Would you mind sharing a note, or a screenshot of it, so that we can see the final product?
Evernote Manual (Mac) http://evernote.com/...note/guide/mac/
Evernote Manual (Windows) http://evernote.com/.../guide/windows/
Evernote Manual (iOS) http://evernote.com/...note/guide/ios/
My Site http://www.princeton...mayo/index.html
#3
Posted 10 July 2012 - 03:40 PM
:-)
#4
Posted 10 July 2012 - 03:50 PM
Hi, it's just a simple html page with javascript. I uploaded it to jsfiddle to make sharing easy. Just click the link, click "run" on the and you'll see two input boxes - that's all that is to it
:-)
Thanks. I'm out of the house on my Mac today, and I was thinking it might be good for others who wander into this thread to see what it will look like before they do it. I'll give it a try when I am back home in the evening.
Evernote Manual (Mac) http://evernote.com/...note/guide/mac/
Evernote Manual (Windows) http://evernote.com/.../guide/windows/
Evernote Manual (iOS) http://evernote.com/...note/guide/ios/
My Site http://www.princeton...mayo/index.html
#5
Posted 10 July 2012 - 09:19 PM
Check out our Knowledgebase.
View our User Manuals here: Mac or Windows
Check out the Getting Started Guide
Still need help? Submit a support request here.
#6
Posted 10 July 2012 - 10:21 PM
The date/time should not be formatted with separators, it looks like all times are set to now on import.
I've noticed that Firefox's export format is slightly different, with a <DD> with site description and also modified date/time. It should be possible to include this info with a few minor tweaks to the javascript.
Please also look at hiw I've implemented folder-tag conversion. All notes are set with all parent folders as tags, and all tags are concatenated folder names with 'root' at the bottom. I did it this way to be sure that I did not lose any information, and preserve a kind of namespace for the imported bookmarks vs existing tags/notes.
#7
Posted 19 September 2012 - 10:45 PM
e.g. <DT><A HREF="url here" ADD_DATE="date here">Bookmark name here</A><DD>More detailed note about bookmark here
#8
Posted 21 September 2012 - 05:49 AM
21:13:41 [576] 86% Skipping note "note name here" flagged as unsyncable (0x4) local flags (ENML_VALIDATION)
Any chance you could help with this and the above question about adapting this for Google Bookmark's use of the <DD> tag? This is the closest I've come to a satisfactory import solution when running Windows, and I'd really appreciate some help clearing the last hurdle. Many thanks.
#9
Posted 24 October 2012 - 02:57 PM
cheers,
#10
Posted 25 October 2012 - 05:04 PM
Thanks so much for creating this conversion tool, it is exactly what I am looking for!
Unfortunately when trying to use the tool I am getting an endless amount of pop up dialog boxes with either chunks of HTML, 'h3' or 'null' warnings. I have tried clicking OK on all but there seems to be thousands, so instead I click 'prevent this page from creating additional dialogs'. The resulting code is what seems to be just an XML header, and the tool says 'parsed: 0 bookmarks in 7034 subfolders'. And no option to save.
I have attached a screen grab of the results.
Screen Shot 2012-10-25 at 18.03.01.png 64.81K
13 downloadsThe HTML I am pasting in seems to be the right format as it begins with <!DOCTYPE NETSCAPE-Bookmark-file-1>.
I have tried different browsers but get the same end result.
Any suggestions would be very helpful. Thanks again for the tool and you help with my issue.
Chris
#11
Posted 25 October 2012 - 05:24 PM
I can't think why this would make a difference though?
#12
Posted 25 October 2012 - 06:28 PM
I've Just thought, could it be that I am doing this on a Mac rather than Windows machine?
I can't think why this would make a difference though?
I can see that there are some debug alerts() left in the code - I removed them (see link @ first posting)
Sorry! This jsfiddele thing did not turn out quite as I expected...
I haven't tested this on a mac, but I think that the Netscape format is fairly cross platform. In any case, it should be easy to change the code to catch variations in the export format. (I think the latest version works with bookmarks exported from Firefox)
q
#13
Posted 25 October 2012 - 07:23 PM
The dialog boxes have disappeared but the file still doesn't pass anything other than an XML header.
Strangely, when I try your original jsfiddle I get an output as desired but it only imports a few notes before crashing (i'm guess this is due to some of the issues raised as per the above comments).
Thanks again for the help with this, at this stage I am willing to do anything to try and get this to work
If you can get this to work I would so much appreciate it. If it helped I could personal message you the HTML I am working with?
Chris
#14
Posted 28 October 2012 - 02:20 PM
Just to confirm that I am having the same issues as Chris (and I'm on Windows) - the ZnmKF and ZnmKF/1/ versions of the jsfiddle only return an XML header (with and without dialog boxes, respectively); whereas the original version seems very close to working as expected, bar the two issues mentioned above. Any further advice would be much appreciated. Thanks.
#15
Posted 12 December 2012 - 10:02 AM
q
#16
Posted 25 December 2012 - 02:26 AM
#17
Posted 06 April 2013 - 06:41 AM
I just tried it and got a missing note error, this is the start of the enex file ... any clues?
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE en-export SYSTEM "http://xml.evernote....note-export.dtd"><en-export export-date="20130406T055438Z" application="Evernote/Windows" version="4.x" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myCustDate="urn:custDate"><note><title>DBS iBanking</title><content><![CDATA[ <en-note>DBS iBanking<br /><a href="https://internet-ban...m.sg/IB/Welcome">https://internet-ban...m.sg/IB/Welcome</a></en-note>]]></content><created>undefined</created><tag>TO FILE</tag><tag>TO FILE::Bookmarks bar</tag><tag>TO FILE::Bookmarks bar::Daily</tag><tag>TO FILE::Bookmarks bar::Daily::Account login</tag><note-attributes><source-url>https://internet-ban...m.sg/IB/Welcome</source-url></note-attributes></note>
#18
Posted 06 April 2013 - 06:51 AM
OK I exported a note from Evernote Windows and opened the enex file, copied the first chunk (that wasn't an actual note) and pasted that into my enex file of exported Chrome bookmarks.
I still get missing note title error. However, when I delete most of the notes and just try with the first note - success! There must be a missing note title somewhere further down - does ANYONE have an idea as to how to find it and fix it? Thank you in advance.
As an aside, Evernote, if it wants more users, should make it dead simple to import bookmarks as notes. I have such a huge chunk of my life (and brain) in my bookmarks that if I cannot find a solution to this, I can't see myself making the switch.
#19
Posted 06 April 2013 - 07:24 AM
Sorry to keep spamming this thread - I've been experimenting with chunks of the output text, and have managed to import some. I'm beginning to think the problem is a few rogue bookmarks with either really long names or funny symbols. Can anyone shed light on what symbols would cause an error so I can do a find/replace and fix the problem without having to go through the entire file with a fine toothed comb? (I am not a programmer! This is all really painful for me)
Also tagged with one or more of these keywords: windows, bookmarks, import, chrome, evernote
Mac
Evernote Products →
Evernote →
Feature Request: Allow different sorting types by NotebookStarted by Emilie, Yesterday, 11:51 PM |
|
|
||
Windows Phone
Evernote Products →
Evernote →
[REQ] Sorting notes by tag nameStarted by asas61, Yesterday, 06:40 PM |
|
|
||
Windows
Evernote Products →
Evernote →
Offline notebook uploaded and syncedStarted by reckoning, Yesterday, 06:20 PM |
|
|
||
Windows
Evernote Products →
Evernote →
Help with screen clips -- can I control where the clip goes?Started by janet4, Yesterday, 06:05 PM |
|
|
||
Firefox
Evernote Products →
Evernote Web Clipper →
No Internet ConnectionStarted by katerone, Yesterday, 04:55 PM |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












