Re: [htdig3-dev] external_parser syntax


Subject: Re: [htdig3-dev] external_parser syntax
From: Tom Metro (tmetro@vl.com)
Date: Sat Dec 04 1999 - 09:28:15 PST


Gilles Detillieux <grdetil@scrc.umanitoba.ca> writes:
> > Have you considered using variable substitution?
> > ...it might lessen the need for creating shell wrappers for
> > external parsers that rearrange or discard parameters. i.e.
> >
> > external_parser: application/ms-word "mswordparser -w $infile"
>
> Not a bad idea...
>
> but you'd need something that doesn't conflict with the existing
> variable substitution mechanism.
Oops. Forgot about that. (In my original comment when I remarked that
the variable substitution code was already in htdig (htsearch), I was
thinking about the HTML templates used for search results.)

> ...you'd want to implement a different mechanism altogether, using
> either a different lead-in character than "$", or requiring a
> backslash before the "$" in the arguments.
I'd say use a different token scheme, but hopefully one that will
still work with the existing variable (string) substitution code so
you can reuse that code.

 external_parser: application/ms-word "mswordparser -w %infile"

 -Tom

-- 
Tom Metro
Venture Logic                                     tmetro@vl.com
Newton, MA, USA

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Sat Dec 04 1999 - 10:10:26 PST