Can you give me a sample config file for DirTree.pl?
Thanks,
-Daqi
--- On Fri, 10/16/09, Peter Karman <peter@peknet.com> wrote:
> From: Peter Karman <peter@peknet.com>
> Subject: Re: [swish-e] How swish-e returns PDF's meta description
> To: "Swish-e Users Discussion List" <users@lists.swish-e.org>
> Date: Friday, October 16, 2009, 10:48 PM
> Daqi Li wrote on 10/15/09 4:07 PM:
> > Hi Peter,
> >
> > As you said, I used this command line to get
> swishdescription:
> > swish-e -w "09" -f /var/www/ast.swish-e -x "%d\n"
> >
> > and then use perl to get the content of the meta
> name="keywords" from it. It seems to work fine to me (see
> the attached screenshot), except the double quote was
> changed to weird chars. Is there any way to fix it?
> >
> > Your this line helped me much:
> > FileFilter .pdf /usr/local/bin/swish-filter-test
> '-headers -content %p'
> >
> > What does swish-filter-test and '-headers -content %p'
> do?
>
> swish-filter-test is the example program that comes with
> SWISH::Filter.
>
> If you used DirTree.pl to crawl your filesystem, your
> config would become
> simpler because it uses SWISH::Filter internally to handle
> all the conversion
> for you.
>
> --
> 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 Mon Oct 19 08:31:08 2009