notes icon indicating copy to clipboard operation
notes copied to clipboard

Importing interlinked markdown files

Open jcalfee opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Yes. I need to import many interlinked markdown files. Of course, I do not have have the generated fileIds that typically get generated to track the files. I can write a write a program and script to perform the import. Can you please recommend the best way for me to do this?

Possibly related: https://github.com/nextcloud/notes/issues/616

Thank you..

Describe the solution you'd like

A way to load relative links, even if they get updated after I load them.

Ideally, I should be able to drop the correctly formatted files in a webdav drive and see notes link them all up and index for searching.

Describe alternatives you've considered

Less desirable, an API to load each file and get the file ID and update all the other links going in. Ideally that would be better done with a more flexible linking mechanism in notes though.

jcalfee avatar Feb 28 '23 13:02 jcalfee

Maybe I do need to upload each file then try to fetch the fileId so I can modify the markdown before I upload it. It says here to obtain all versions of a file send a PROPFIND.

I'm interested in the Elastic Search integration and its ability to find PDF and other material (like markdown of course). It looks like we can browse the markdown files in the editor. A faster read-only view would be good too. But first, I have thousands of files I would like to load (it is an export from an old social site). I wonder if this will work and have decent performance.

jcalfee avatar Feb 28 '23 14:02 jcalfee