[Nottingham] Perl Strip HTML module?
Martin Garton
martin at stupids.org
Wed Nov 8 13:30:24 GMT 2006
On Wed, 2006-11-08 at 13:16 +0000, Richard Bagshaw wrote:
> I'm writing some code that basically checks a pop mailbox and puts the
> information into a mysql database, however if the person sends an email
> in HTML format it looks messy, I am looking for a perl module that will
> convert it to plain text or just strip the HTML. Does anyone have any
> ideas on a module to-do this?
I can't suggest a perl module I'm afraid, but in case it's useful, I
always convert to plain text with "links -dump" which works a treat.
Not very helpful if you can't guarantee links will be installed,
admittedly.
--
Martin.
More information about the Nottingham
mailing list