Accept HTML file format for upload

Project:RUcore Workflow Management System (WMS)
Component:Faculty Deposit
Category:feature request

Accept an HTML file format for upload in the faculty deposit module. Generate a PDF presentation file. Generate a searchable text file in an XML-1 datastream. Generate a jpeg-format thumbnail file.



Version:6.2» 7.0


One of the issues with direct upload of HTML, is that external linkages (calling a CSS or javascript for example) may result in rendering problems, without uploading all externally-referenced items as well.

Would it be safe to assume that we're trying to create PDFs of active web pages with publicly accessible URLs?

If so, what I would suggest for this feature is, instead of directly uploading HTML, pointing to a URL that RUcore/WMS could then convert to PDF upon retrieving the fully rendered page.

One linux-based tool that does this is wkhtmltopdf:

<a href="" title=""></a>

Sample PHP integration:

<a href="" title=""></a>

Perhaps worth trying?


Version:7.0» 7-x
Assigned to:Anonymous» yuyang

This needs sw_arch discussion and detailed specs, moving to 7-x. -YY


Version:7-x» 7.2
Status:active» closed

This has been implemented and tested in R7.2.

Back to top