🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167690

Re: [slrn] score for html only posts

#167690
From: Frank Slootweg
Date: Fri, 10 Jun 2005 17:42
56 lines
3903 bytes
Troy Piggins <usenet@piggo.com> wrote:
> * Frank Slootweg wrote:
[deleted]
> >   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.

  Hmmm! A good point. I did not think of that. I gather that a html-only
post will indeed have "Content-Type: text/html" in the *headers* and a
plain+html post will *not* have that in the *headers* (but will have
"Content-Type: multipart/alternative" instead). I thought it would be
needed to test for both, but I gather that for multipart/alternative,
the "Content-Type: text/html" will be, as far as the newsreader is
concerned be in the *body*, not in the headers, so it's not needed to
test for both.

  So bottom line: Yes, I think that scorefile entry should work.

> 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.

  No, I used quotes around "good", because, as far as I am concerned,
there are no good html Usenet postings, so also no good html-only
postings. But the "good" ones, i.e. the ones without a
multipart/alternative header, could be filtered out.

  OTOH, there are "bad" *pseudo*-html-only postings. There the
text/plain part is not a usable/readable part, but an empty one, or one
which says something like "See the HMTL part for the text." or something
like that. Those are "bad" because you can not filter on them, because
they will have multipart/alternative in the header and text/plain and
text/html in the body, i.e. they look like good plain+html postings, but
are effectively html-only postings.
Technical Details
Message-ID: <42a9d0ff$0$11667$dbd43001@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!in.100proofnews.com!in.100proofnews.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <slrndai4op.ckc.usenet@piggo.com> <42a99870$0$89666$dbd4f001@news.wanadoo.nl> <slrndaja8t.ea2.usenet@piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <42a9d0ff$0$11667$dbd43001@news.wanadoo.nl>
Subject: Re: [slrn] score for html only posts
Date: Fri, 10 Jun 2005 17:42:23 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <slrndai4op.ckc.usenet@piggo.com> <42a99870$0$89666$dbd4f001@news.wanadoo.nl> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!news2.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: 56
NNTP-Posting-Date: 10 Jun 2005 17:42:23 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1118425343 dr2.euro.net 11667 81.71.69.63:63135
X-Complaints-To: abuse@wanadoo.nl