Hi again!
From the same project mentioned in
my previous contribution, now here is the Ejme plugin. This was the main target of the Ejme project. It's purpose is to have supplementary files either local (as usual in OJS) or remote in some external repository. Besides it should be able to deposit a local supplementary file to that external repository. E.g. research data on which the article is based, can thus be published in its own right, while maintaining a (qualified) link to the article (by means of the Resource Map).
The connection to the repository uses the SwordApplicationClient package that comes with OJS version >= 2.3.5
Usage of the SwordAppClient requires additional PHP extensions CURL, SimpleXML and ZIP, by the way.
If OJS < 2.3.7 than it needs bugfix
#6740, which primarily adds a few missing hooks in the code, related to supplementary file metadata editing. Also, OJS now permits the existence of supplementary file metadata without an uploaded file.
Bugfix #6740 will be part of standard OJS as of version 2.3.7.
The deposit point is configurable through the plugin's settings. Unfortunately, the metadata-format sent to the external repository is highly specific to the Dutch academic
DANS/EASY repository, so this part of the plugin is of limited use to a general audience. However, you could adapt it to your own requirements of course. Or, even better, find some way to make this part configurable.
Gr. Maarten