Hi everyone, wondering if you can help with this technical question.
THE QUESTION: ^ the title
CONTEXT: When using the Zotero Integration plug-in, and fetching new paper highlights, Zotero is returning the wrong link in its {{uri}} metadata. {{uri}} is basically the link back to each paper on Zotero web. The last 8 chars of {{uri}} are correct (they uniquely mark each paper in my Zotero library), but the rest is wrong.
EXAMPLE:
{{uri}} contains:
http://zotero.org/users/8400907/items/GZPBZGUG
But what it should be is:
https://www.zotero.org/my-user-name/items/GZPBZGUG
I was thinking the answer was something along the lines of using {{uri}}.substr({{uri}}.length-8)
when creating the link, but that doesn’t work.
For completeness, here’s what’s in my template (but the wrong link that I’m trying to fix):
[Zotero Online]({{uri}})
Hopefully this makes sense. Thanks in advance!