Closed seasidesparrow closed 1 year ago
Base: 86.16% // Head: 86.96% // Increases project coverage by +0.79%
:tada:
Coverage data is based on head (
bee1b40
) compared to base (92e4b7b
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Fixes Issue #30
The XML 'crossref-xml' formatted output from the habanero.crossref.cn.content_negotiation endpoint has a slightly different metadata structure than does the crossref-xml harvested via the OAIPMH endpoint with regards to abstract metadata. From the OAIPMH endpoint, abstracts are (or can be) tagged with
<jats:abstract>
, while in the API XML endpoint, they are tagged with<abstract>
.This fix adds the capability of parsing habanero-sourced crossref-xml using the existing crossref parser by extending the check for abstracts within the
<abstract>
tag. This also removes any<title>
tags and their content from the abstract prior to output.