[Namazu-users-en] Re: config help

Tadamasa Teranishi yw3t-trns at asahi-net.or.jp
Thu Aug 23 13:47:18 JST 2007


Bill Traynor wrote:
> 
> The latter created the indexes and template files in
> /usr/local/var/namazu/index/listname fine.
> 
> My question is, when browsing the mhonarc created html archives, I
> don't see anything regarding searching at all.  So how do I tie
> together the mhonarc html files and the namazu templates?

If the index is only one. 

.namazurc are:

Index      /usr/local/var/namazu/index/listname
Template /usr/local/var/namazu/index/listname
Replace /usr/local/var/namazu/index https://myhostname.com/archives



If you make two or more indices for /usr/local/var/namazu/index/ 

.namazurc are:

Index      /usr/local/var/namazu/index
Template /usr/local/var/namazu/index
Replace /usr/local/var/namazu/index https://myhostname.com/archives

and NMZ.head of the template directory is edited. 

For selecting multiple indices NMZ.head needs a checkbox. 

      <strong>Target</strong>
      <ul>
      <li><input type="checkbox" name="idxname" value="foo">foo</li>
      <li><input type="checkbox" name="idxname" value="bar">bar</li>
      <li><input type="checkbox" name="idxname" value="baz">baz</li>
      </ul>

In the above example, you can select multiple indices from foo, bar,
and/or baz.

see. http://www.namazu.org/doc/manual.html.en#form-idxnames

Please refer to search.namazu.org. 

http://search.namazu.org/index.html.en
--
=====================================================================
TADAMASA TERANISHI  yw3t-trns �� asahi-net.or.jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E



More information about the Namazu-users-en mailing list