🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4790

Re: Threading - a suggestion

#4790
From: Nancy McGough
Date: Fri, 02 Jul 1993 17:46
88 lines
4697 bytes
drew@visionware.co.uk (Andy Walker) writes:
>	Recently I replied to a request for help on one of the 
>	programmer news groups. The article had no responses shown. 
>	A number of 'pages' (~30 articles) further on, and not on the
>	same page as the original article, a real expert had posted a
>	complete tutorial on the issue. 
>	The Subject line was identical to the original article and was
>	thus not picked up by the threading mechanism.

Do you mean that the Subject line was *not* identical and so wasn't
picked up?


>	No harm was done here - its just that I wouldn't have posted
>	my 4 cents worth if I'd seen the $100 response as part of the
>	same thread.

Another variation of this problem is when you have 2 subjects that 
are identical but are *not* part of the same thread.  These problems
are why using the References line rather than the Subject line
is the right way to track threads, but given the fact that this 
is pretty complicated and also prone to the same kind of problems
(e.g., when someone does a "followup" by posting a new article
and giving it what he/she thinks is the same subject preceded by
"Re: ").


>	Ideally user education &etc would lead to a consistent choice
                                                               ^^^^^^
Actually if you followup correctly (e.g., using f in rn or nn) there
is no "choice" in the subject--it is automatically the same preceded
by "Re: " if there isn't already a "Re: ".


>	for Subject lines of response articles. 
>		eg. Original Subject : "Where is FAQ?"
>		eg. Response Subject : "Re: Where is FAQ?"
>	This being an overhopeful notion how about applying the
>	following actions to subject lines before invoking the
>	threading algorithms. (Obviously the original Subject line would
>	be preserved for when the article is viewed.)

For generic subjects like "Question" or "Help" you probably
don't want to apply the following actions which would likely 
merge a number of not-part-of-the-same-thread articles into 
one subject.  I think these should all be variables that the
user can set as he/she likes, either permanently or on-the-
fly.  

>		1. Remove leading and trailing white space.
>		2. Collapse internal white space to single spaces.
>		3. Convert all characters to lower case.

In nn you can use the case-fold-search variable to find all 
articles that match the current subject independent of case.  
Unfortunately, as far as I know, there's no way to tell nn to 
ignore case when deciding what subjects comprise a "thread."


>		4. Remove any leading "re. *" (regex).

Wouldn't this match "red " etc.?  How about [Re: *]*      
which would delete "Re: Re: Re: " and "Re:    Re: " etc.
Also it would be nice to remove leading "FW: "
which is used to mean forwarded by some mailers.  Since
it's possible to send mail to newsgroups we need to be able 
to account for these types of things.  And then, of course, 
it should be able to remove any combination of prepended
things, e.g., "Re: FW: Re: ".


>	       (5. Truncate after n characters.)
>	Point 5 would account for those amazingly long Subject lines 
>	which some people insist on trying to use.

In nn "set subject-match-limit <n>" is used to consider subjects
the same when the first <n> characters match.

Another useful variable would be one that would match 
subject y with subject x if y contains x as a substring.
I wouldn't want to use this always but it's useful when
people do things like type in a new subject and put the
old subject in parens e.g.: new subject (WAS: old subject)
Or maybe you'd want to do matching only when the substring
follows "(WAS: ".  But then there'd be the nightmare of
trying to get users to actually use this format...

Nancy
Technical Details
Message-ID: <211s9c$ri5@news.u.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
References: <1993Jul1.092041.3354@visionware.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <211s9c$ri5@news.u.washington.edu>
Subject: Re: Threading - a suggestion
Date: Fri, 02 Jul 1993 17:46:20 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
References: <1993Jul1.092041.3354@visionware.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.readers
Organization: University of Washington
Lines: 89
Reply-To: nancym@u.washington.edu (Nancy McGough)
NNTP-Posting-Host: stein2.u.washington.edu
Keywords: thread subject response
X-Newsreader: NN [version 6.4.16]