Open ctgraham opened 5 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.
@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.
Proposed workflow: Upload of DAR file via the
SubmissionsFilesUploadForm
is hooked by this plugin and the contents are extracted (if valid).
Specifically:
submissionfilesuploadform::execute
examines the upload@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.
Proposed workflow: Upload of DAR file via the
SubmissionsFilesUploadForm
is hooked by this plugin and the contents are extracted (if valid).Specifically:
submissionfilesuploadform::execute
examines the uploadPrerequisite: https://github.com/pkp/pkp-lib/issues/5146