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.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to