🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167677

Re: [slrn] score for html only posts

#167677
From: Troy Piggins
Date: Fri, 10 Jun 2005 13:46
20 lines
1784 bytes
* Frank Slootweg wrote:
> 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.

Ok - thanks for the pointer.  Will do some testing and post my solution.

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrndaj6eg.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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrndai4op.ckc.usenet@piggo.com> <42a99870$0$89666$dbd4f001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrndaj6eg.ckc.usenet@piggo.com>
Subject: Re: [slrn] score for html only posts
Date: Fri, 10 Jun 2005 13:46:54 +0000
From: Troy Piggins <usenet@piggo.com>
References: <slrndai4op.ckc.usenet@piggo.com> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@piggo.com
User-Agent: slrn/0.9.8.1 (Linux)
Lines: 20
NNTP-Posting-Host: 203.166.254.144
X-Trace: 1118411214 per-qv1-newsreader-01.iinet.net.au 5399 203.166.254.144