Skip to content

Convert IEEE fetcher to new interface#4162

Merged
tobiasdiez merged 4 commits into
masterfrom
ieeeConvert
Jul 12, 2018
Merged

Convert IEEE fetcher to new interface#4162
tobiasdiez merged 4 commits into
masterfrom
ieeeConvert

Conversation

@tobiasdiez

Copy link
Copy Markdown
Member

The IEEE fetcher now also fits in the new infrastructure and is converted to use the new IEEE API. The original fetcher performed a quite "sophisticated" cleanup of some fields. I'm not sure if this was needed because of scraping the webpage / a buggy BibTeX export or because the data is inherently faulty. After looking at the JSON response of some queries it appears that these cleanups are no longer necessary.


  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • Screenshots added in PR description (for bigger UI changes)
  • Ensured that the git commit message is a good one
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Jul 3, 2018
/**
* @implNote <a href="https://developer.ieee.org/docs/read/Metadata_API_responses">documentation</a>
*/
public static BibEntry parseIEEEJSONtoBibtex(JSONObject jsonEntry, Character keywordSeparator) {

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.

For me this belongs to the IEEE class.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good point. Moved it to the fetcher (as well as the other parsing code in that class)

@tobiasdiez tobiasdiez merged commit 75becb0 into master Jul 12, 2018
@tobiasdiez tobiasdiez deleted the ieeeConvert branch July 12, 2018 19:54
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.

2 participants