OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



PDF to HTML plugin

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

PDF to HTML plugin

Postby JakeEWB » Tue Dec 03, 2013 5:30 pm

Hi all.

I'm interested in creating a plugin that converts an uploaded PDF file to HTML format. Once it has been converted I want to asynchronously load the HTML doc by section (i.e abstract, introduction, method, etc).
I was wondering if anyone could point in me in some directions. I'm aware of the XML Galley Plugin which converts XML to an XHTML galley, would anyone reccomend this as the avenue to go down? Or perhaps exporting the PDF, converting it on the server, then uploading the HTML?

Thanks!
JakeEWB
 
Posts: 6
Joined: Tue Dec 03, 2013 5:07 pm

Re: PDF to HTML plugin

Postby asmecher » Wed Dec 04, 2013 10:06 am

Hi JakeEWB,

The XML galleys plugin is not a bad place to start, though it has a few noted sections in the code that are known to be broken. I would suggest starting by experimenting with your conversion toolchain directly before you get too far into the details of plugin coding, as you may find that automatic PDF to HTML conversion suffers from poor quality output, depending on the process you're using to create PDFs in the first place.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: PDF to HTML plugin

Postby JakeEWB » Wed Dec 04, 2013 8:36 pm

Hi Alec!

I'll concentrate further on the PDF to HTML conversion for now.

Thanks for the help!
JakeEWB
 
Posts: 6
Joined: Tue Dec 03, 2013 5:07 pm


Return to OJS Development

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest