opencontent / eztika-ls
OpenContent eZ Tika (a fork of Paul Borgermans eZ Tika)
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:ezpublish-legacy-extension
Requires
This package is auto-updated.
Last update: 2024-10-28 01:25:31 UTC
README
eZ Tika is an extension that enables a handler for converting multiple binary file formats to plain text as used by the search engine (if you enabled those attributes as searcheable)
Currently, most common formats are enabled (see also binaryfile.ini.append.php):
- application/pdf
- application/msword
- application/vnd.ms-excel
- application/vnd.ms-powerpoint
- application/vnd.visio
- application/vnd.ms-outlook
- application/xml
- application/rtf
- application/vnd.oasis.opendocument.text
- application/vnd.oasis.opendocument.presentation
- application/vnd.oasis.opendocument.spreadsheet
- application/vnd.oasis.opendocument.formula
- application/zip
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- application/vnd.openxmlformats-officedocument.presentationml.presentation
- application/octet-stream (not enabled by default)
License GNU GPL 2.0 - Apache Tika is licensed with the ASF License (Apache)
Install
-
Extract the eztika extension, and place it in the extensions folder.
-
Check if extension/eztika/bin files are executeable by the webserver
chmod +x extension/eztika/bin/eztika
OR
Copy the eztika shell script and tika-app-version.jar from the extension bin folder to a location your web server has access to and edit the shell script as well to set the path to the tika.jar file (make sure it is executable)
-
Enable the extension in eZ Publish. Do this by opening
settings/override/site.ini.append.php
, and add in the[ExtensionSettings]
block:ActiveExtensions[]=eztika
-
Update the class autoloads by running the script: php bin/php/ezpgenerateautoloads.php -e
-
If something is not working you can enable Debugging in
eztika.in.append.php
[DebugSettings]
# Debug=enabled|disabled
# if enabled
# - write Debug Messages to eztika.log
#
# Note: an error message to error.log is always written
# if eztika can not extract any content from binaryfile
Debug=disabled
# KeepTempFiles=enabled|disabled
# if enabled var/cache/ eztika_xxx.txt tmp files are not unlinked
# to debug metadata which is extracted from the binaryfile
# The setting is only active if Debug=enabled
KeepTempFiles=disabled