eschnett / zotero-citationcounts

Zotero plugin for auto-fetching citation counts from various sources
Mozilla Public License 2.0
787 stars 37 forks source link

[improvement suggestion] fetch citations using URL (when DOI is missing) #13

Open adrien-perello opened 3 years ago

adrien-perello commented 3 years ago

First I want to say that this is an amazing plugin. Thank you so much for it.

Context

Suggestion:

using the URL instead of the DOI: https://api.semanticscholar.org/v1/paper/URL:{z:url} (I'm not sure about {z:url} !!) (zotero user should leave the DOI blank, and copy the url from semanticscholar)

ex: https://api.semanticscholar.org/v1/paper/URL:https://www.semanticscholar.org/paper/Paradigm-Issues-in-Critical-Systems-Thinking-and-in-Petkov-Petkova/f6110e6ca06418291d86f08816a1cef266b6d4b9

Paper can be found here on semanticschoar, and can be downloaded freely here

welpdx commented 2 years ago

Hey @adrien-perello,

I like your suggestion! I didn't know that semantic's api did that. I incorporated this suggestion in my fork of this project. You can download it here and read about it here.

You can see this in action if you select the Update Citation Counts -> Semantic Scholar citation count in the right-mouse-click context menu.

Please let me know if you happen upon any issues.

Thanks! Welp