pkp / texture

Texture JATS XML editor integration for OJS
GNU General Public License v3.0
23 stars 18 forks source link

Enable upload of DAR file directly #32

Open ctgraham opened 5 years ago

ctgraham commented 5 years ago

Proposed workflow: Upload of DAR file via the SubmissionsFilesUploadForm is hooked by this plugin and the contents are extracted (if valid).

Specifically:

Prerequisite: https://github.com/pkp/pkp-lib/issues/5146

ctgraham commented 4 years ago

@withanage , do you have any work so far on processing the DAR within PHP code? This was mentioned in the PKP Technical Committee particularly regarding the recent conversations across Texture and Fidus Writer.

withanage commented 4 years ago

@ctgraham Actually, not yet. The only code which is there is on the generation side in the https://github.com/pkp/jatsTemplate Sorry for delay in replying due to travelling.

withanage commented 4 years ago

Proposed workflow: Upload of DAR file via the SubmissionsFilesUploadForm is hooked by this plugin and the contents are extracted (if valid).

Specifically:

@ctgraham Thanks for the specification. This is the exact way, I thought this to do. An addition will be to check the validity of the manifest file and check if the xml file is valid and has at least a jats body. If no header metadata is avaliable or the plugin configuration allows that, we can fill the jats head with ojs metadata.