Feature #19899
closedMake indexed_search search and index the contents of .zip, .tbz, .tgz and .tar archives
0%
Description
I saw that indexed_search already uses unzip for OpenOffice.org-documents. So I patched our installation to also search in zip files. And while I was at it, I added support for tar files and, again assuming that your tar build has support for bzip2 and gzip, .tbz and tgz.
With the same stuff and just some more switches it would also work for .tar.gz and .tar.bz2 but as I didn't need that yet I didn't do it (yet).
If you're interested in this feature at all, please check the following patches. They do index the files in the archives but they might not be best code.
http://www.off-pist.de/nd/t3patches/indexed_search/class.external_parser.php.patch
http://www.off-pist.de/nd/t3patches/indexed_search/ext_conf_template.txt.patch
http://www.off-pist.de/nd/t3patches/indexed_search/ext_localconf.php.patch
(issue imported from #M10246)
Files