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

Cannot see URL and other meta data of evernote imported notes #427

Open
grotesque opened this Issue Apr 16, 2018 · 15 comments

Comments

Projects
None yet
4 participants
@grotesque

grotesque commented Apr 16, 2018

Operating system

  • Windows

Application

  • Desktop

Evernote's export contains some meta data about notes. Eg. the URL that the note was clipped from.
It should be possible for those who're migrating to this awesome project to search their notes with URL.

untitled

@laurent22

This comment has been minimized.

Owner

laurent22 commented Apr 16, 2018

Yes the source URL is imported but indeed not visible at the moment.

@jgreth

This comment has been minimized.

jgreth commented May 29, 2018

+1
Is it save, the URL exported from Evernote is saved in the Joplin data und just not showed?
Today i'm starting to migrate 6k+ notes form Evernote to Joplin and it would be a huge Problem if the URLs are gone...

@foxmask

This comment has been minimized.

Collaborator

foxmask commented May 29, 2018

if you want to be sure, export one evernote note from the desktop application, import it with joplin and then have a look at the database.

sqlite3 ~/.config/joplin-desktop/database.sqlite
select * from notes; 

(I dont know if it "source" or "source_url" that store this info)

@jgreth

This comment has been minimized.

jgreth commented May 29, 2018

It's the col "source_url" - and it's empty. I think it's just not implemented / saved to db. I'm not that deep in React (more the "old-PHP-guy" :) ) but i think if we want to have imported, it should be done in import-enex.js#L355 and following.

Can you or @laurent22 approve that?

(I checked in Win10 and Ubuntu 18.04 with the clients linked from the homepage. )

@laurent22

This comment has been minimized.

Owner

laurent22 commented May 31, 2018

I was certain the URL was imported to source_url but apparently not. Do you have by any chance an example of ENEX note that has a URL so that I know what to map source_url to?

@foxmask

This comment has been minimized.

Collaborator

foxmask commented May 31, 2018

evernote api says sourceURL or blog post says source-url. The evernote sdk I used speaks about sourceURL too

@jgreth

This comment has been minimized.

jgreth commented Jun 2, 2018

@laurent22 That's no problem. I'll upload an enex file, on monday.

@jgreth

This comment has been minimized.

jgreth commented Jun 4, 2018

Ok @laurent22 here we go. The Evernote Client (Win10) i export from is Version 6.10.3.6921 (306921) Public (CE Build ce-1.39.4387).
The code inside the file can be found at: https://gist.github.com/jgreth/bead69c0875ac3f4620987f3c874dc47 or the file itself attached here.
Testfile.zip
(Had to zip it, cause github won't let me upload enex files)

As far as i can see, the XML Node is "source-url"

<en-export export-date="20180529T132629Z" application="Evernote/Windows" version="6.x">
	<note>
		<title>The Button</title>
		<content>...</content>
		<created>20180529T102212Z</created>
		<note-attributes>
			<source>web.clip7</source>
			<source-url>http://rasterweb.net/raster/2011/05/09/the-button/</source-url>
			<source-application>WebClipper 7</source-application>
		</note-attributes>
		[...]

unbenannt

@jgreth

This comment has been minimized.

jgreth commented Jun 4, 2018

Info / Update: my Evernote client just updated to version 6.11.2.7027 (307027) Public (CE Build ce-43.0.4829).
I exported the same Note and Diffed it with my previous posted one - format didn't change.

@jgreth

This comment has been minimized.

jgreth commented Jun 28, 2018

@laurent22 Was that the info you wanted? Or went something wrong?

@laurent22 laurent22 closed this in 0c708f7 Jun 28, 2018

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jun 28, 2018

@jgreth, thanks for the providing the Enex sample - the source-url parameter will be supported in the next release.

@laurent22 laurent22 reopened this Jun 28, 2018

@jgreth

This comment has been minimized.

jgreth commented Jun 29, 2018

Nice! Tank you so much. Then i can finally switch away from Evernote. ;)

@jgreth

This comment has been minimized.

jgreth commented Sep 27, 2018

@laurent22 looked in v1.0.107 didn't see. Am i blind or will it come in v1.0.108? ;)

@laurent22

This comment has been minimized.

Owner

laurent22 commented Sep 27, 2018

What is it you didn't see in v107? The source-url parameter is still not being imported?

@jgreth

This comment has been minimized.

jgreth commented Sep 28, 2018

Yes ist was the source-url parameter. But I think it was a buggy enex. Tried now again, with a newer enex file and now it works - so everything ok. Sorry for the trouble! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment