Take a hard look at the documentation, there may be an option to get
standard output.

If not,  then you can write a script which runs wvText, cats the file and
then deletes it.  You can even get doc2html.pl to do this, for example:

    $cmdl = "$WVTEXT $Input; /bin/cat $Output; $RM $Output";

though what you have to set in $output I do not know.


--
David Adams
Information Systems Services
Southampton University


----- Original Message -----
From: "Keith Pettit" <[EMAIL PROTECTED]>
To: "David Adams" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 4:10 PM
Subject: Re: [htdig] wvHtml or wvText as Word parser


> 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
> > > [EMAIL PROTECTED]
> >
> > 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
> >
> >
> >
> >
>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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