Date: Wed, 23 Feb 2005 00:50:19 -0500 From: Louis LeBlanc <FreeBSD@keyslapper.net> To: freebsd-questions@freebsd.org Subject: Re: filtering html tags from email Message-ID: <20050223055018.GA82969@keyslapper.net> In-Reply-To: <200502222316.32866.m.hauber@mchsi.com> References: <200502222316.32866.m.hauber@mchsi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 02/22/05 11:16 PM, Mike Hauber sat at the `puter and typed:
> Without going through the hassle of setting up proxy servers,=20
> isn't there a way that one can filter out html tags from a=20
> message (say, pipe the email through the filter from kmail for=20
> instance?)
>=20
> Perhaps I'm looking too hard for it, but I didn't see anything in=20
> the ports tree except for /mail/nohtml. I tried to pipe a html=20
> message through nohtml.py from kmail, but doesn't seem to work=20
> (although I'm getting no errors from kmail's filter log).
>=20
> Any ideas? Thx.
Mutt saves to a temp file then calls the following command:
lynx -localhost -dump %s
where '%s' is the temporary file you saved it to.
You could also just pipe it to the following:
lynx -localhost -dump -stdin
the -localhost argument prevents lynx from simply following links
external to your machine - helpful to avoid generating hits for
unscrupulous spammers that get paid for hits on a URL.
Just make sure lynx is installed.
Lou
--=20
Louis LeBlanc FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2
Habit is habit, and not to be flung out of the window by any man, but
coaxed down-stairs a step at a time.
-- Mark Twain, "Pudd'nhead Wilson's Calendar
--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCHBmar4Wi/oDI2aIRAvr4AJwITqWixImbYC5QF1Z3Xq0uMBerEQCdECML
IysuV0pdvn3or+4weMeenwo=
=CcYr
-----END PGP SIGNATURE-----
--rwEMma7ioTxnRzrJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050223055018.GA82969>
