Project

General

Profile

Actions

Feature #19899

closed

Make indexed_search search and index the contents of .zip, .tbz, .tgz and .tar archives

Added by Webmaster almost 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2009-01-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

class.external_parser.php.patch (3.44 KB) class.external_parser.php.patch Administrator Admin, 2009-01-24 10:33
ext_localconf.php.patch (956 Bytes) ext_localconf.php.patch Administrator Admin, 2009-01-24 16:36
ext_conf_template.txt.patch (556 Bytes) ext_conf_template.txt.patch Administrator Admin, 2009-01-24 16:36
class.external_parser.php_new.patch (19.9 KB) class.external_parser.php_new.patch Administrator Admin, 2009-01-26 12:30
ext_localconf.php_new.patch (3.2 KB) ext_localconf.php_new.patch Administrator Admin, 2009-01-26 12:30
Actions

Also available in: Atom PDF