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)not-real.peknet.com>
Date: Thu Oct 15 2009 - 17:52:45 GMT
Daqi Li wrote on 10/15/09 12:36 PM:
> I changed 'description' to 'swishdescription' in the .swishcgi.conf file and got the return data for swishdescription as following:
> 
> Description: Path-Name: /var/www/html/nyeb/opinions/ast_bu/09-71298_Spina_mem_op-signed.pdf Content-Length: 22353 ...  
> 
> I think this long line contains much more data than I saw. I need the contents of 'keywords' in it. Is there a way to retrieve only the keywords?

if you just want the keywords, then take 'swishdescription' out of the list of
properties to return and just list 'keywords'.

> 
> Another question, is there a way to run a command line to return this data, so that I can see what is in swishdescription? Something like:
> 
> /usr/local/bin/swish-e -w "$keyphrase" -f $index -x ... (or other option)?
> 

yes, the -x option is what you want. try it and see.

-- 
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
Received on Thu Oct 15 13:52:49 2009