🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Andy Walker Thu, 01 Jul 1993 09:20
Threading - a suggestion
#4778
Author: Andy Walker
Date: Thu, 01 Jul 1993 09:20
48 lines
2657 bytes
Hi all,
	A suggestion to improve the threading process.

	Problem:

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

	A suggestion:

	Ideally user education &etc would lead to a consistent choice
	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.)
		1. Remove leading and trailing white space.
		2. Collapse internal white space to single spaces.
		3. Convert all characters to lower case.
		4. Remove any leading "re. *" (regex).
	       (5. Truncate after n characters.)
	Point 5 would account for those amazingly long Subject lines 
	which some people insist on trying to use.

	These actions would overcome most of the transmutations that 
	occur when people respond to news items and lead to threads 
	which more completely collect related articles.

	Just an idea - perhaps it could be a user selectable filter
	option in newsreader configurations.

Andy.

--
Andy Walker
VisionWare Ltd                  EMAIL   : drew@visionware.co.uk
57 Cardigan Lane                PHONE   : +44 (0)532 788858 Ext. 204
Leeds, LS4 2LE, England         FAX     : +44 (0)532 304676
Re: Threading - a suggestion
#4790
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads