Speaking of Wp2html...... Does anyone know if there is an RPM for RedHat 7.x? I found the exe for Windows and the docs stated that you can copy that file over to a Unix box and it will work but that didn't make much sense to me.

Any help you can offer would be greatly appreciated.

Thanks,
bgibson

Gilles Detillieux wrote:
[EMAIL PROTECTED]">
According to Wendt, Trevor:
I've installed wp2html (v3.3d), to convert word docs, and have it setup to
work through doc2html.pl and htdig.

When I run wp2html http://www.domain.com/somefile.doc from the command line,
wp2html errors out saying: Error: Cannot open
http://www.domain.com/somefile.doc. I get the same error with any of the
flags I try.

I think when you run wp2html on the command line, you have to give it
a path to a local file, not a URL, so it can open the file directly.
E.g. wp2html /var/www/html/somefile.doc

When I run rundig -vv -c I get this error on the same file:
1:1:1:http://www.domain.com/somefile.doc: ! UNABLE to convert.

This is likely because doc2html.pl isn't configured to recognize whatever
Content-Type your web server is reporting for somefile.doc. If you run
rundig with -vvv, or -vvvv, you should see the Content-Type that the
server returns when htdig fetches this document. You must configure
this type both in the external_parsers definition in htdig.conf, and
in the doc2html.pl script itself. See the DETAILS file that comes with
doc2html for configuration details.




Reply via email to