Your Mother has asked for the wisdom of the Perl Monks concerning the following question:
I'm embarrassed I don't know the answer to this since I work on this stuff all the time. I suspect there is already something that does just what I want which is to turn HTML into plain text while maintaining some semblance of layout semantics, e.g.-
Would become
* List item
and links would be shown with their href attribute. I have no need to handle tables with this.
So, please forgive me if I'm being a dummy. Script (to look at) or package for this? I can do it from scratch but would rather not if it's already out there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strip HTML, while preserving layout, with core(-ish) modules
by oko1 (Deacon) on Apr 08, 2008 at 22:47 UTC | |
by Your Mother (Archbishop) on Apr 08, 2008 at 23:02 UTC | |
|
Re: Strip HTML, while preserving layout, with core(-ish) modules
by ww (Archbishop) on Apr 08, 2008 at 22:43 UTC | |
|
Re: Strip HTML, while preserving layout, with core(-ish) modules
by perrin (Chancellor) on Apr 09, 2008 at 13:22 UTC |