Provide a checkbox "Convert HTML to Text" on NLP Cloud Blog post Augmentor

Created on 31 May 2023, over 1 year ago
Updated 2 May 2024, 7 months ago

Problem/Motivation

Convert html to text

There are a few PHP libraries that can be used to convert HTML to text. Some of the most popular libraries include:

  • html2text - This library is a simple and easy-to-use library that can be used to convert HTML to text. It is available as a PHP package and can be installed using Composer.
  • Tidy - This library is a more powerful library that can be used to convert HTML to text. It can also be used to clean up HTML code and remove unwanted elements. Tidy is available as a PHP package and can be installed using Composer.
  • HTML Purifier - This library is another powerful library that can be used to convert HTML to text. It can also be used to clean up HTML code and remove unwanted elements. HTML Purifier is available as a PHP package and can be installed using Composer.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India naveenvalecha New Delhi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @naveenvalecha
  • Status changed to Closed: outdated 7 months ago
  • 🇯🇵Japan eleonel Itoshima 🇯🇵

    THe main augmentor module nows returns the response from the LLM respecting the format: plain text, html, json, and depending on the target field the value will be leaved (for rich text fields) as it is or converted to plain text (for plain text fields and select box, taxonomies, etc)

Production build 0.71.5 2024