CERN CDS and Inspires
Hi there,
as far as I know CERN CDS https://cds.cern.ch/ and Inspires https://inspirehep.net/ have machine readable interface to their content via an API.
Are these available somehow in Zotero to add paper via their Identifiers on these databases?
Maybe I have missed some plugin or something like that ...
as far as I know CERN CDS https://cds.cern.ch/ and Inspires https://inspirehep.net/ have machine readable interface to their content via an API.
Are these available somehow in Zotero to add paper via their Identifiers on these databases?
Maybe I have missed some plugin or something like that ...
That works great for Inspire; CDS is wonky, but so is their metadata. Might be possible to improve, but I'm not super optimistic given what I have seen.
Add by identifier is only available for a small set of well defined and easily identifiable IDs (such as DOI, PMID, arxiv ID). I don't think either CDS or Inspire use an ID system that would qualify as such. (Also, adding by ID duplicates work on web import, so often hard to justify)
Here is the doc https://github.com/inspirehep/rest-api-doc
and one example of document retrieval in JSON
https://inspirehep.net/api/literature/451647
CDS as well has an API
https://cds.cern.ch/help/hacking/search-engine-api
and one example of XML output
https://cds.cern.ch/record/2743741/export/xm?ln=en
The CDS data you link to is MarcXML, which is a mess for articles and papers -- Zotero does import that (and imports from CDS) but item types are off.
As I said, Zotero's principle mode of import is via the browser. You don't have to use that, obviously, but that's what capabilities are going to be optimized for.
An internal note has an ID that is pretty human readable, it's search-able, and unique. For instance you may want to search for CMS-PAS-HIG-17-005
https://cds.cern.ch/search?ln=en&p=reportnumber:CMS-PAS-HIG-17-005&action_search=Search&op1=a&m1=a&p1=&f1=&c=CERN+Document+Server&sf=&so=d&rm=&rg=10&sc=1&of=xm
and you will get an XMLish reply. I cannot locate the help page explaining the fields of this XML (it's horrible in my opinion). I have some python that extracts the most important fields if someone has interests.
Anyhow, CDS can in principle return bibtex straight away from a reportnumber,
https://cds.cern.ch/search?ln=en&p=reportnumber:CMS-PAS-HIG-17-005&action_search=Search&op1=a&m1=a&p1=&f1=&c=CERN+Document+Server&sf=&so=d&rm=&rg=10&sc=1&of=hx
wouldn't this suffice to get it into Zotero as unique ID?
The request is simple:
When I add a CDS / inspirenet entry to the zotero, it's not saved as a webpage snap, or simple pdf item. Instead, you create a paper or report or document entry with year / author / title properly added.
If I add it on the "fulltext" webpage, say, http://cds.cern.ch/record/2721370/files/CERN-ESU-015-2020 Update European Strategy.pdf, a webpage item is inserted, without title/author/year.
If I download the pdf, drag it into zotero, and "create parent entry", then it's asking for "DOI / ISBN / PMID / arxiv id / ADS Bibcode". It does not understand the cds url.
So, there is only one solution: add the record from "http://cds.cern.ch/record/2721370", download the pdf, then drag the pdf to the item.
I am requesting you to add "URL" as one option after "DOI / ISBN / PMID / arxiv id / ADS Bibcode" for "create parent item". I believe this should be easy.
(INSPIRE PDFs actually used to work, that's just broken, but looks like a simple fix)
The CDS is still not working. There are several types of CDS document. Part of them are without DOI.
I tested under "articles & preprint", pdfs of thesis and journal articles are not downloaded.
say,
- https://cds.cern.ch/record/2851382?ln=en
- https://cds.cern.ch/record/2849085?ln=en
(But this is fine for me personally. I have put most CDS records I want to add in my zotero last week.)
Thank you for your work.