obsidianmd / obsidian-importer

Obsidian Importer lets you import notes from other apps and file formats into your Obsidian vault.
https://help.obsidian.md/import
MIT License
619 stars 53 forks source link

Import from Reflect #248

Open jmiralva opened 1 month ago

jmiralva commented 1 month ago

My Reflect subscription ended, and I'm wanting to migrate to Obsidian. Exporting from Reflect in HTML and then using the importer works okay, but it loses some formatting that was applied. Would be ideal to support importing Reflect JSON

kepano commented 1 month ago

What formatting is missing? Did you try exporting from Reflect to Markdown, and were the results any different?

jmiralva commented 1 month ago

If I import using the Markdown files, attachments don't show up properly because they're linked to the firebase storage URL image

When I try using HTML, I lose any of the nesting that was present in the original note. Here's the same note using the HTML importer (left) and the Markdown Importer (right) image

The other thing that would be nice with the importer is to remove the randomized strings that Reflect includes when exporting notes. Otherwise they have to be removed manually, which is a bit of a pain. image

Let me know if that clarifies!

kepano commented 1 month ago

Thanks! Do you have a sample of Reflect's JSON format?

I would encourage you to also open an issue with Reflect's bug tracker. It seems like their HTML export should support nested lists, and also include images in the zipped export.

jmiralva commented 1 month ago

I will open up a bug on their side (though I don't suspect they'll get to it soon).

The JSON file format is actually one big lone file with all of the notes. Would rather not share my export for obvious reasons, but here's a bit of the format:

image image image image

Let me know if that helps!

kepano commented 1 month ago

Very helpful, thanks!