Skip to content
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

Add oaDOI fulltext fetcher #3581

Merged
merged 2 commits into from
Jan 2, 2018
Merged

Add oaDOI fulltext fetcher #3581

merged 2 commits into from
Jan 2, 2018

Conversation

tobiasdiez
Copy link
Member

As wished in #2581.


  • Change in CHANGELOG.md described
  • Tests created for changes
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)
  • If you changed the localization: Did you run gradle localizationUpdate?

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 27, 2017
Copy link
Member

@lenhard lenhard left a comment

Choose a reason for hiding this comment

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

Apart from one naming issues, the code looks fine.

However, I executed this branch and the fetcher did not appear in the web search side pane. It should, right? Am I doing something wrong?

*
* @implSpec API is documented at https://oadoi.org/api/v2
*/
public class oaDOI implements FulltextFetcher {
Copy link
Member

Choose a reason for hiding this comment

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

That's not an "ok" name according to the naming conventions for Java classes: they need to start with upper case. Please rename this to OaDOI or maybe OaDoi. Maybe OpenAccessDoi would be even better.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, I wasn't sure about the naming conventions and this service seems to be really called oaDOI. But OpenAccessDoi is good.

@tobiasdiez
Copy link
Member Author

@lenhard It is only a fulltext fetcher. Thus it never appears in the GUI but is used when you click the "fetch fulltext" button in the entry editor. It looks for an URL for the paper based on the information in the entry (such as DOI).

@tobiasdiez tobiasdiez merged commit b246b9c into master Jan 2, 2018
@tobiasdiez tobiasdiez deleted the addoadoiFetcher branch January 2, 2018 21:23
@stefan-kolb stefan-kolb mentioned this pull request Jan 2, 2018
5 tasks
Siedlerchr added a commit that referenced this pull request Jan 2, 2018
* upstream/master:
  Add oaDOI fulltext fetcher (#3581)
  Refactor export code to fix #3576 (#3578)
  Fix #3359: Automatically remove colon and apostrophe from key pattern (#3506)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants