OJS3 Plugin for parsing JATS XML and displaying it on article detail page.
Website Settings -> Plugins -> Upload a New Plugin
(make sure php.ini variables upload_max_filesize
and post_max_size
a set to equal or more than 16M) or unpack the archive into the plugins/generic/
folder.JATSParser/logo/logo.jpg
file by yours.
After activation the plugin adds new item to the publication form: The first select option contains the list of XML files uploaded to the production ready stage where is possible to pick the file that will be converted and saved as article's full-text. Before saving, a result of a conversion can be previewed. Under the hood the conversion process transforms JATS XML into HTML and saves the results in the database.
After publication full-text will be shown on the article landing page under the abstract.
plugins/generic
folder starting from OJS webroot.git clone --recursive https://github.com/Vitaliy-1/JATSParserPlugin.git jatsParser
.cd jatsParser/JATSParser
and composer install
.
Starting from this version JATS Parser Plugin starts to serve HTML statically and will no longer support rendering of the full-text on the fly on the galley page. Instead full-text is generated on demand from production ready JATS XML files and saved as a part of the publication.