-
-
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
Add oaDOI fulltext fetcher #3581
Conversation
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.
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 { |
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.
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.
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.
Good point, I wasn't sure about the naming conventions and this service seems to be really called oaDOI
. But OpenAccessDoi
is good.
@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). |
As wished in #2581.
gradle localizationUpdate
?