Comments (15)
An update: the plugin appears to work fine (and well) for Zotero records with a DOI entry, and returns the '0 item' message for records without a DOI entry. I haven't tested every record I have but that appears to be a pattern so far.
from zotero-citationcounts.
Is there an error message?
Does it say that it found 0 citations, or is there any other pop-up message?
Does it work when you manually trigger updating the citation counts by right-clicking on the publication?
from zotero-citationcounts.
In both cases, it just says that it found 0 citations. More specifically "Semantic Scholar/CrossRef citation counts updated for 0 items."
Manual triggering doesn't help.
from zotero-citationcounts.
I am wondering if there is any follow-up. Thank you!
from zotero-citationcounts.
I have no idea what is causing this problem. I will have to debug what is going wrong – I can't promise a particular timeline.
from zotero-citationcounts.
Thank you!
from zotero-citationcounts.
I'm getting the same issue with each citation source. Happy to beta test a fix if you find one.
Edit: I'm using Zotero 6.0.5 and Windows 11
from zotero-citationcounts.
Thanks! Is that for both Semantic Scholar and CrossRef? I am pulling articles on CrossRef, but the plugin pulls no Semantic Scholar citations
from zotero-citationcounts.
Also, I just checked: if I have a DOI for a book, it still does not pull CrossRef citation counts
from zotero-citationcounts.
I tested on one article and it can pull the CrossRef citations too, if a valid DOI is present.
from zotero-citationcounts.
I have encountered the same problem. For some references from ArXiv, I do not get any information about the number of citations. It does not show even 0 citations. When I try to trigger the update manually it shows that " ... citation counts were updated for 0 items".
from zotero-citationcounts.
CrossRef works for articles, not for books (even if I have DOI in "extra" field). Semantic Scholar doesn't work for anything.
from zotero-citationcounts.
the add-on seems not to collect book citations for CrossRef
CrossRef only deals with journals, not books. AFAIK, this addon doesn't support counts for books at all unfortunately.
from zotero-citationcounts.
the same problem arose with the pop-up message "Semantic Scholar/CrossRef citation counts updated for 0 items." when I first installed this plug-in.
from zotero-citationcounts.
I agree, I think it is most likely is because books and book chapters do not have a "DOI" field.
In In zoterocitationcounts.js
there is:
async function getSemanticScholarCount(item, idtype) {
let doi = null;
if (idtype == 'doi') {
doi = item.getField('DOI');
} else if (idtype == 'arxiv') {
const arxiv = item.getField('url'); // check URL for arXiv id
const patt = /(?:arxiv.org[/]abs[/]|arXiv:)([a-z.-]+[/]\d+|\d+[.]\d+)/i;
const m = patt.exec(arxiv);
if (!m) {
// No arxiv id found
return -1;
}
doi = m[1];
} else {
// Internal error
return -1;
}
if (!doi) {
// There is no DOI / arXiv id; skip item
return -1;
}
With a bit of regex, we can get the DOI from either the "URL" field or the "extra" (as it is often added there). Which is what @eschnett does, but It seems to me that he assumes that if there is no DOI, then the only reason could be because it is not printed yet, and then he checks for arxiv. But in my case for example the DOI reference is present in the "URL" field (as well as the "extra" field since it is added automatically with the "Save to Zotero" browser plugin).
from zotero-citationcounts.
Related Issues (20)
- Zotero Citation Counts Manager is incompatible with Zotero 6.0 HOT 5
- Uncompatible with latest zotero? HOT 2
- Req: Updating counts regularly
- [Feature Wanted] One-click for all references
- Not Getting Semantic Scholar Citations/ Documentation Request HOT 2
- Add OpenAlex API HOT 1
- Update counts directly from references.
- Crashes Zotero when adding items HOT 8
- bug:Error in adding comments
- Ask don't work when highlighting text in PDF HOT 8
- Not working in 6.0.22? HOT 1
- [Question] How to trigger the plugin when pulling the article
- Support Zotero 7.0
- Corrupt .xpi? HOT 2
- Shows the references citing the paper
- Number of citations not retrieved for newly imported items HOT 1
- Citation data generation when item is added to Zotero HOT 1
- When will zotero7 be supported? HOT 9
- Stuck with "Getting google scholar citation counts" window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zotero-citationcounts.