I don't have a solution, but a similar problem.
I want to use SSI in the files that htdig serves.
This isn't possible from what I've read, but I have a related feature
Can some sort of include mechanism exist withing htdig pages?
For instance, in my html pages, a typical include works like so:
<!--#include virtual="/foo.html" -->
If I build a site using html pages, but mix in some perl code using
HTML::Template I can use includes again:
<!-- TMPL_INCLUDE NAME="foo.html" -->
Different syntax, does the same thing.
Is there a chance htdig could do some sort of file include?
It would help to avoid having to put things like nav bars, footers,
copyright text, etc. directly into the htdig files...
> I have htdig running and I like it a lot but I can't figure out how to
> log search queries to a file. The idea here is to look at the queries
> and improve the search results through a variety of means.
> I am mainly concerned with queries that turn up zero hits. The most
> obvious thing, it seemed, was to modify the nomatch.html file to write
> the queries to a file.
> Since turning on PHP parsing of .html files is not practical on my site,
> I began looking for ways of making the nothing_found_file a PHP file. I
> have had no luck; while I can set this in the conf file to a .php file,
> the file will not parse as PHP (it dumps it as HTML; I can view the PHP
> source in my browser).
> Does anyone have a workaround for this?
> quag7@... * ICQ#13365630
> #jiggyweek (irc.sorcery.net) * Uptime: [ ~1.3 billion ] years