Maboroshy / Note-Station-to-markdown

The cross-platform script that converts notes from Synology Note Station to markdown files
Apache License 2.0
240 stars 51 forks source link

Links are not retrieved #35

Open gxgoetz opened 3 days ago

gxgoetz commented 3 days ago

Hi and thanks for this very useful script. I managed to execute it however I realised that links embedded in single notes are not copied. By links I do not mean sth in the note itself - ie text you would originally write into the big pane - but the entry in the top right corner next to the keywords. A solution to this would be excellent.

Maboroshy commented 2 days ago

Hi. Could you provide an .nsx file with such notes. I don't have a Synology box anymore.

gxgoetz commented 2 days ago

Thanks for replying. I would have to find out how to make this file. You'll hear from me! I cannot add .nsx-files here...

gxgoetz commented 2 days ago

20241202

gxgoetz commented 2 days ago

So I just renamed the file .gif you would have to change it back to .nsx 20241202

gxgoetz commented 2 days ago

Is this done? I have no idea...

Maboroshy commented 1 day ago

I haven't managed to get it. Could upload the .nsx file to some cloud drive and post the link here.

gxgoetz commented 2 hours ago

https://unicloud.uni-vechta.de/s/xAi5t7HAwTZBkbC

I hope this is working...

Maboroshy commented 1 hour ago

Yes, I've got it.

Maboroshy commented 1 hour ago

I can't find the links I see on your screens in the .nsx files content. Looks like Note Station doesn't export that data. You can see yourself - .nsx is a zip file with notes in json format.

gxgoetz commented 1 hour ago

Thanks for getting back so quickly. It's hard to understand that Note Station creates this massive database and then not everything is in it. I mean where is it then? Anyway I was hoping for a way and there doesn't seem to be one apart from copying every link manually into the main text pane. Well.

Maboroshy commented 1 hour ago

.nsx file is not the internal database the app uses. It's the export file which can have a different format and it's own limitations for compatibility reasons. There may be a way to get more from app's internal database. But my script doesn't go beyond .nsx file's content.