🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167681

Re: [slrn] score for html only posts

#167681
From: Troy Piggins
Date: Fri, 10 Jun 2005 14:52
43 lines
2870 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.

I notice you use tin (well, for this post), not sure how familiar you
are with slrn.  I found the macros slrn-pl.sl, konwertuj.sl, and
tsca-mymime.sl which do convert multipart messages for me - hence my
comment about not minding them, I can read the plain text part ok.

I have no idea how to score multipart/alternative posts with an empty
text/plain part to them.  I only know how to score based on headers.

So what I have decided to do is just kill any posts with text/html only,
like this:

[*]
Score: -9999
Content-Type: text/html

What do you think?  I have tested 10's of 1000's of posts to see how
many have this format, and in the groups I frequent all of the posts
matching this score were spam/shit.

Getting back to your post - I notice you said "good" html-_only_ posts
will not have the multipart/alternative header.  But I have noticed some
posts with that header, but they did have some text/plain parts and that
is ok.  Is that what you meant?  That as long as they have the plain
part they are ok?  They are certainly readable by my macros.

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrndaja8t.ea2.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!newscon06.news.prodigy.com!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeed.pacific.net.au!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: <slrndaja8t.ea2.usenet@piggo.com>
Subject: Re: [slrn] score for html only posts
Date: Fri, 10 Jun 2005 14:52:11 +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!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeed.pacific.net.au!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: 43
NNTP-Posting-Host: 203.166.254.144
X-Trace: 1118415131 per-qv1-newsreader-01.iinet.net.au 5392 203.166.254.144