jonasraoni / article-importer-plugin

OJS plugin to import A++ and JATS articles
GNU General Public License v3.0
5 stars 4 forks source link

OJS Article Importer Plugin

Plugin to import A++ and JATS articles up to OJS 3.3.0

Requirements

Import Files

To get started you will need to request an export archive of your journal article metadata (metadata.xml) and galley files (fulltext.pdf) for all published articles. The plugin supports the following XML document types:

You will need to review your metadata XML files and ensure that all required data is included. If needed, the metadata.xml files can be edited to manually add any missing, required metadata. The following metadata fields are required:

Import files will need to be placed in a directory on your OJS server, using the following path convention:

where:

All # designations will be treated as numeric values; e.g. 'no.01-02' will be interpreted as "1".

The article folder must have only one XML file, with the extension of .xml or .meta, and only one fulltext PDF file, with the extension of .pdf.

A file named cover.tiff, cover.tif, cover.jpeg, cover.jpg, or cover.png may be placed in the iss# folder, and will become the issue cover image, if present.

If importing JATS, the original metadata XML will be added as a production ready file. Dependent files as named in the XML (via asset or graphic elements) will be appended, if the files are found in the article folder.

Example structure:

xml/
 ├── vol1/
 │    ├── i1/
 │    │   ├── cover.tif
 │    │   ├── 1/
 │    │   │   ├── metadata.xml
 │    │   │   ├── fulltext.pdf
 │    │   │   └── table.png
 │    │   ├── 2/
 │    │   │   ├── jats.xml
 │    │   │   └── article.pdf
 │    │   └── 3/
 │    │       ├── metadata.xml
 │    │       ├── fulltext.pdf
 │    │       └── images/
 │    │           ├── graph1.jpg
 │    │           ├── graph2.jpg
 │    │           └── graph3.jpg
 │    ├── i2/
 │    │   ├── 10/
 │    │   │   ├── 10.meta
 │    │   │   └── 10.pdf
 │    │   └── 15/
 │    │       ├── metadata.xml
 │    │       └── fulltext.pdf
 │    └── ...
 └── vol2/
      ├── i1/
      │   ├── cover.jpg
      │   ├── 1/
      │   │   ├── metadata.xml
      │   │   └── fulltext.pdf
      │   └── ...
      └── ...

Plugin installation

This plugin will need to be installed in your OJS 3.2.1 or newer installation:

For example, to install this plugin via git for OJS 3.2.1:

OJS setup

Your OJS install will also need to include the following:

Usage

Login to your server and execute the following in your OJS source directory.

php tools/importExport.php ArticleImporterPlugin journal username editorUsername defaultEmail importPath

where:

Limitations

Due to limitations with exported XML metadata, the plugin imports published articles in sequential order. Imported articles may need to be further sorted in their respective issue’s table of contents in OJS. In addition, while the plugin attempts to preserve issue sections, some section names and assignments may need correction following the import process.

If no author information is contained in the metadata, the Journal's name will be used as the Author's name.

Please note the import plugin is intended for journal content only and does not support the migration of other formats.

Bugs and Enhancements

We welcome bug reports and fixes via github Issues for this project. Feature enhancements may also be contributed via pull requests for inclusion into the repository.