Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] How swish-e returns PDF's meta description

From: Peter Karman <peter(at)>
Date: Sat Oct 17 2009 - 02:48:12 GMT
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 to crawl your filesystem, your config would become
simpler because it uses SWISH::Filter internally to handle all the conversion
for you.

Peter Karman  .  .  peter(at)
Users mailing list
Received on Fri Oct 16 22:48:14 2009