Subject: [htdig3-dev] Re: feature request: embedable search engine (PR#843)
Date: Thu May 11 2000 - 11:18:37 PDT
It's been rumoured that Geoff Hutchison said:
> At 11:48 PM -0400 5/10/00, firstname.lastname@example.org wrote:
> >I have a program (gnucash, actually, see www.gnucah.org, its a gpl'ed
> >home-finances app) whose 'help' pages are in fact just plain html.
> >(and are displayed with the gtk-xmhtml widget which is embedded in the
> >app). I'd like to enhance the app with a search engine that
> >searches *only* through the gnucash docs. Viz, what I need is
> >C language interface:
> Why does it need to be a C language interface? There are wrappers in
> Perl and Shell and PHP. I guess technically you could write a C
> wrapper around htsearch in much the same way and do what you want.
Our expereince with wrappers has been terrible. Of course, good
developers and/or sysadmins can always make this stuff work, but
'joe average' user struggles mightly and usually fails. Since gnucash
is supposed to be something your grandma is supposed to be able to use
we can't burden it with excessive (viz, zero) install/config weight.
> >How easy/hard is this? I suppose I could hack something like this up
> >myself, but it be easier if it was 'supported' and 'documented' ...
> You may want to take a look at the KDevelop code or WWWWoffle, which
> use ht://Dig internally. I must admit I haven't taken a look at what
> they do to call ht://Dig, but they may provide ideas for you.
Yeah, I guess I'm smart enough to figure this out. I guess my real
request would be to have rpms, or debs, that allow embedded use:
htdig-3.2-libs.rpm installs /usr/lib/libht.so & etc.
htdig-3.2-devel.rpm installs /usr/lib/libht.a and /usr/include/htdig.h
that would allow gnucash to use ht and solve the install problem as
well. Otherwise, it becomes an install nightmare. The other solution
is to have gnucash cut-n-paste htdig code, which is icky, because then,
whenever htdig gets patched, we don't stay in sync ...
I'm hoping to get further into this in the next few months ...
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu May 11 2000 - 09:06:11 PDT