🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48511

Re: XNews: Threads Not Correct

#48511
From: Erland Sommarskog
Date: Tue, 11 May 1999 00:00
47 lines
3421 bytes
Scrive Dave Cotes (cotesdave@iname.com):
>Why won't a simple string compare do?  Simply strip off any "Re: " 
>(ignoring case and trim blanks) and that should work.

No, that won't do. In fact that is kind one of my peeves with 
News Xpress that it is not doing any better. Well, Xnews is only
doing better because it knows how to decode the MIME2047 gibberish.

Say that you have the following subject lines:

     Re: Custard and vanila (was: Sulphur, Silicon and Antimon)
     Re: Custard and vanilla (was: Sulphur, Silicon and Antimon)
     Re: Custard and vanila (was: Sulphur, Silicon 
     Re: Custard and vanila

I think a minimum requirement would be to strip out any text in
parentheses. (No, you can not constrain it to text starting with
"(was:", as a non-English article is likely to have some other
word than "was"). You should probably also only compare the first,
say, 40 characters, as some newsreaders cut longer subject lines.
Mulitple space should almost certainly be collapsed. And, as 
Luu mentions, you might even want to allow for spelling corrections.
This last thing is probably not worth the effort, though.

Now, algorithm like this do actually have two applications, which
are just two sides of the same coin. The first is what Dave is
looking for: to make it possible to get a new thread as soon as
subject changes. The other is to collapse disjunct threads into
the same thread. To wit, say that there is a thread with two
subject lines A and B. If I get the entire thread with Xnews,
for instance because all articles are new, I will get one thread 
today. But say that I have read the article where A changed to B.
XNews will now display this as two threads. This is good if A and
B are really different. But if B was only a spurious change of A,
it would be nice if they were displayed as one thread. 


By the way, I don't like that the editor positions the cursor just
before the signature. I want to start from the beginning. And positioning
the cursor there is likely to encourage sloppy posters to start
typing, without trimming the quote.
-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
This could have been my two cents worth, but alas the Swedish
government has decided that I am not to have any cents.

Technical Details
Message-ID: <8DC3F188AYazorman@news.algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <8DBE8ABF9c67tes@news3.ibm.net> <8DBECED1Bm7e3oy9xmbne0@news.cls.net> <8DBE988DCc67tes@news3.ibm.net> <WhmY2.3589$WA4.566570@ptah.visi.com> <8DBEA1F33c67tes@news3.ibm.net> <1drhdvk.2sxm7m1bica28N@dialups-36.tok.ptialaska.net> <8DC1C736Dc67tes@news3.ibm.net> <8DC253B9Eluutrangeocities@news.mindspring.com> <8DC367B40c67tes@news3.ibm.net> <8DC35042Fluutrangeocities@news.mindspring.com> <8DC37C478c67tes@news3.ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <8DC3F188AYazorman@news.algonet.se>
Subject: Re: XNews: Threads Not Correct
Date: Tue, 11 May 1999 00:00:00 +0000
From: sommar@algonet.se (Erland Sommarskog)
References: <8DBE8ABF9c67tes@news3.ibm.net> <8DBECED1Bm7e3oy9xmbne0@news.cls.net> <8DBE988DCc67tes@news3.ibm.net> <WhmY2.3589$WA4.566570@ptah.visi.com> <8DBEA1F33c67tes@news3.ibm.net> <1drhdvk.2sxm7m1bica28N@dialups-36.tok.ptialaska.net> <8DC1C736Dc67tes@news3.ibm.net> <8DC253B9Eluutrangeocities@news.mindspring.com> <8DC367B40c67tes@news3.ibm.net> <8DC35042Fluutrangeocities@news.mindspring.com> <8DC37C478c67tes@news3.ibm.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 476757967
X-Complaints-To: abuse@algo.net
X-Trace: zingo.tninet.se 926458895 29032 195.100.251.69 (11 May 1999 21:41:35 GMT)
Organization: BRF Beckasinen 13
User-Agent: Xnews/2.05.10
NNTP-Posting-Date: 11 May 1999 21:41:35 GMT
Newsgroups: news.software.readers