in reply to Strip HTML, while preserving layout, with core(-ish) modules

Non-Perlish, but - I usually use either 'lynx -dump <filename>' if I don't care about layout, and 'w3m -dump <filename>' if I do. Unfortunately, the latter does not handle the links in the way you've asked, while the former does.


-- 
Human history becomes more and more a race between education and catastrophe. -- HG Wells
  • Comment on Re: Strip HTML, while preserving layout, with core(-ish) modules

Replies are listed 'Best First'.
Re^2: Strip HTML, while preserving layout, with core(-ish) modules
by Your Mother (Archbishop) on Apr 08, 2008 at 23:02 UTC

    Thanks! (The first draft of my question contained a reference to lynx though I didn't play around with it yet.)