定制 opencontent/eztika-ls 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Extract the eztika extension, and place it in the extensions folder.

  2. 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)

  3. Enable the extension in eZ Publish. Do this by opening settings/override/site.ini.append.php , and add in the [ExtensionSettings] block: ActiveExtensions[]=eztika

  4. Update the class autoloads by running the script: php bin/php/ezpgenerateautoloads.php -e

  5. 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

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2019-05-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固