At the beginning everything seemed to be so easy, but now I fail to get out of this one ...
I'm trying to run htdig 3.1.6 on a Debian system, using doc2html and external parsers pdf2html and wp2html. Parsing and indexing work fine for pdf and msword, but fail on wordperfect - and we have lots of old (and new) wordperfect-files. Using the command line I get the following: >./wp2html wordperfectfile.wpd ><-- Wp2Html Version 4.0 --> ><~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> > Registered Copy ><__________________________________________________> > >------> Input will be read from file wordperfectfile >------> Using configuration file wp2html.cfg >----------------------------------------------- >Default HTML Version 3.0 descriptor by Andrew Scriven >[EMAIL PROTECTED] >Currently for Netscape HTML+ >----------------------------------------------- >------> Using user styles file wp2html.sty >------> Output will be written to file wordperfectfile.html >Document created with WordPerfect with file format version 2.1 ... resulting in a file wordperfectfile.html - i.e. wp2html works correct. But: > ./doc2html.pl /usr/share/htdig/wordperfectfile.wpd application/wordperfect >doc2html: [application/wordperfect] >! UNABLE to convert There is some mistake that I can't track down. I also tried: > ./doc2html.pl /usr/share/htdig/wordperfectfile.wpd application/wordperfect5.1 and > ./doc2html.pl /usr/share/htdig/wordperfectfile.wpd application/wordperfect6.0 and > ./doc2html.pl /usr/share/htdig/wordperfectfile.wpd application/Wordperfect Same result. I read some stuff about mime-types that I don't understand. Is it matter of wordperfect-versions? Any hints? Klaus ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

