Annulleret

PHP Script to convert HTML to TEXT with rules

I need a PHP script. It should use DOMDocument and its document traversal / parsing functions to achieve the following:

1) Generate Text from HTML

2) Ability to specify which nodes should be skipped (in configuration/settings that can be easily changed).

3) Ability to treat formatting nodes (<b><i> etc) separate from other nodes like <div> <p> etc.

4) Ability to skip text from "non-formatting" nodes, if it is less that N words/characters long.

5) Must not use any third party library.

Code must be neat, clean and modular --> easy to read, tweak, maintain and change.

Need it delivered in couple of hours. Quick job for right coder.

Færdigheder: HTML, HMLT5, Javascript, PHP

Se mere: text parsing, rules, generate html, php parsing text, php html parsing, html parsing php, html clean div, script php html text, clean php script, clean text, change php html, tweak php code, html convert php, parsing html, html tweak, convert html div code, php script html text, code html div convert, convert div html, script code html, text formatting job, php text parsing, php convert html, modular script, convert div

Om arbejdsgiveren:
( 59 bedømmelser ) Mumbai, India

Projekt-ID: #6023588