Google Docs Plugin: Replace citations with Zotero URIs
Hi @adomasven
Would you be open to a PR on the Google Docs Plugin that added a function:
"Replace citations with Zotero URIs”
This would work like "Switch..." but instead of inserting the item CSL, it would just replace the Zotero URI (e.g., https://www.zotero.org/groups/2405685/items/ZLK4F26R) and replace the anchor with it.
I could also build a “Restore citations from Zotero URIs” (if you felt that was helpful). In that case the Zotero URI would retain the citation code (https://www.zotero.org/groups/2405685/items/ZLK4F26R?citationID=neS7fI8h) so that the citations can be restored.
We could obviously do this through a separate plugin - hence checking whether this would be of interest within the existing plugin!
Many thanks!
Would you be open to a PR on the Google Docs Plugin that added a function:
"Replace citations with Zotero URIs”
This would work like "Switch..." but instead of inserting the item CSL, it would just replace the Zotero URI (e.g., https://www.zotero.org/groups/2405685/items/ZLK4F26R) and replace the anchor with it.
I could also build a “Restore citations from Zotero URIs” (if you felt that was helpful). In that case the Zotero URI would retain the citation code (https://www.zotero.org/groups/2405685/items/ZLK4F26R?citationID=neS7fI8h) so that the citations can be restored.
We could obviously do this through a separate plugin - hence checking whether this would be of interest within the existing plugin!
Many thanks!
Just having the first version is ok - once the link is inserted, it's easy to write a google docs script to convert that link to kerko links.
The outcome of this process is that you then have a document (e.g. as PDF) which has links to a public Zotero library, where people can look up the abstract.
Examples here: https://forums.zotero.org/discussion/84182/google-docs-moving-items-between-word-processors#latest. Have a look at this doc, https://docs.edtechhub.org/lib/HE2Q6Z8Y/download/SVBHUHZQ/Adam et al. - 2020 - The Maldives and Sri Lanka Question & Answer Sess.pdf, page 7. You'll see two links, that take you back to https://docs.edtechhub.org.
More broadly, this is part of an basic "citation tree" effort: We want to have a record of what was cited in what document, and give the reader easy access to the citation, which means, e.g., accessing the references in digital format (e.g. on a public group https://www.zotero.org/groups/2405685/) so that they can be cited again, but also building up citation graphs.
Even more broadly, we're using Zotero to manage our research outputs and citations, using Kerko to run our 'Evidence Library' here: https://docs.edtechhub.org/.
Does that help?
PS. @dlesieur is helping us with kerko. We're hoping to build a citation tree function very soon. The various tools (also including a Zotero CLI, a Zenodo CLI and a Zotero plugin are here https://github.com/edtechhub). If there's interest in our workflow, David and I would be super-happy to run a webinar / Q&A session etc. We've love to find some collaborators as well.
I am reluctant to clone the plugin. I hear you about the user interface - but code-wise, the addition is minimal.
Could there be a compromise, where maybe there is an option in the advanced preferences, that changes how the 'Switch' option works? Something like: "Switch word processor inserts links to www.zotero.org/groups/ instead [tickbox]".
Then it's out of the way, but stays part of the plugin? So basically, the compromise is that we include the function in the code (it should be very simple), but that we hide the option as much as possible. Would that be acceptable?