> My concern with this kind of trickery is that the indexing or
> searching
> behavior might change in a future version of ht://Dig in such a way as
> to break my scheme.

That's always possible!

Out of curiosity, are you creating all these documents yourself?

(If you're adding htdig-keywords to meta-tags I guess you are)

Could you not create a sub directory structure on the web server and use
that to help restrict your searches to category?

Using

<input type=hidden name=restrict value="/foo/bar/">
<input type=hidden name=exclude value="/cat1/">

on a directory structure of:
/foo/bar/docs/
/foo/bar/cat1/
/foo/bar/cat2/
/foo/bar/cat3/
/bar/foo/cat2/

would restrict the search to documents in /foo/bar/ sub directories and
exclude any in /foo/bar/cat1

You could build up options in your search form that would allow your
search to return documents from specific directories,

If perhaps you combined this with a "keyword" search option (using
longer codes) maybe (and I'm still not sure I follow what you're doing -
my fault not yours) you could get the desired result.

I don't think these behaviours will change in future versions as many
sites are set up and using ht:dig this way.

Good luck.



_______________________________________________
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