Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Indexing zip files

From: Peter Flynn <pflynn(at)not-real.ucc.ie>
Date: Wed Dec 01 2010 - 16:06:09 GMT
On 19/11/10 15:24, Peter Karman wrote:
> If anyone on the list has successfully indexed .zip files and/or would
> like to contribute code to the Decompress filter, I'd be happy to offer
> guidance.

The only ZIP files we have indexed are .docx and .odt files, but in
those cases the name of the document inside them is known:

FileFilter  .docx  /usr/bin/unzip "-p \"%p\" word/document.xml"
FileFilter  .odt   /usr/bin/unzip "-p \"%p\" content.xml"
IndexContents XML*  .docx
IndexContents XML*  .odt

///Peter
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Dec 1 11:06:16 2010