Skip to content
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

format of zotero:// links #1727

Closed
damiencourousse opened this issue Jan 16, 2021 · 4 comments
Closed

format of zotero:// links #1727

damiencourousse opened this issue Jan 16, 2021 · 4 comments
Labels

Comments

@damiencourousse
Copy link

Exports from better bibtex can generate links with two different formats, as follows:

  • with the citation key: zotero://select/items/ + citekey
  • with the zotero reference key: zotero://select/library/items + key

Example of exports (each by adjusting the configuration of zotero and BBT settings):

  • with the citation key: zotero://select/library/items/TBRBVPID
  • with the zotero reference key: zotero://select/items/@clearZettelkastenHowOne2020

Is it the correct format? Is there somewhere a specification or a document that describes the link formats?

I am using zotxt-emacs, and the author reports in zotxt-emacs issue #53 that the proper format for zotero links is: zotero://select/items/[LIBRARY]_[KEY]

  • release of Zotero: using zotero 5.0.95 on Linux
  • release of BBT: using version v5.2.110

Report ID: K5KZXE8R-euc

Exporter used: Better BibTeX Citation Key Quick Copy

Expected behavior: seems OK but another plugin describes another export format, discussed above and in in zotxt-emacs issue #53

Actual behavior: seems OK but another plugin describes another export format

@qqobb
Copy link
Contributor

qqobb commented Jan 18, 2021

With BBT, you can use:

zotero://select/items/@[citekey]
zotero://select/items/bbt:[citekey]

This is not something pure Zotero offers, it's a (cool) feature of the BBT add-on. As far as I know, this is not documented, but you can read more about it in #769.

Currently, Zotero's official format for these links is:

zotero://select/library/items/[itemKey]

The old format zotero://select/items/[LIBRARY]_[KEY] is also still supported. You need to look at Zotero's source code for documentation, e.g., here. You can also find related discussions on the Zotero forum, e.g., here.

BTW, the Zutilo add-on can help you with creating zotero://select links.

@damiencourousse
Copy link
Author

Thanks for the detailed feedback!

@retorquere
Copy link
Owner

Thanks for picking up the slack - I'm a bit swamped at the moment.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants