Re: swish-e only spiders the server it started on

Rob Mangiafico <[email protected]>
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
> I solved my problem by changing the spider.pl program. I am using 
> swish-e 2.4.3. I added a configuration option "follow_url" to the spider 
> config file, and the necessary code to spider.pl to handle it.  The 
> config file then had in it:
>     ...
>     base_url => 'http://aaa.com/index.html',
>     follow_url => ['http://bbb.com', 'http://ccc.com'],
>      ...  etc ...
> ...
> Following Bill's suggestion for spider.pl and using max_depth may be 
> enough for you. My code is available if you want it.

This may be quite handy code for a lot of people, as we had to do 
something similar to what Bill suggested for a three site search with 
independent content. Please do share it with the community.  :)

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.