Shortcuts/Workflows for using Zotero on iPad
I posted this in a reply, but thought maybe it could be useful to make it more obvious. If anyone wants to use Zotero on iPad, I put together some workflows using the iOS shortcuts app and the Zotero API. I have more of these too, so please let me know if you have something specific you need, I might have already built something.
https://appademic.tech/referencing-on-ipad-zotero/
https://appademic.tech/referencing-on-ipad-zotero/
All you need to do is edit the URL field (it comes after 'URL encode', and before 'Get contents of URL')
1. Delete this part from the URL: '/collections/CollectionKey/'
2. The first part of the URL should now look like: https://api.zotero.org/users/UserId/items?
Any questions let me know. I will have the update done by the end of the weekend.
I look forward to trying the version with Better BibTeX keys, too. And I appreciate both your work on this and your willingness to help.
However, it would be helpful if the request was more precise. Are you you’re referring to the bibliography shortcut? Or are your expecting the URL in-text? What style are you using? When you say it generates a citation, do you mean the desktop client?
If its in the bibliography you just need to add the style you need to the style dictionary. Have a look for the dictionary action in the shortcut that has the CSL styles, you can add as many as you like. If you cant work out how, let me know what style you need and I will add it.
If it’s in-text, as I say, that will require more work. I can’t say when I might be able to do that.
My best advice would be make a copy of the shortcuts, then have a to have a look at the API documentation and see if you can make it work for you. I’m not a developer, and I have managed to hack something together... honestly, they could all be improved. But they are there to be adapted if you want to give it a shot. I’m also happy to help if you get stuck hacking. Some communal work on these can only help.
I still have some updates to post, I will look at posting a quick how-to on making simple changes to the shortcuts.
Please let me know if it does what you want. Feel free to email me via the contact details on my site: https://Appademic.tech (see the icons in the left hand menu). I have been working on a single shortcut to combine many of these functions, I'm on a tight deadline at the moment, but once I clear some time I will finish it and post it to the site.
Instead of
Eleonory Gilburd, <\i>To See Paris and Die: The Soviet Lives of Western Culture<\/i> (Cambridge, Massachusetts: Belknap Press, 2018).
I get
{"library":{"id":40,"links":{"alternate":{"type":"text\/html","href":"https:\/\/www.zotero.org\/erazlogo"}},"type":"user","name":"erazlogo"},"links":{"alternate":{"type":"text\/html","href":"https:\/\/www.zotero.org\/erazlogo\/items\/S7ZLF2WJ"},"self":{"type":"application\/json","href":"https:\/\/api.zotero.org\/users\/40\/items\/S7ZLF2WJ"}},"key":"S7ZLF2WJ","meta":{"creatorSummary":"Gilburd","parsedDate":"2018","numChildren":0},"citation":"Gilburd, <\i>To See Paris and Die<\/i>.<\/span>","version":10959}
From this I infer that “citation”=short reference, not a full footnote, which is fine—it still works way better than a bibliographic reference for my purposes. I’m guessing I need to process the output somehow to extract the short reference from the string. [Edit: found tutorials online & working on this. Exciting!]
https://www.icloud.com/shortcuts/13f0550350c240ca961f13b07effcbde
https://www.icloud.com/shortcuts/739be5126db84570bc9ce06e5f7dea2e
I'm happy to sort it for you, but it's awesome learning this stuff and having a problem like this to solve is the best way. If I solve it I will be robbing you! If you get stuck, please do feel free to email me. Once you have it working the way you want it, we can add it to the consolidated shortcuts on my site (with the appropriate credit for your work of course)
Once the JSON is readable you can see what key you're trying to extract. In this case you are trying to get the 'citation' key.
There is also an incredibly useful action in shortcuts called 'view content graph'. If the data is not being returned as you expect it to, drop that action into the shortcut and it will allow you to look through the raw data.
Ps. I believe I have worked out the solution for this now, so just say the word and I will post it. But to reiterate my point above, I never really started to get the hang of this stuff until I had a problem I wanted to solve.
Note: the shortcuts for Word work on all three apps. But in Ulysses you’d need an extra step to paste (paste as rich text) and Bear creates more complex formatting for pasted URLs than necessary—to avoid these side-effects I created separate shortcuts for each app.
Copy short citation (almost Cmd-Shif-A in Zotero)
Ulysses: https://www.icloud.com/shortcuts/35577b01f9f843d1bf8c0bcdf25319c8
Word: https://www.icloud.com/shortcuts/43ef85ea20194ff6aa042608dfaeba35
Bear: https://www.icloud.com/shortcuts/c9b1ad2258694ad8a15b5970dbd588b3
Copy bibliographic citation (Cmd-Shift-C in Zotero)
Ulysses: https://www.icloud.com/shortcuts/015476122cce48ab999dc29fcfc16177
Word: https://www.icloud.com/shortcuts/b95e82a6939641d4ab9745daaa53d662
Bear: https://www.icloud.com/shortcuts/77dc9281329a408591648afc9f8143d3
Note: the bibliography shortcuts don’t seem to work with Cyrillic script, but should be ok with English.
If anyone happens to use these and has a problem, please let me know on this thread.
<i>III Кинофестиваль Стран Азии и Африки в Ташкенте [1974]--Отклики Зарубеж. Прессы</i>. Москва: Союз кинематографистов СССР, Комиссия по международным связям, 1975.
Alternatively do you know of any reference management software for IPad? Thanks.