Re: htdig: more databases


Jesse op den Brouw (jesse@crytonII.st.hhs.nl)
Mon, 19 Jan 1998 16:50:38 +0100


Ivo van Steenbruggen wrote:
>
> Hi,
>
> I'm trying to make more databases for different sites. I.e.:
>
> I want to make a db of:
> http://www.sites_nrone.com
>
> And another db of:
> http://www.sites_nrtwo.com
>
> How can I do this and how should I search from another database?
>
> Regards,
> Ivo

There are two ways you can do it:

Make two separate databases; you need two config files with it's own
database_dir: .... and start_url: ... line. You'll get two complete
separate
systems.

Or you can use one config file, specifing both the urls in the
start_url:
line and use the restrict option in the search.html page. Next is what
I've done at our school:

(index all servers in one big database. note: some words are in dutch)

Beperk tot: <select name=restrict>
<option value="">(geen beperking)
<option value=www.hhs.nl>hogeschool web-server
<option value=www.st.hhs.nl selected>sector techniek
<option value=www.si.hhs.nl>sector I&I
<option value=www.sem.hhs.nl>sector E&M
<option value=www.sost.hhs.nl>sector OST
<option value=www.hhs.nl/sggm>sector GG&M
<option value="www.si.hhs.nl|www.st.hhs.nl">technische sectoren
</select>

--jesse
---------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engineering Netherlands
Electrical Engineering +31 70 4458936
-------------------- J.E.J.opdenBrouw@st.hhs.nl ---------------------

Linux - because reboots are for hardware changes
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:32 PST