Modifying search script to search new database

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Modifying search script to search new database

Post by Thunderstone »



Hi,

I have got webinator working well with the default database (db).

I have also been able to create new databases and initiate crawls
of a couple of websites.

My question is how to I modify the newsearch script to search
these new databases? For instance I created an new database ( I
called it "ag") and stored it under the db folder. I changed the
following lines in the newsearch script:

<DB = athunders/webinator/db/ag>

and used any combination of these below:

<$defaultdir = "athunders/webinator/db/">
<$defaultdir = "athunders/webinator/">

Still no workie! Please help!!

Thanks!

Jerry


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Modifying search script to search new database

Post by Thunderstone »



At 02:08 PM 10/9/98 -0400, you wrote:

Don't put it under your db directory, but create your new database like this:

/pathto/gw -create -dag

-d is tells it the name of the db. It will make the directory under
Webinator and then to search, you can follow the Webinator instructions on
searching a different database.


.. Ryan

---
Ryan A. MacMichael (rmacmich@rstcorp.com), Webmaster
Reliable Software Technologies
21515 Ridgetop Circle
Sterling VA 20166
(703) 404-9293 http://www.rstcorp.com/



Post Reply