Call Number, Location in Archive, and the API
Hi everyone. I've been working on importing the bibliographic entries for a website (http://www.stg.brown.edu/projects/Inscriptions/) into Zotero for the people who own the website, with the intention of using Zotero instead of the website's outdated database. Each entry was encoded using the MODS format, and included a unique identifier (something of the form IIP-123). I preserved that identifier by putting it into the "Call Number" and "Loc. in Archive" fields.
Now that I've got the entries in Zotero, and uploaded them to the website, I'm realizing that It's impossible to search by call number or location in archive, and impossible to search by them in an API read request, either. Ideally, we were hoping to change the website to query the Zotero API instead of keeping its own database of entries, and also use Zotero to upload new ones, but those identifiers are crucial to the workings of both those processes, and currently they're completely inaccessible.
Has anyone here worked on anything similar, or dealt with this problem before? Does anyone have any tips on how to deal with this?
Now that I've got the entries in Zotero, and uploaded them to the website, I'm realizing that It's impossible to search by call number or location in archive, and impossible to search by them in an API read request, either. Ideally, we were hoping to change the website to query the Zotero API instead of keeping its own database of entries, and also use Zotero to upload new ones, but those identifiers are crucial to the workings of both those processes, and currently they're completely inaccessible.
Has anyone here worked on anything similar, or dealt with this problem before? Does anyone have any tips on how to deal with this?
Additional search capability will likely happen in the not-too-distant future, but that won't help you if you need this functionality now. One alternative I could suggest would be to have the website load the full library as BibTeX via the API and then use a JS-based tool such as Citeline to query it client-side. (There are probably other JS tools as well. That's just the one I know off-hand.)
If you do this, you should cache the retrieved BibTeX locally (using APC/APCu, say) and make conditional requests to v2 of the API for updates. (And as it says there, you might cache the response for a short period of time between the conditional requests as well.)
I'd like to know if 8 years after, we can obtein call-number via Zotero API, using Zotpress?
Thank you very much
(If you have questions about the Zotero API itself, please post to zotero-dev — we try to keep technical discussions there.)
have a good day