Add oaDOI fulltext fetcher#3581
Conversation
lenhard
left a comment
There was a problem hiding this comment.
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.
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.
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?