Download the PHP package dlindberg/blob-chunk without Composer
On this page you can find all versions of the php package dlindberg/blob-chunk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dlindberg/blob-chunk
More information about dlindberg/blob-chunk
Files in dlindberg/blob-chunk
Package blob-chunk
Short Description Utility for breaking up a content fragment of HTML for search indexing
License MIT
Homepage https://github.com/dlindberg/blob-chunk
Informations about the package blob-chunk
blob-chunk
This is currently an early work in progress. The purpose of this project is to take a content block of html and break it apart into smaller chunks to make to improve indexing with search appliances such as Algolia, where frequently the raw html content is too large to fit within the index limits.
Install
Via Composer
Basic Usage
Returns an array of content chunks. By default it attempts to break out lists, tables, header tags, and paragraphs as separate elements. It also breaks apart paragraphs into sentences. There is a reasonable amount of surface area for extensibility and configuration; however, that area of the project is still somewhat of a work in progress.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
The current tests for the manager are reasonably thorough. Tests on the parser and parent class need to be improved.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Dane Lindberg
- All Contributors
The boiler plate for this project is based on The League of Extraordinary Packages' Skeleton package repository.
License
The MIT License (MIT). Please see License File for more information.
All versions of blob-chunk with dependencies
ext-dom Version *
ext-libxml Version *
ext-mbstring Version *
dlindberg/dom-document-factory Version ^1.0