API Stop using deprecated API
|2 months ago|
|.github/workflows||6 months ago|
|.travis||8 years ago|
|_config||5 years ago|
|docs/en||11 months ago|
|src||2 months ago|
|tests||1 year ago|
|.editorconfig||7 years ago|
|.gitattributes||5 years ago|
|.upgrade.yml||5 years ago|
|CONTRIBUTING.md||7 years ago|
|README.md||6 months ago|
|code-of-conduct.md||7 years ago|
|codecov.yml||5 years ago|
|composer.json||12 months ago|
|license.md||5 years ago|
|phpcs.xml.dist||2 years ago|
|phpunit.xml.dist||6 months ago|
Text extraction 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.
FileTextExtractable extension, this logic can be used to
cache the extracted content on a
DataObject subclass (usually
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)
- Silverstripe ^4.0
- (optional) XPDF (
- (optional) Apache Solr with ExtracingRequestHandler
- (optional) Apache Tika
composer require silverstripe/textextraction
The module depends on the Guzzle HTTP Library,
which is automatically checked out by composer. Alternatively, install Guzzle
through PEAR and ensure its in your
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 email@example.com 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.