-
Notifications
You must be signed in to change notification settings - Fork 35
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
Obsidian Converter #1
Conversation
Bunch of fixes
Is there any list with tasks that need to be completed to get this converter to the ready state? I might be able to give a hand |
@vicrdguez Creating a list would be useful. Anecdotally, I know that we should match date pages to Tana calendar nodes - however that might have to be configurable since I think at least Obsidian allows custom date formats. Also, parsing YAML frontmatter/Dataview attributes/Logseq attributes (page/block) into Tana fields would be amazing. |
@houshuang thanks, that is a starting point. A couple of questions:
I don't want to flood this channel with questions but those will help a lot. Thanks! |
That should be it - feel free to ask questions. @eirikhm Can answer the question about how we set up calendar nodes. Otherwise, the Roam importer which is in this repo is production-quality, it's exactly the code that we run when you import Roam workspaces into Tana, and it has been polished a lot - it should cover all the functionality you are after. So have a look at how it works/what it outputs. Here's an example output from Roam with a date node:
|
@houshuang that will do it thanks! I see calendar nodes are date nodes whose |
@houshuang @LuccaHellriegel I'm trying to push some changes but I get a 403. Looks like a need access to the branch |
Fork it and make a pr |
FYI I have opened an issue to collect TODOs: #3 |
I've added some sample files in #4. I have a PR incoming that makes uid, createdAt and modifiedAt optional |
Hello @LuccaHellriegel ! Thank you for taking the time to build this. I tried to use your converter, but I ended up having most of my notes missed. Instead of them, I got some notes with broken titles - I guess it is because my note titles' are in Korean. Does your converter handle UTF-8 encoded notes? If not, do you have any plan to add the feature to the converter? |
@livekth could you send me / paste an example file so that I can debug the issue? I read all files as UTF-8. |
For example, the above two are the same notes: first one is from Obsidian, and the another one is from Tana. So the original title in Korean is: But converted to: If I compare them word wise: 📔 → ≡ƒôö The characters on the right looks quite different from what I saw the broken Koreans in other applications because of encoding/decoding problem. I am also attaching the original MD file for your reference. |
@livekth you are using the online zip converter right? the webpage? Can you check that the filenames are correct inside the zip? |
@LuccaHellriegel Yes! I used the online converter. And I also checked the file names inside the zip by unzipping it. I have successfully got the files with the correct names. And I found one interesting thing while I tested the zip file: even a file with the English name, the emoji in the name was also broken: The emoji 📚 is broken and converted to "≡ƒôÜ" The original Obsidian fileBy the way, can you check out your online unzipper if it supports Koreans and emoji? |
I solved the problem! The problem was on my side: when I used Bandizip (a Korean archive manager), everything worked. Thank you so much for the converter, Lucca! |
Lucca, I have one question - can I import all Obsidian daily notes to the Tana's Calendar node? |
Progress tracker: #3
Test the converter here: https://luccahellriegel.github.io/tana-import-tools/
Added a Obsidian/Markdown converter.
Happy to hear your feedback or any misunderstandings of the format I might have had! :)
Be sure to check out the result file or the test-vault that I included: https://github.com/LuccaHellriegel/tana-import-tools/blob/main/src/converters/obsidian/tests/fixtures/full.tif.json