-
Notifications
You must be signed in to change notification settings - Fork 2
Reusing subfolders/data from a previously received Crossref calls #16
Comments
I agree on the first point, and the second one also makes sense. If someone wants to force reloading all referencing from Crossref, then it is still possible to delete the complete folder and run the plugin again. What should happen if you run the plugin again? Just stop because we already have three items in the citations folder? I think we could also try to receive another three items then into the folder, such that after two rounds of clicking on the plugin, there are 6 citations, etc. What do you think? |
the same folder as the first call should be used (or at least attempted)
This behavior choice should be made clear in the preference panel. I kind of don't want to keep asking the plugin to fetch more... I just want the complete set of results all at once... but I also want the API to like me as a user... so what are the api limits? |
@HughP Please try out the new version 0.3.0. The first point is implemented and it will be made sure that always the latest N citations are in the subcollection. I haven't implemented any ineractive dialog with the user, because this could lead to hundreds or thousands of such dialogs when you select that many items. (I don't know whether there are rate limits for the COCI or Crossref service. However, from your report I understood that the bottleneck might be Zotero or the Plugin itself.) |
Usually there is a check-box for "apply all to following" ... like when you replace a file in a finder... I don't know of any rate limits at COCI... but I didn't check I was only mentioning it as a point of being a good API user. I tried version 0.3 on a resource that had previously been cataloged as having 352 citations from COCI, but only three were added to the folder, when I updated the default setting to 9 still only three were in the folder. –– it seems that there should be a UX expression to the end user to show when the query is taking place and when it finishes... like a progress bar. There is a progress bar in Zotero at the very beginning when collections are being loaded when the program starts. I wonder if that code can be coopted and used again in this case. |
Spinning wheels or a progress bar could help the user to see better how far the process is. However, I don't have any experience there and I don't want to spend too much time in UX in general. Further discussion in #18. Maybe we can at least give a short notice after the whole process is done. We can check with the people behind COCI, if they are okay with the current calls from the plugin.
I tested this for myself again it worked fine. Restart Zotero and try again, wait long enough, click on another collection and then back again etc. If the problem persist, then I need more information, ideally an example I can replicate step by step. |
It seems from my limited experimentation that I one asks the COCI API for citations, that an unlimited number is returned and written into a note. However, limits are imposed on the import from CrossRef on these DOIs returned from COCI. These limits are set in the preference pane.
I ran the COCI query on a resource in Zotero with the default value of 3. three resources showed up in my folder on the left side.
I ran the COCI query on a resource in Zotero with a custom value of 7. the three original resources showed up in a new folder with an additional 4 resources.
two folders, one for each query.
I think it makes sense to do two things:
The text was updated successfully, but these errors were encountered: