PDF Merge Plugin for OJS3

Hi

In the past view weeks I built a plugin which merges given manuscript files from OJS into one PDF file.

We needed this plugin for our OJS instance because there are a lot of submissions coming in with multiple seperated files.

The plugin itself is pretty raw at the moment. So if you got any recommendation or tips just open an issue on the repo.

You can find the plugin / web api / converter service and installation instructions on Github

Thanks @asmecher @ctgraham with your help over the past few weeks.

2 Likes

Hi @KRONWALLED,

Congratulations! This is a lot of work :slight_smile:

Have you considered using a gateway plugin to expose the URL endpoint, rather than extending the API? That would permit you to encapsulate the plugin better, rather than requiring some files to be copied into the main codebase.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

Using a gateway plugin was my first approach :cold_face:
It also worked but I thought the new API is the way to go.

If the gateway support will stay in OJS I also like it to be more encapsulated.
I will revert to the gateway version then :+1:

Hi @KRONWALLED,

Both approaches will stay available. The API will be better for cases where you want interoperability with some system outside OJS, but since you’re just using it to implement an interaction within your plugin, something like a gareway plugin or custom handler is probably better.

Regards,
Alec Smecher
Public Knowledge Project Team

Hey @asmecher

Ok understood.
I already made the change back to the gateway plugin residing inside the generic plugin.

Also fixed some bugs.

Is there a way for me to edit the first post of this thread? Somehow I can’t see the “Edit” icon.

Regards
Torben