Article View: news.software.nntp
Article #67882Re: mail2news question
From: Lolodirezo
Date: Thu, 05 Feb 2004 10:25
Date: Thu, 05 Feb 2004 10:25
35 lines
2468 bytes
2468 bytes
"Dr.Ruud" <'t.leven.is.fijn@life.i$.great> wrote in message news:<bvshvc.128.1@news.isolution.nl>... > Toen ik Lolodirezo kietelde, kwam er dit uit: > > > if the mailer is outlook express for > > exemple, the mail is in html format, how is it possible to convert > > html to text. > > | lynx -dump -forc_html -stdin hello, thanks to help me. cat file.html|lynx -dump -force_html -stdin is working but my problem is with a mail, i just want to extract the text from the mail (purge the html and the lines like ---=, Content-Type: ), to make the message readable my newsgroups. Here is a source mail sample from outlook express. ------=_NextPart_000_00B9_01C3EA5F.8B0A5A10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the text ------=_NextPart_000_00B9_01C3EA5F.8B0A5A10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=> <META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR> <STYLE></STYLE></HEAD> <BODY bgColor=3D#ffffff><DIV align=3Dcenter><FONT face=3DArial size=3D2>c<EM>d</EM><FONT=20color=3D#ff0000><EM>qf</EM>the text</FONT></FONT></DIV></BODY></HTML> ------=_NextPart_000_00B9_01C3EA5F.8B0A5A10--
Technical Details
Message-ID:
<92f11979.0402050225.4fc95833@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mailReferences:
<92f11979.0402040345.125543fc@posting.google.com> <bvshvc.128.1@news.isolution.nl>Show Full Headers
Complete Article Headers
Message-ID: <92f11979.0402050225.4fc95833@posting.google.com> Subject: Re: mail2news question Date: Thu, 05 Feb 2004 10:25:04 +0000 From: laurent.bazin@free.fr (Lolodirezo) References: <92f11979.0402040345.125543fc@posting.google.com> <bvshvc.128.1@news.isolution.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 35 NNTP-Posting-Host: 194.167.180.10 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075976704 10624 127.0.0.1 (5 Feb 2004 10:25:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 Feb 2004 10:25:04 +0000 (UTC)