🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #245130

Re: Filter on HTML

#245130
From: Ralph Fox
Date: Tue, 22 Mar 2011 19:07
34 lines
2308 bytes
On Tue, 22 Mar 2011 15:43:23 +0000, in message <olngw7k77i8o$.108mphyvg7rqo$.dlg@40tude.net> 
Bob Henson wrote:

> Steve Crook wrote:
> 
> > On Mon, 21 Mar 2011 19:38:06 +0000, Bob Henson wrote in
> > Message-Id: <a8xt6ijxzaqv$.10af41xc1ehak.dlg@40tude.net>:
> > 
> >> Is there a way with 40tude Dialog to filter out all HTML messages in
> >> newsgroups?
> > 
> > If it's straight html then you can filter on Content-Type: text/html.
> > If it's multipart MIME (with an html part) then you can't identify the
> > nature of each part without downloading the entire message.
> 
> Duly noted - hopefully, they will mostly fall into the text/html category.


    Content-Type: multipart/alternative
and
    Content-Type: multipart/related

will catch many of the others.

It is common for HTML messages to contain alternative plain text and HTML
renditions (Content-Type: multipart/alternative).

Content-Type: multipart/related is for HTML messages with embedded HTML images.



-- 
Kind regards
Ralph
Technical Details
Message-ID: <4lsho6t3hkfkttks5h9rod54o5rp1jesd8@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-16.dc1.easynews.com.POSTED!not-for-mail
References: <a8xt6ijxzaqv$.10af41xc1ehak.dlg@40tude.net> <slrniogq24.3lj.steve@news.mixmin.net> <olngw7k77i8o$.108mphyvg7rqo$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <4lsho6t3hkfkttks5h9rod54o5rp1jesd8@4ax.com>
Subject: Re: Filter on HTML
Date: Wed, 23 Mar 2011 08:07:41 +1300
From: Ralph Fox <-rf-nz-@-.invalid>
References: <a8xt6ijxzaqv$.10af41xc1ehak.dlg@40tude.net> <slrniogq24.3lj.steve@news.mixmin.net> <olngw7k77i8o$.108mphyvg7rqo$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-16.dc1.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: No; Y2.038Chaos instead!
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 34
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.
X-Original-Bytes: 2036