Closed netguerrilla12 closed 2 years ago
Here are the screen shots and the ENEX file. I had to zip the ENEX file because GitHub wouldn't let me upload it. Fwd Your 4 HIgh Value Trainings Access.zip .
This is the part of your enex file I think you are talking about:
<p>
Rick
</p>
<p>
Your "4 High Value Trainings" Access:
</p>
No hyperlink present...
Ah sorry... It's the text below...
<p>
<a shape="rect" href="https://seanmize.infusionsoft.com/app/linkClick/24286/45b5a4e4c9f46ab6/13909690/64482e72b8e684a3" target="_blank">4 High Value Trainings Access</a>
</p>
Harder than expected to make that possible, because of the weird xml Evernote is using. If I allow those links not to be squashed down to text other imports have regressions... 😬
I opened another ENEX file to take a closer look at the XML. I see what you mean about the weird XML. (I attached a screen shot.) It would be unfortunate if you can't find a way to fix this. I still have 2K+ notes in Evernote to import into QON. That would mean I'd have to add all of those links manually. Obviously, that will be quite time consuming. I'm attempting to get everything moved from Joplin and Evernote into QON because I like it better than both.
I was going to write this long post about why I was importing from both EN and Joplin. I decided to skip all of that. I'm hoping you can find a way to fix this but if you can't, I've found a work around that I think will work. I just exported the EN note that I used in the example. Then I imported it into Joplin. That worked fine and the link appears as it should in Joplin.
Then I exported that Joplin note and imported it into QON. That worked fine. The link appears as a hyperlink and works like it should. So, although having to perform the additional steps to import first into Joplin, then export from Joplin, then import into QON, isn't an ideal scenario I think I can make it work. It will be better than having to add all of those links manually.
It's not about your enex with the link. It's about the other import it breaks if I make importing that links possible, because of the exec files that are double html encoded. When I double decode them your links are gone, if I don't double decode them e.g. Russian enex files break. I first need to write a lot of tests to make sure I don't break old imports... That takes time.
Interesting. I had no idea international translations were so involved. Like I said, I've found a work around which seems to work fairly well. I've imported several hundred notes today using that method so take your time and do what you have to do. Or don't worry about it all. I'll leave it up you.
And the Evernote importer is very hard to test because of the strong ties to notes that are actually stored. I'd need to rewrite many parts.
Took a while...
There now is a new release, could you please test it and report if it works for you?
This is now fixed. Thanks.
Great, thank you for testing!
Expected behaviour
Import from Evernote should import links as clickable links.
Actual behaviour
Import from Evernote isn't importing links.
Steps to reproduce
Relevant log output in the Log panel
Expand
``` [15:46:28] [debug] handleNoteTextFileName - 'name' was changed: "Fwd Your 4 HIgh Value Trainings Access" [15:46:28] [debug] storing note file: "Fwd Your 4 HIgh Value Trainings Access.md" [15:46:33] [debug] buildNotesIndex - 'noteSubFolderId': 0 [15:46:38] [debug] setupNoteFolderTables - 'database version': 14 [15:46:40] [debug] cloudConnection: CloudConnection:Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Fri Sep 24 16:08:54 2021` **Version**: `21.9.11` **Build date**: `Sep 24 2021` **Build number**: `888` **Platform**: `windows` **Operating System**: `Windows 10 Version 2009` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub Actions` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no` **Settings path / key**: `\HKEY_CURRENT_USER\Software\PBE\QOwnNotes` **Application database path**: `C:\Users\SV1\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite` **Application arguments**: `C:\QOwnNotes\QOwnNotes.exe` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1360x768` **Icon theme**: `breeze-qownnotes` **Notes in current note folder**: `3831` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: *empty* **appIsValid**: `no` **notesPathExists**: *empty* **connectionErrorMessage**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `C:\Users\SV1\AppData\Roaming\PBE\QOwnNotes\dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `C:\Users\SV1\Sync\QOwnNotes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **activeNoteSubFolder name**: *empty* **database file**: `C:\Users\SV1\Sync\QOwnNotes\notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: *empty* **username**: *empty* ## Enabled scripts ## Settings **AboutDialog/geometry** (QByteArray): `