Open pengfei0707 opened 1 month ago
When I sync my highlights, the newer highlights appear later in the Obsidian notes compared to the older ones. This seems to be related to the timestamp sorting as the highlights are not appearing in the chronological order they were made.
If the newer highlights appear later in the file, and the older highlights appear earlier in the file, it sounds like it's already in chronological order: from old highlights to new highlights. H2O doesn't currently have a way to reverse the order. The logic for sorting is here.
Another problem I'm facing is that when I try to sync new highlights, they are being created as new notes instead of being appended to the existing notes in Obsidian.
"Other Options" -> "Maximum note size" limits the amount of text sent to a single Obsidian note. It splits the highlights into different files with (1), (2), etc at the end of the file name. You could try increasing this setting's value until you start getting errors. The intended workaround for these errors is to copy/paste the numbered files into the first file.
It's also possible that there's something in the note title formatting that's causing this. To check if this is the case, I would need to know more about what the new notes are named.
OK,I will provide some pictures to show what is the problem exactly like.
Here am I to provide the picutres
I am sorry to provide you the picture so late, and thank for you kind and patience!
It looks like you're using {location} as the sort key. If you want your highlights in chronological order, the sort key should be timestamp, without any {} brackets. There shouldn't be brackets when using location as the sort key either.
I'm not sure where the 1 at the end of the file name is coming from. H2O only adds numbers in parentheses, like (1), so I think the numbers are being added by Obsidian. I've had some odd behavior in the past when adding emojis to the title, so maybe it has something to do with the Chinese(?) characters in your book titles. Either way, I'm not sure how to fix this problem.
Thank you! I will fix my mistake in my use of sort key. The error in file name I will check my obsidian to find out the solution,It is very nice of you to answer my issues.😀
Dear H2O Developers,
I'm experiencing a couple of issues while trying to sync my highlights from Calibre to Obsidian using the H2O plugin and I could use some assistance in troubleshooting these problems.
Issue 1: Out-of-order highlights
When I sync my highlights, the newer highlights appear later in the Obsidian notes compared to the older ones. This seems to be related to the timestamp sorting as the highlights are not appearing in the chronological order they were made. Here’s what I’ve tried so far:
Ensured that the timestamp is being used as a sort key in the formatting options. Checked for any plugin updates that might address this issue. Issue 2: New notes being created instead of appending
Another problem I'm facing is that when I try to sync new highlights, they are being created as new notes instead of being appended to the existing notes in Obsidian. I've verified that:
The "Other Options" are correctly set with the right Obsidian vault name and path. The Books folder is correctly placed within my vault. If you could provide some guidance on how to resolve these issues, I would greatly appreciate it. Here are some additional details that might help in diagnosing the problem:
Calibre version: [1.6.7] H2O plugin version: [1.4.1] Obsidian version: [7.19] Operating System: [windows 11] Any help you can provide would be fantastic. Thanks in advance for your time and support!