At 10.18 08/02/2002 -0500, Bobby Mitchell wrote:
>Can somebody give me an example of using the restrict attribute, whether 
>in the conf file or the search.html form, that restricts the search to 
>display only pdf documents.

Ciao Bobby,

   You can use the same configuration file and build a new HTML form (or 
with various techniques, you can use select boxes to do this), in which you 
include this line, before the </form> instruction:

<input type="hidden" name="restrict" value=".pdf">

This restrict the search only to those URL containing '.pdf' in their name.

Hope this helps (this is the easiest solution though)
-Gabriele

--
Gabriele Bartolini - Computer Programmer
U.O. Rete Civica - Comune di Prato - Prato - Italia - Europa
[EMAIL PROTECTED] | http://www.po-net.prato.it/

  The nice thing about Windows is - It does not just crash,
  it displays a dialog box and lets you press 'OK' first.


_______________________________________________
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