Re: [htdig] multiple restricts


Subject: Re: [htdig] multiple restricts
From: peter karlsson (peter@softwolves.pp.se)
Date: Thu Jul 27 2000 - 13:21:24 PDT


alan:

> in my search form can i make a multiple choice <select> option for the
> user for the restricts?? does htsearch support this (below)??:

Yes you can. Just include it as written in the search form, and then
add the restrictions to your configuration file. I have this for my
searching:

build_select_lists: RESTRICT_LIST restrict restrict_names 2 1 2 restrict "Keep current"
# v----------------------------------------------^
restrict_names: "www.softwolves.pp.se" "All of www.softwolves.pp.se" \
                "www.softwolves.pp.se/idoc" "iDOC=" \
                "www.softwolves.pp.se/wrestling" "American Wrestling Trivia" \
                "www.softwolves.pp.se/wolves" "Softwolves Software" \
                "www.softwolevs.pp.se/cbm" "Commodore stuff" \
                "www.starship.pp.se" "www.starship.pp.se" \
                "www.blueharvest.net" "www.blueharvest.net" \
                "" "All"

Read the documentation for build_select_lists and experiment with it a
bit.

-- 
\\//
peter - http://www.softwolves.pp.se/

Statement concerning unsolicited e-mail according to Swedish law: http://www.softwolves.pp.se/peter/reklampost.html

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



This archive was generated by hypermail 2b28 : Thu Jul 27 2000 - 03:20:24 PDT