Online URI links won't work anymore

I have a problem. I use a template in Obsidian that generates local (using {{desktopURI}}) and online (using {{uri}}) links to the reference in my Zotero library.

Using the {{uri}} I get the following link: http://zotero.org/users/myaccount_number/items/QWP2HKY3
which does not work, returning a "Page not found."

The correct URL format seems to be:
https://www.zotero.org/myaccount_name/items/QWP2HKY3

Does anyone know how to troubleshoot this issue?

Versions:
Zotero 6.0.30
Better BibTex for Zotero 6.7.140
Obsidian v1.5.1
Zotero Integration plugin 3.0.12
  • Nothing to troubleshoot -- the URIs (which are, as per the name, identifiers, not links) don't work as links because they were abused for spam (I believe).
    I don't believe you can create links from the local app programmatically, but you can obviously use search & replace (including in a script) to do so for your library specifically
  • edited 22 days ago
    With Obsidian Zotero Data Explorer and Prompt for Selection, and selecting one item in with Zotero, I got a list of all possible template data. Then I found
    key "2EUEMSPD"
    uri "http://zotero.org/users/12341234/items/2EUEMSPD"
    where 12341234 has been changed here.

    In My Zotero template.md, I have now
    [Zotero online with uri]({{uri}})
    [Zotero online with username and key](https://www.zotero.org/JOEX/items/{{key}}/)
    where JOEX should be replaced with your user name.

    The first links does not work, same as above. The second link works now for a few items I have tried.

    I use
    Zotero 7.0.11
    Better BibTex for Zotero 7.0.2
    Obsidian v1.7.7
    Zotero Integration plugin 3.2.1

    Here is the complete zotero_template.md I use now (replace JOEX with your zotero username)

    ## {{title}}
    - Authors: {{authors}}
    - Year: {{date | format ("YYYY")}}
    - ItemType: {{itemType}}
    - Abstract: {{abstractNote}}
    - Sources:
    - [Zotero online with uri]({{uri}})
    - [Zotero online with username and key](https://www.zotero.org/JOEX/items/{{key}}/)
    - [Zotero local]({{desktopURI}}) {%- for attachment in attachments | filterby("path", "endswith",".pdf") %}
    - {{pdfZoteroLink}}
    - [pdf file attachemnt](file:///{{attachment.path | replace(" ","%20")}}) {% if loop.last %}{% endif %}{%- endfor %}
    - Bibliography: {{bibliography}}
    - Cite Key: [[{{citekey}}]]
    {%- if hashTags %}
    - Tags: {{hashTags}}
    {%- endif %}
  • the second link should by all expectations keep working, yes.
  • Thanks, I made a correction above. It should be {{pdfZoteroLink}} and not [Zotero link pdf]({{pdfZoteroLink}})
Sign In or Register to comment.