~/tools/ojs-back-issue-importer$
Turn a spreadsheet of back issues and their PDFs into one OJS Native XML file in your browser, checked before import, with no converter to install.
Published
Your spreadsheet and PDFs stay on this computer: the XML is made in this browser and nothing is uploaded. .
~/tools/ojs-back-issue-importer$cat how-to-use
Make one row per article. Issue columns (issue_volume, issue_number, issue_year, issue_date) repeat on every row of the same issue; the article columns are title, abstract, authors (Family, Given, with || between authors), author_emails (one per author, same order), keywords, pages and galley (the PDF file name). title[en] or abstract[fr] adds the same field in another language; locale sets the article's own language (en, ur, zh_Hans). OJS 3.5 renamed some language codes (zh_CN is now zh_Hans): the tool refuses an old code, because OJS would import it without a word and store a language the journal does not have.
Save it as CSV UTF-8, choose it above, then choose all the PDFs it lists. The tool names every problem before it makes anything: a missing PDF, an author without an email, one issue with two dates. If your journal calls its author role or its article file type something else, change the two names under "Your journal's names".
Make the import file and import it on the server: php tools/importExport.php NativeImportExportPlugin import back-issues.xml <journal path> <admin username>, run from the OJS folder as the web server user. The issues arrive published but not as the current issue; sections are matched by their abbreviation or created.
~/tools/ojs-back-issue-importer$cat proof
On a fresh server for each Ubuntu release, with OJS 3.5.0-6 installed as the OJS course installs it, this tool’s own code made the import file from a spreadsheet of two back issues and five articles in English, Urdu and Chinese, with their PDFs. The file validated against OJS’s own native.xsd, importExport.php imported it, and the articles, titles, authors and both issues appeared on the journal; the four PDFs downloaded back byte for byte. The run also showed why the tool refuses the old code zh_CN: OJS 3.5 imports it without a word and stores a language it does not have. The run log shows every command and what the server printed.
Ubuntu 26.04.1: passed all 26 checksRead the run log (Ubuntu 26.04.1)
Ubuntu 24.04.5: passed all 26 checksRead the run log (Ubuntu 24.04.5)
Ubuntu 26.04.1
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +4.1 MB.
Ubuntu 24.04.5
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +4.1 MB.
Every command on this page was run on this server and the output shown is what it printed. How we test