Problem/Motivation
We have a client looking to be able to bulk-import references using a simple list of DOI numbers.
Implementation would be similar to what the Bibliography & Citation - PubMed does, where, when the Bibliography & Citation - Import sub-module is enabled, users can visit the Import tab and upload a file containing multiple PubMed numbers, and have all of the content imported in one go.
Proposed resolution
Use Bibliography & Citation - PubMed as a template for adding this functionality.
Remaining tasks
This builds on issue 3388342, which has been merged, so the module works with the latest Drupal 10/11 versions.
User interface changes
On the Bibliography - Import tab, there is a new “Crossref DOI” option available.
API changes
NA.
Data model changes
Adds bibcite_entity.mapping.crossref_doi.
| Comment | File | Size | Author |
|---|
Issue fork bibcite_crossref-3597504
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
byronveale commentedAttaching a patch for now, as a merge request is complicated by the fact that what I’m doing here requires first updating the module to be Drupal 10/11 ready (issue 3388342).
Comment #3
byronveale commentedOh, I should mention, because of the issues with the renanbr/crossref-client and composer figuring out dependencies, take a look at Toki’s notes on the workarounds needed to install the module, as well as my own notes on the subject.
Comment #4
byronveale commentedOkay, fixed some errors on the “Mapping for Crossref DOI format” page, updated patch attached.
Reiterating that this patch needs to be applied to the version of the module in the merge request for issue #3388342.
Getting that version using composer required some extra steps…
Comment #6
byronveale commentedComment #7
byronveale commentedHiding out-of-date patch as merge request was created, if anyone needs patches they can be found there.
Comment #8
bkosborneThis looks good to me.
Note I tested this with Bibcite version 3.1.2 and I ran into a fatal error that's unrelated to the changes here. I created a separate issue to address that: #3612506: Compatibility with Bibcite 3.1.1
Comment #10
byronveale commented