Go to file
Guy Sartorelli f70ad8119d
Merge pull request #95 from creative-commoners/pulls/4.1/remove-self
ENH Use class name instead of self
2024-06-17 12:50:28 +12:00
_config API FileTextExtractable::getContent now takes a File instance instead of a path 2018-07-03 15:55:02 +12:00
.github MNT Run module-standardiser 2023-12-21 12:50:10 +13:00
.travis Move to new travis containerised infrastructure 2015-08-25 15:28:20 +01:00
docs/en DOCS Fix class reference for cache class 2022-03-07 11:20:01 +13:00
src ENH Use class name instead of self 2024-06-05 16:35:57 +12:00
tests API phpunit 9 support 2021-10-27 18:16:05 +13:00
.editorconfig Added standard editor config 2015-11-19 13:27:10 +13:00
.gitattributes Update gitattributes and Scrutinizer configuration 2018-07-03 11:36:04 +12:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:17:44 +13:00
codecov.yml Add phpunit/phpcs configuration and update Travis configuration 2018-07-03 11:35:52 +12:00
composer.json MNT Run module-standardiser (#88) 2024-02-02 14:08:43 +13:00
CONTRIBUTING.md Add supported module standard docs 2015-11-07 14:06:23 +13:00
LICENSE MNT Run module-standardiser 2023-08-14 15:49:45 +12:00
phpcs.xml.dist MNT Travis shared config 2021-01-20 14:49:58 +13:00
phpstan.neon.dist MNT Run module-standardiser (#88) 2024-02-02 14:08:43 +13:00
phpunit.xml.dist MNT Standardise modules 2022-08-01 16:23:36 +12:00
README.md DOC Update README.md for CMS 5 2023-04-19 16:27:44 +12:00

Text extraction module

CI Silverstripe supported module

Provides a text extraction API for file content, that can hook into different extractor engines based on availability and the parsed file format. The output returned is always a string of the file content.

Via the FileTextExtractable extension, this logic can be used to cache the extracted content on a DataObject subclass (usually File).

The module supports text extraction on the following file formats:

  • HTML (built-in)
  • PDF (with XPDF or Solr)
  • Microsoft Word, Excel, Powerpoint (Solr)
  • OpenOffice (Solr)
  • CSV (Solr)
  • RTF (Solr)
  • EPub (Solr)
  • Many others (Tika)

Installation

composer require silverstripe/textextraction

Documentation

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: Silverstripe version, Browser, PHP version, Operating System, any installed Silverstripe modules.

Please report security issues to security@silverstripe.org directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.