RSS | Module Info | Add a review of HTML-HTMLDoc

1 out of 2 found this review helpful:

HTML-HTMLDoc (0.08) *

Gary Barnes - 2004-11-17 09:33:12
Was this review helpful to you?  Yes No

1 out of 1 found this review helpful:

HTML-HTMLDoc (0.07) ***

I had problem running it from CGI.
My CGI doesn't assume the path for anything, including htmldoc.
So I had to modify the doc to set the path for htmldoc as /usr/local/bin/htmldoc. It took me few hours to figure it out from my application.

artist - 2004-05-05 09:25:50
Was this review helpful to you?  Yes No

1 out of 1 found this review helpful:

HTML-HTMLDoc (0.07) ****

This module worked great for me. I was easily able to use it to generate a PDF file. I was also happy to see that that the documentation contained a tip to allow it work under mod_perl. Before I found this I made system calls to the 'htmldoc' binary. With this module I no longer have to bother with managing temporary files myself.

Mark Stosberg - 2004-04-08 19:53:01
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

HTML-HTMLDoc (0.07) **

I would not recommend this module. I spent quite a lot time on it and I couldn't get it working.

The software users manual of HTMLDOC contains a far easier way to call HTMLDOC from perl. See chapter 5 paragraph 3 (http://www.easysw.com/htmldoc/htmldoc.html#6_3)

Example: small perl program underneath (*nix) will take your html file and display it as a pdf in browser:

#!/usr/bin/perl
sub topdf {
my $filename = shift;
select(STDOUT); $| = 1;
print "Content-Type: application/pdf\n\n";
system "/usr/local/bin/htmldoc -t pdf --quiet --webpage $filename";
}
&topdf("/path/to/your/htmlfile.htm");

Bart - 2004-04-04 11:29:43
Was this review helpful to you?  Yes No


the camel