webit-de/html2textlibrary

This TYPO3 CMS extension creates a plain text version of a webpage using the html2text library

5.0.0 2020-07-24 10:39 UTC

This package is auto-updated.

Last update: 2021-03-23 09:40:55 UTC


README

This TYPO3 CMS extension creates a plain text version of a webpage using the html2text library.

Packagist TYPO3

Requirements

  • PHP
  • TYPO3

Installation

TER Entry http://typo3.org/extensions/repository/view/html2textlibrary/

Packagist Entry https://packagist.org/packages/webit-de/html2textlibrary/

Source

https://github.com/webit-de/typo3-html2textlibrary/

Usage

  • Include the static TypoScript »Html2TextLibrary« in your root template

    • The TypoScript creates a new pagetype which inherits it's settings from an existing page object, passes all content to script »Html2TextLibrary« and returns the plain text
    • Open the target page with parameter &type=99 to render the new page type
  • …or append the script »Html2TextLibrary« as user function at the desired point in your TypoScript manually to convert any HTML to plain text

License

GNU General Public License version 2 or later

The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.

Author

Dan Untenzu (untenzu@webit.de / @pixelbrackets) for webit! Gesellschaft für neue Medien mbH (http://www.webit.de/)

Changelog

See CHANGELOG

Contribution

TYPO3 - inspiring people to share!

This TYPO3 extension is Open Source, so please use, patch, extend or fork it.