Closed ghost closed 8 years ago
Another interesting feature would be to normalize whitespace and eliminate new line characters from content. For example:
<td class="data">This is a comment that a user made.</td>
By normalizing whitespace and eliminating new lines, you could obtain cleaner data:
The content of the element can then be extracted:
This is a comment that a user made.
For example:
cat filename.html | elfinder --normalize-whitespace --no-eol --extract-content --selector "td.data"
Another interesting feature would be to normalize whitespace and eliminate new line characters from content. For example:
By normalizing whitespace and eliminating new lines, you could obtain cleaner data:
The content of the element can then be extracted:
For example: