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 request.

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...

thanks...


Pete



Quag7 wrote:


Hi.

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?

--
[EMAIL PROTECTED] * ICQ#13365630
http://www.frostwarning.com/~quag7
#jiggyweek (irc.sorcery.net) * Uptime: [ ~1.3 billion ] years






------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to