Skip to content

Added Fetcher for ISIDORE#10518

Merged
koppor merged 51 commits into
JabRef:mainfrom
u7492883:fix-for-issue-10423
Jan 16, 2024
Merged

Added Fetcher for ISIDORE#10518
koppor merged 51 commits into
JabRef:mainfrom
u7492883:fix-for-issue-10423

Conversation

@u7492883

Copy link
Copy Markdown
Contributor

Added a fetcher for the webside ISIDORE, (https://isidore.science/). The fetcher will get all the fields that it can find and will convert them into a BibEntry.
Fixes #10423.

screenshotISIDORE

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • 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.

Tal Shy-Tielen and others added 15 commits October 17, 2023 19:30
Created a fetcher that would automatically fill referencing information from ISIDORE. Unfortunately the XML files are not always formatted the same way which increased the number of methods in this fetcher compared to the others.
Added the ISIDOREFetcher to the list of WebFetchers, on line 149.
Added tests for the ISIDORE fetcher.
Fixed case where doi would not be added correctly.
Added ISIDORE's privacy policy link to PRIVACY.md.
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated

@koppor koppor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for your work. Thank you also for putting test cases.

Comments for improvement attached.

Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated

@koppor koppor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for continuing working.

Some code comments attached to level-up your coding skills!

Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
Comment thread src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java Outdated
@Siedlerchr

Copy link
Copy Markdown
Member

Current status: Isidore science seems buggy we always get an empty input stream back.

@koppor

koppor commented Dec 26, 2023

Copy link
Copy Markdown
Member

We think, the API as of today returns and empty result if too many words are requested.

@koppor

koppor commented Jan 9, 2024

Copy link
Copy Markdown
Member

The API is a PITA. If too much word are queried, no results are returned.

In case there is a real user need to include this API, the PR is "finished". It at least returns some results for less keywords.

@koppor koppor enabled auto-merge January 15, 2024 20:22
koppor
koppor previously approved these changes Jan 15, 2024
@koppor koppor added this pull request to the merge queue Jan 16, 2024
Merged via the queue into JabRef:main with commit 37a45e0 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a new Fetcher for Isidore.science

4 participants