$plaintext = `/path/to/lynx -dump $url`;I think this will work. (make sure to pass $url through a reg-ex if it can be entered by an unknown user). Lynx does really nice conversion from HTML to plain text.
In reply to Re: Parsing/Extracting Data from HTML.
by Anonymous Monk
in thread Parsing/Extracting Data from HTML.
by Speedfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |