Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] config file

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon May 05 2008 - 19:07:09 GMT
On Mon, May 05, 2008 at 02:06:17PM +0700, david webster wrote:
> 
> 1 - If I need a config file, is the one I have prepared acceptable?

No, doesn't look like it.


> 2 - What should I name my config file "?????.config"

Anything you like.  You tell swish what you called it when you pass
-c.

    swish-e -c my_own_config.file


> 3 - In which directory should I load that file?

In which directory should you place it? That's up to you.

Which dir should you load it from?  The one where it's located.

So if it's in /home/david/swish/conf/

Then you either:

    cd /home/david/swish/conf
    swish-e -c my_own_config.file

or you give swish the full path:

    swish-e /home/david/swish/conf/my_own_config.file


> 4 - Do I need to change anything in the "defaults" to tell it I have

?


> .
> ==================

> IndexFile /home/indexfiles/docs.index
> 
> IndexDir docs /home/otherdocs
> 
> IndexOnly .htm .html .php
> 
> FollowSymLinks yes
> 
> MetaNames description
> 
> UndefinedMetaTags ignore
> 
> # Specify the program to run
> IndexDir ../prog-bin/spider.pl

But above you specified /home/otherdocs.  Just specify one.


> SwishProgParameters default http://swish-e.org
> SwishProgParameters default http://www.guidetothailand.com
> SwishProgParameters default http://www.maps-thailand.com
> SwishProgParameters default http://www.pattayai.com
> SwishProgParameters default http://www.thailights.com
> SwishProgParameters default http://www.resorthotelreviews.com
> SwishProgParameters default http://www.thailandhotelpicks.com

Last one is the one that will be used.  If you need to spider
multiple sites you have to setup a spider config file.


> IndexContents HTML .htm .html .php

That won't work for spidering, IIRC.


> 
> # Specify the URL (or URLs) to index:
> IndexDir http://www.guidetothailand.com
> IndexDir http://www.maps-thailand.com
> IndexDir http://www.pattayai.com
> IndexDir http://www.thailights.com
> IndexDir http://www.resorthotelreviews.com
> IndexDir http://www.thailandhotelpicks.com

Ya, you are mixing two different spidering methods.


Take a look at the docs again.  Maybe see if you can follow these
steps first:

http://swish-e.org/docs/install.html#spidering_and_searching_with_a_web_form_


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon May 5 15:05:55 2008