Jump to content
Robert_S

Import notes created by GNotes

Recommended Posts

I have been using GNotes (gnotes.me)  for several years and wish to change to Evernote (there's no Win10 app for GNotes and their tech support email seems to be down).  It is possible to export all my gnotes notes into the same folder structure, but if I import the folder, evernote only imports the .html file - not the entire tree.  GNotes does use a similar notebook/note structure to evernote.

Share this post


Link to post

Hi.  Evernote doesn't really do folders - see the links below for more on that.  According to a quick search it's possible to output your notes to Gmail,  and Evernote (the paid for version) can import emails,  or if you view your Gmail on the website,  there's a browser clipper that will save the page for you.  Unless someone here is or was a GNote user we won;t be able to offer anything more specific - this is a mainly user-supported forum.  If you can export your notes to a readable file format,  you could use an Import Folder (or a Mac scripting equivalent) to add notes in bulk.

Organize with notebooks

How to organize notebooks into stacks

Share this post


Link to post

Hi.

I managed to do this by exporting all of my GNotes notes, writing a program that strips HTML tags then importing the notes using the Import Folders feature.  Had to re-create all of the notebooks (Evernote didn't create notebooks out of directories in the Import Folder).  Rather laborious but I've done it now! The only niggle is that Evernote uses the first line of the note as the title, and does not remove the first line of the note.  A minor irritation.  I couldn't find a way around this.

If anyone is interested, here is the code (in bash):

#!/bin/bash

# Must be run in the folder containing the desired gnotes backup

BASE=/tmp/gnotes
rm -Rf $BASE
IFS=$'\n'
for N in `find ./ -maxdepth 1 -mindepth 1 -type d `
  do
  FOLDER=$N
  mkdir -p $BASE/$FOLDER
  for SUB in `find $N/ -mindepth 1 -type d`
    do
    TITLE=`sed 's/.*<p class="note_content">//;s/&amp;/a/g;s/&ensp;/ /g;s/&quot;/"/g;s/<br>/\n/g;s:</p>.*$::' $SUB/content.html | head -n1|sed 's#/#_#'`
    sed 's/.*<p class="note_content">//;s/&ensp;/ /g;s/&amp;/\&/g;s/&gt;/\>/g;s/&lt;/\</g;s/&quot;/"/g;s/<br>/\n/g;s:</p>.*$::' $SUB/content.html > $BASE/$FOLDER/$TITLE.txt
    done
  done

 

Edited by Robert_S
Convert html code to special characters: &, <, >
  • Like 2

Share this post


Link to post

Hi there, 

I've been struggling with the same problem, and I haven't gotten that solution to work - could you give me more detail about how you manage to export everything? I even tried duplicating the site with software, but I can't seem to get my actual notes off the website at all. 

Thank you!!

Share this post


Link to post

Hi.

From memory I did a backup of my notes - it must have been on the app, because I there isn't an option on the web page (I don't have the gnotes app installed any more).  I would have extracted the contents of the backup into /tmp/gnotes (Linux) and run the script.  I then would have imported the note files using the Import Folders feature.  I may have done a fair bit of fiddling around with notes manually.

I did all of this 2 1/2 years ago so my memory of how I did this isn't good, but I did manage to install lecture notes from several years back into Evernote.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...