🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167676

Re: [slrn] score for html only posts

#167676
From: Frank Slootweg
Date: Fri, 10 Jun 2005 13:41
12 lines
1644 bytes
Troy Piggins <usenet@piggo.com> wrote:
> Does anyone have a working scorefile entry to kill html-only posts?  I
> don't mind posts with both plain text and html because I seem to only
> see the plain text part.
> 
> Is it as simple as scoring based on the Content-Type header?  Or is it a
> bit more complex than that?  I notice not all posts have that header.

  A *"good"* html-only post will not have (Content-Type:)
multipart/alternative;", but a bad one will (with an (effectively) empty
text/plain part). So start with killing text/html posts which do *not*
have an (earlier) multipart/alternative.
Technical Details
Message-ID: <42a99870$0$89666$dbd4f001@news.wanadoo.nl>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!solnet.ch!solnet.ch!news2.euro.net!postnews1.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <slrndai4op.ckc.usenet@piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <42a99870$0$89666$dbd4f001@news.wanadoo.nl>
Subject: Re: [slrn] score for html only posts
Date: Fri, 10 Jun 2005 13:41:04 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <slrndai4op.ckc.usenet@piggo.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!solnet.ch!solnet.ch!news2.euro.net!postnews1.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-5.1/1.5.10(0.116/4/2) (i686)) Hamster/2.0.2.2
Lines: 12
NNTP-Posting-Date: 10 Jun 2005 13:41:04 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1118410864 dr4.euro.net 89666 81.71.69.63:62995
X-Complaints-To: abuse@wanadoo.nl