Skip to content

First part for implementaion of a Europe PMC fetcher #13389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 22, 2025
Merged

Conversation

Siedlerchr
Copy link
Member

Refs https://github.com/JabRef/jabref-issue-melting-pot/issues/955

Implemented ID based fetcher for EuropePMC

Follow up tasks (new issue):

  • Full text fetcher (search results include links if fulltex is available)
  • Search based parser fetcher
  • Supporting of other types e.g. books

(That's why I think it's not worth adding it in changelog right now)

Steps to test

Test written

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • [/] Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • [/] Screenshots added in PR description (if change is visible to the user)
  • [/] Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • [/] Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

Copy link
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick - otherwise, it looks good.

I would add a CHANGELOG.md entry nevertheless. - We can update it if the feature is updated before the next release.

* upstream/main:
  Fix patterns
  Fix pr-comment.yml
  Try to fix ghprcomment.yml
  Rich diff for Metadata Group Tree External changes (#13325)
  New translations jabref_en.properties (Portuguese, Brazilian) (#13391)
  Speed up build by making assumptions (#13388)
@Siedlerchr Siedlerchr enabled auto-merge June 22, 2025 13:26
Copy link

trag-bot bot commented Jun 22, 2025

@trag-bot didn't find any issues in the code! ✅✨


// Handle URL
if (result.has("pmid")) {
entry.setField(StandardField.URL, "https://pubmed.ncbi.nlm.nih.gov/" + result.getString("pmid") + "/");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting - Normally our maintable should handle this similar to DOI handling.

OK for now, noted down for future work 😋

@Siedlerchr Siedlerchr added this pull request to the merge queue Jun 22, 2025
@@ -14,6 +14,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We introduced a settings parameter to manage citations' relations local storage time-to-live with a default value set to 30 days. [#11189](https://github.com/JabRef/jabref/issues/11189)
- We distribute arm64 images for Linux. [#10842](https://github.com/JabRef/jabref/issues/10842)
- We added the field `monthfiled` to the default list of fields to resolve BibTeX-Strings for [#13375](https://github.com/JabRef/jabref/issues/13375)
- We added a new ID based fetcher for [EuropePMC](https://europepmc.org/). [#13389](https://github.com/JabRef/jabref/pull/13389)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also work with the new entry dialog?

Merged via the queue into main with commit 0c05540 Jun 22, 2025
45 of 46 checks passed
@Siedlerchr Siedlerchr deleted the euromedline branch June 22, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants