-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Added Fetcher for ISIDORE #10518
Added Fetcher for ISIDORE #10518
Conversation
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.
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
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.
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
…s) and fixed typo.
There was a problem hiding this comment.
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!
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/fetcher/ISIDOREFetcherTest.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ISIDOREFetcher.java
Outdated
Show resolved
Hide resolved
Current status: Isidore science seems buggy we always get an empty input stream back. |
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
We think, the API as of today returns and empty result if too many words are requested. |
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. |
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.
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)