diff options
author | Episteme Health Inc <ehi-git@epistemehealth.com> | 2021-09-08 18:36:33 +0300 |
---|---|---|
committer | Episteme Health Inc <ehi-git@epistemehealth.com> | 2021-09-08 18:36:33 +0300 |
commit | 4ef9c4aafd53c29eebeaee0000f0ac7c82f453a6 (patch) | |
tree | b0a0eceb108c87da51ea7f12959c5e8c729e6dd1 | |
parent | bd9cbabe8971032de4897d5df3d322b77f7ad8d9 (diff) |
Update README
Reference JATSetter which can help with retrieving metadata from the OJS API.
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -64,7 +64,16 @@ Content should be added to `content\article\path`. Issue paths can be volume num To publish an individual article, use the `.md` templates provided to input metadata for each article. Contents pages will list article types according to `articleType_weight` for each issue. Within each article type, articles will be listed according to publication date. -PDF and XML galleys can be viewed in browser, with JATS XML galleys rendering using eLife Lens. The version of Lens in this theme has been modified slightly to remove some eLife-specific code and to add space for a journal logo and a back button to return to article details. +Pythons scripts are available in [JATSetter](https://github.com/epistemehealth/JATSetter) to retrieve article metadata from OJS via the API and output a `.md` file with the metadata required for this theme. JATSetter requires a `.txt` file with an OJS API token, the url for the journal, the submission ID to be retrieved, and the locale. For example: + +``` +APIToken = 'xxxxxxxxxxx' +journalurl = 'https://journaldomain.tld/index.php/jsci' +submissionid = '45' +locale = 'en_US' +``` + +PDF, HTML, and XML galleys can be viewed in browser, with JATS XML galleys rendering using eLife Lens. The version of Lens in this theme has been modified slightly to remove some eLife-specific code and to add space for a journal logo and a back button to return to article details. ## Canonical URLs |