-
-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evernote import additional metadata #998
Comments
I forgot this in the original posts: Thanks for this great software which I enjoy a lot. I only ask because I like it so much. |
Thank you for your kind words. Can you please provide an enex file with entries containing such meta data. |
I found a suitable example at https://gist.github.com/evernotegists/6116886. |
18.08.6
|
There now is a new release, could you please test it and report if it works for you? If you like it you are invited to translate the new texts for it at https://crowdin.com/translate/qownnotes/1/en-de ;) |
Herzlichen Dank für die schnelle Hilfe. Ihr Einsatz übertrifft alle Erwartungen und Ihre Umsetzung ist wesentlich komfortabler als meine erste Idee. I did a quick test and everything seems to work. That's a great help for me. The import starts before you click on the OK button. That's great because it's fast. But I see these drawbacks:
I think I would prefer if the import only started after clicking "Ok" in the "Evernote Import" dialog even if it takes longer. This one is really unimportant: There is only one button "Ok" at the bottom of the import dialog. When I tried out I finally reversed my workflow: Select attributes first, then select the file. But I'm forgetful. After setting the attributes I clicked on "ok" and (as no file is chosen) nothing happens. It took me a while to figure out that I simply forgot to chose a file. P.S.:
|
The Thank you for the translation. No need to bother with text size too much, German text is generally larger ;)
|
18.08.7
|
By the way there are also Debian 9.0 builds for QOwnNotes, in case you don't want to build it yourself every time... |
There now is a new release, could you please test it and report if it works for you? |
thanks for this rapid and great improvement. It works perfectly for me. I noticed that maybe one additional thing could be added to perfect the importer: reminders. Maybe some other people might profit from this because reminders are much more approachable in a markdown table than in the xml-enex-file. I had another look at the enex-definition file. In line 92 there are additional note attributes that are not yet in your importer. reminder-order? I didn't manage to produce an enex file that contains place-name and content-class. About the remindes: If you want to spend more time on the Evernote importer would you need an additional enex file or would this suffice?
when I haven't set done (reminder-done-time) the reminder might still be running. Then in note attributes it looks like this:
In the joplin forum I found a link to a 300note/100mb enex file. Maybe this is useful in the future? and even more smaller enex files are at https://github.com/exomut/evernote-dump/tree/master/source/evernote_dump/test |
this is somewhat related to medata: in case you get a feature request about converting/adjusting internal links (links to different notes) during the import: That cant' work: These links don't contain the title but a userid and noteguid. This is not included in the enex file. So there is no way to import these from an enex file. |
Thank you for your feedback. I didn't find anything about reminders in http://xml.evernote.com/pub/evernote-export.dtd. |
Here is an enex file that contains reminders that I just exported from the latest Evernote for Windows Desktop app. Apparently there are multiple revisions of the file format. In the thread opening I posted a link to the first version which is dated (sorry about that). In the enex files there is a link to a second revision The latest definition I find is the third revision (from 2013) which is available at http://xml.evernote.com/pub/evernote-export3.dtd. This one contains all the additional words/note-attributes like reminder I was referring to. P.S.: While writing this post I discovered even more evernote to markdown converters on github. But they all lack your metadata import. I'm even more convinced that this is a standout feature of QON for regular users. |
18.08.8
|
There now is a new release, could you please test it and report if it works for you? |
The evernote features you added today seem to work as expected. Thank you very much once more!! I noticed a different bug (though bug might be too strong a word): After the import I have to manually update the note list panel (like one search or just press Enter). The fact that after an import the note list panel is not changed might confuse some people. This behavior wasn't introduced with this release but I think has been there a long time. |
Thank you for your attentiveness. I'll take a look. |
Hm, I don't have that issue. Notes show up fine after I close the dialog... |
I even currently reload the note folder after importing...
|
On which platform were you testing? Maybe you want to try out the new issue assistant to post an issue. ;) 18.08.9
|
Hard to tell if that's a problem with the flatpack confinement... Can you test with a non-confined version of QOwnNotes? |
here's a clip from an unconfined, self-built version (git clone/pull & qmake & make). I have the same behavior on Windows (though no clip for this). |
Could you please post a new issue, I will need a little more information to debug this |
This is just a correction: Last week I posted my findings that enex doesn't contain noteguids which ḿeans that it shouldn't be possible to import internal links. There might be a workaround with the third party client nixnote2 for linux. I trust it because it's bundled with many popular linux distros. nixnote2 has its own export format named nnex which is very similar to evernotes enex but also includes useful entries like This might be also interesting for people who have their notes spread among many different notebooks and want to keep this order. When you export all notes from evernote their respective notebooks aren't saved. The only alternative is to export (and import) each notebook individually which might take a lot of time. In case that's ever of interest to someone: Here's the structure of a nnex file. I just removed some personal information.
|
Expected behaviour
I have used the evernote webclipper to save some articles. This saves the article (in the normal content windows) and the url in an extra field
source-url
. In an enex file the url is in<source-url> ... </source-url>
which is in a tag<note-attributes>... <note-attributes>
at the bottom of a note. Ideally the url would be somewhere in the file.This feature would be very useful because it would allow to fully ditch evernote. Also: I have tested several enex to text file converters and I think yours is probably the best ("Stärken stärken...")
Maybe there could be an option "write these metadata to head of each imported file: {QLineEdit}". If it's empty nothing happens, if the user fills in words that are in the enex file definition, they get written at the top of each file (one per line). So if I wrote:
created, updated, source-url
there could be something like this on top of each file:This should also prevent any future feature requests concerning the import.
Thanks for your patience with this brazen feature request. I can understand if you close/remove it immediately without comment. Unfortunately I can't help because I'm still working through my very first book about programing.
Actual behaviour
The url is discarded.
version,os
Debian 9 "Stretch". Today I installed QOwnNotes via git clone & git submodule update --init & qmake & make (commit fb0dbde). All dependencies are from the debian stretch repo.
The text was updated successfully, but these errors were encountered: