Describe the bug
Publisher-supplied metadata may or may not contain the body of the fulltext included. For cases where we do receive the fulltext from the publisher, we need to populate the fulltext element of the Document. fulltext is a dict having the keys language and body. In the case of (for example) JATS content, the fulltext will be enclosed within the <body></body> tag. We need to extract this and write it into the fulltext.body.
To Reproduce
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.
Describe the bug Publisher-supplied metadata may or may not contain the body of the fulltext included. For cases where we do receive the fulltext from the publisher, we need to populate the
fulltext
element of the Document.fulltext
is a dict having the keyslanguage
andbody
. In the case of (for example) JATS content, the fulltext will be enclosed within the<body></body>
tag. We need to extract this and write it into thefulltext.body
.To Reproduce Steps to reproduce the behavior:
Additional context Add any other context about the problem here.