ad_html_to_text

EveAndersson.com : API Browser : ad_html_to_text

ad_html_to_text (public)

ad_html_to_text [ -maxlen maxlen ] [ -showtags ] html
Defined in packages/acs-core/text-html-procs.tcl

Returns a best-guess plain text version of an HTML fragment. Parses the HTML and does some simple formatting. The parser and formatting is pretty stupid, but it's better than nothing.

Switches:
-maxlen (defaults to "70") - the line length you want your output wrapped to.
-showtags (boolean) - causes any unknown (and uninterpreted) tags to get shown in the output.

Parameters:
html
Authors:
Lars Pind <lars@pinds.com>
Aaron Swartz <aaron@swartzfam.com>
Created:
19 July 2000
[ show source ]

Show another procedure:

eve@eveandersson.com