Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] index a list of files

From: Brad Bauer <bbauer(at)not-real.telstate.com>
Date: Wed Jul 09 2008 - 04:12:09 GMT
I'd thought of that, but was hoping there was an easier way.

Thanks for the info


B Bauer

-----Original Message-----
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Peter Karman
Sent: Wednesday, July 09, 2008 12:03 AM
To: Swish-e Users Discussion List
Subject: Re: [swish-e] index a list of files



Brad Bauer wrote on 7/8/08 10:24 PM:
>  
> Sorry, my email client is not indenting when I reply.
> 
> I understand what you mean about separate indexes now.  Back to my 
> original
> question: is there is a way to feed swish-e a specific list of local files
> to index?   We are having a problem where pdfs we don't want indexed get
> indexed, so I would like to only index pdfs that have links to them 
> (the list I gather while spidering).  I am dealing with hundreds of 
> pdfs, so its not always easy to spot and remove these.
> 

You could hack DirTree.pl (installed next to spider.pl iirc) to read from a
list pretty easily. Or write your own -S prog program to do the same. Look
at SWISH::Prog on the CPAN to aid in that direction (you could create an
Aggregator that simply iterates over the lines in the file).

But there is no read-from-file option built-in that I am aware of.

--
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Jul 9 00:12:04 2008