This is a tool to roughly convert JATS files to OJS Native XML files for some files given to OICC Press from Springer Nature.
Note: this is not following any kind of JATS specification, purely following the data of which is given to OICC from this one journal move so your results may vary for the better or worse.
php j2o.php [input_directory] [output_directory]
You can also run a HTML output of created full-text html galletys:
php j2o.php html [input_directory] [output_directory]
This will output only the HTML full-text so they can be easily checked for problems converting from JATS to HTML (it's not a 1:1 direct conversion), along with checking references are output.
- This has only been tested using our "simple XML" importer as OJS's native importer is too strict - https://github.com/oiccpress/simplexml
- References are forced into APA style as OJS can only work with a string of reference data
This project is brought to you by Invisible Dragon in collaboration with OICC Press
Copyright 2025 OICC Press
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.