opencontent/eztika-ls
Composer 安装命令:
composer require opencontent/eztika-ls
包简介
OpenContent eZ Tika (a fork of Paul Borgermans eZ Tika)
README 文档
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/eztikaOR
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
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2019-05-27