🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #183592

Re: Deleting/hiding identical articles

#183592
From: Frank Slootweg
Date: Thu, 13 Apr 2006 14:17
69 lines
4739 bytes
Neil Woods <cnw+usenet-0604@pobox.com> wrote:
> Frank Slootweg <this@ddress.is.invalid> writes:
> 
> > Neil Woods <cnw+usenet-0604@pobox.com> wrote:
> >> "iagj@gawab.com" <iagj@gawab.com> writes:
> >> 
> >> >> What *exactly* do you want to do?
> >> >
> >> > If a news server supplies two identical articles in the same group, I
> >> > wish to suppress one or the other (the later dated one is preferred).
> >> > Identical means, in this case, that subject and body are the same but
> >> > dates and M-IDs are/may be different (consider uncancelled spam as an
> >> > example, though that isn't the case).
> >> 
> >> Probably better if you actually used slrn to post your request. Many
> >> people, especially in this newsgroup, kill articles originating from
> >> Google Groups.
> >> 
> >> Anyway, in response to your question, I don't think this is ordinarily
> >> possible.  It /may/ be possible if you run your own news server,
> >> however.
> >
> >   The OP or/and the slrn crowd may want to have a look at AC's
> > "killfilter" stuff. He says he uses slrnpull and procmail to unmark
> > articles for download. Perhaps a similar method can be used to mark
> > duplicate articles as read. See the URLs in his postings for details.
> 
> How could this work *except* by use of message-id?

  I probably was not clear. Of course on needs to *download* the bodies
(i.e. NNTP ARTICLE command), but one doesn't neccessarily have to *read*
downloaded articles.

> Perhaps you're joking, but all I've seen on AC's site is a bunch of
> badly written CR stuff, and some incorrect code to count the number of
> posts from a given alias using Google. But that was a while ago. In any
> case, do you really advise people to take anything AC writes seriously?!

  IIRC at one time he documented the techniques of his "killfilter",
IIRC on one of his web-pages, but quite possibly (only) in a Usenet
article. I looked at his website, but it looks like he removed the
"killfilter" documentation:

<http://home.earthlink.net/~alanconnor/slrn/slrn.html>

  Anyway, AFAIR the technique was based on processing the article with
procmail and then telling slrn or slrnpull that that article should be
marked as read. (To the slrn crowd: Does slrn or slrnpull have such a
function/'hook'? I.e. 'mark article number N as read'.)

> As far as procmail is concerned, I wasn't aware that it could do
> duplicate matches on message /bodies/, but only on MID. 

  As the name implies, procmail can process mail, both header and body.
It can also invoke any command(s), i.e. also script(s), on any part(s)
of / pattern(s) in the header or/and body. It has also several
supporting commands like formail (format mail?), can work recursively,
etc., etc.. In short it is very, very powerful/flexible. Because - as
AC's biggest 'enemy' would say :-) - a News article is just a RFC
<whatever> message like an email message, procmail has no problem
processing News articles.

> Clearly not useful to the OP, but is there something within INN to match
> and discard duplicate posts based on message body, i.e. something like a
> spam filter perhaps?

  Well, AFAIK the OP hasn't mentioned which platform he uses, but he
could run INN on most any decent platform, including (MS-)Windows
(Win32), so INN plus some other stuff could still be an option! :-)
Technical Details
Message-ID: <443e5d97$0$81428$dbd4d001@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!newsfeed00.sul.t-online.de!t-online.de!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news2.euro.net!beastiality.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <1144499908.078429.265190@i40g2000cwc.googlegroups.com> <123gbsuggm6ge9f@news.supernews.com> <1144778921.955839.109450@i40g2000cwc.googlegroups.com> <87r743ecm6.fsf@phun.phasmic.org> <443d3b8f$0$53840$dbd45001@news.wanadoo.nl> <87u08ycln2.fsf@phun.phasmic.org>

Show Full Headers
Complete Article Headers
Message-ID: <443e5d97$0$81428$dbd4d001@news.wanadoo.nl>
Subject: Re: Deleting/hiding identical articles
Date: Thu, 13 Apr 2006 14:17:59 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <1144499908.078429.265190@i40g2000cwc.googlegroups.com> <123gbsuggm6ge9f@news.supernews.com> <1144778921.955839.109450@i40g2000cwc.googlegroups.com> <87r743ecm6.fsf@phun.phasmic.org> <443d3b8f$0$53840$dbd45001@news.wanadoo.nl> <87u08ycln2.fsf@phun.phasmic.org>
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!newsfeed00.sul.t-online.de!t-online.de!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news2.euro.net!beastiality.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: 69
NNTP-Posting-Date: 13 Apr 2006 14:17:59 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1144937879 dr5.euro.net 81428 81.71.69.63:62263
X-Complaints-To: abuse@wanadoo.nl