Discrepancy in annotation deep link between PDF export and Zutilo-generated URI
I'm working on developing a process where I can share both my markdown text and the references such that they have links that lead to each other's annotations.
For this, I'm exploring using deep links, since they are accessible not just in Obsidian, but can also be accessed within the browser.
To test this idea, I tried using Zotero 7 with Zutilo in order to generate a URI that I can paste onto my markdown text.
https://s3.amazonaws.com/zotero.org/images/forums/u7029561/5962hslp6uzxhesz4c32.png
This is the URI that comes out:
zotero://open-pdf/library/items/TSPQDNQA?page=4&annotation=Z3UW6HWI
But if I try to export the PDF from within Zotero, and include the annotations into the file, the deep link looks different. (I deleted the file path part at the beginning of this link for brevity):
Liu2024.pdf#page=4&annotation=941R
"annotation=Z3UW6HWI" is different from "annotation=941R", but I don't really know why. It would be nice if I could control what comes after this "annotation=" part because that would mean that I can easily edit the Zutilo-generated URI and turn the link into something that directly links to a PDF annotation. However, as it turns out from this preliminary test, they differ significantly.
My question would be: Is there a way to control this part of the deep link? I was thinking there could be a way for this annotation label to somehow be controlled during export so that its label just mirrors the Zutilo-generated URI. But I'm not sure how, and I think this sort of question would help others trying to work on their Obsidian-Zotero workflows.
For this, I'm exploring using deep links, since they are accessible not just in Obsidian, but can also be accessed within the browser.
To test this idea, I tried using Zotero 7 with Zutilo in order to generate a URI that I can paste onto my markdown text.
https://s3.amazonaws.com/zotero.org/images/forums/u7029561/5962hslp6uzxhesz4c32.png
This is the URI that comes out:
zotero://open-pdf/library/items/TSPQDNQA?page=4&annotation=Z3UW6HWI
But if I try to export the PDF from within Zotero, and include the annotations into the file, the deep link looks different. (I deleted the file path part at the beginning of this link for brevity):
Liu2024.pdf#page=4&annotation=941R
"annotation=Z3UW6HWI" is different from "annotation=941R", but I don't really know why. It would be nice if I could control what comes after this "annotation=" part because that would mean that I can easily edit the Zutilo-generated URI and turn the link into something that directly links to a PDF annotation. However, as it turns out from this preliminary test, they differ significantly.
My question would be: Is there a way to control this part of the deep link? I was thinking there could be a way for this annotation label to somehow be controlled during export so that its label just mirrors the Zutilo-generated URI. But I'm not sure how, and I think this sort of question would help others trying to work on their Obsidian-Zotero workflows.
Upgrade Storage