Accept HTML file format for upload

Project:RUcore Workflow Management System (WMS)
Version:7.2
Component:Faculty Deposit
Category:feature request
Priority:normal
Assigned:yuyang
Status:closed
Description

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.

Comments

#1

Version:6.2» 7.0

#2

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="http://code.google.com/p/wkhtmltopdf/" title="http://code.google.com/p/wkhtmltopdf/">http://code.google.com/p/wkhtmltopdf/</a>

Sample PHP integration:

<a href="http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp" title="http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp">http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp</a>

Perhaps worth trying?

#3

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

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

#4

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

This has been implemented and tested in R7.2.

Back to top