From: Keith P. <kp...@dr...> - 2002-12-10 16:10:34
|
YOur right it dosen't go to standard out. It insists on writting to a file. Does that mean I can't use it? The reason wv is appealing is it's the best more acurate converter I know off, and it's opensource. ANyways if there are any tips or examples of how to take something that has to output to a test file? Either that or I'd settle for something simple. You can parse a word doc and look for certian text by doing this: strings *.doc | grep whatyourlookingfor Not the most elegant but it works. I'm just wanting something functional now. I'll settele for anything opensource. Thanks for taking the time to reply. Keith On Tue, 2002-12-10 at 05:46, David Adams wrote: > > I'm trying to figure out how to get wv (or some free opensource parser) > > to work with htdig to parse though word docs for htdig. In the FAQ it > > just points to the commercial software and I haven't seen anything to > > help me out. > > > > Usage for wvHtml is "wvHtml filname.doc file.html" same goes for wvText. > > What do I need to do to use this? > > > > I've tried the below which dosen't work. > > application/msword->text/plain "/usr/bin/wvText" \ > > > > > > I've also tried different things in doc2html.pl but I obviosly don't > > know where to go with this. > > > > Thanks for any help, > > > > Keith > > kp...@dr... > > I don't know wvHtml or wvText, but as nobody else has replied ... > > Does wvText send its converted output to standard output? A lot of > converters insist on writing to a file, which is a bit of a pain. > > Otherwise > > application/msword->text/plain "/usr/bin/wvText" > > should work, though you could try dropping the quotes. > > Doc2html.pl could be used, provided you know what you are doing. > > -- > David Adams > Information Systems Services > Southampton University > > > > |