🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47547

sorting data from xover

#47547
From: vince patone
Date: Fri, 26 Mar 1999 00:00
43 lines
2563 bytes
Hello. I have two questions about threading the data that one gets from
an xover command. I've read through several FAQ's and previous messages
to this ng and I do have some insight into possible answers, but just
wanted to see if there was more.

1.) If someone posts a  new message (not a follow-up) to a newsgroup and
that message contains an identical subject header to an already existing
thread, should a client process that post and put it in with the
previous thread, or display it separately in a new thread of its own? My
logic after skimming through some RFC's is that if a message doesn't
have any reference values, than it should be posted as a new message
(not as a follow-up to any existing message). However, I've seen several
news clients that put the new message into the already existing thread.

Which leads to my second question.

2.) Before I re-invent the wheel, is there any existing code which will
take the results from an xover command and put the messages into a
properly theaded order? I'm assuming that even beyond the usual options
of sorting messgaes in a linear fashion by author, date, etc.. that
there is some discrepency in what is considered a proper "threading"
order (hence my first question), but let's assume I'm correct above and
that messages should only be threaded by using message-ID's in the
reference header. Is there existing code that does this work already?
Currently, I'm using the Perl News::NNTPClient Module and so I'd prefer
Perl code, but what's more important is just tips on what progamming
logic should be applied. Right now I'm staring at this task
thinking..."You know, you really aren't trained as a programmer.You are
going to waste huge amounts of CPU time with some convoluted hack. Seek
help first."

Any and all comments appreciated. Apologies if this is old-hat to many
of you here.

tia,

-vince





Technical Details
Message-ID: <36FC075D.24BC42FC@alexia.lis.uiuc.edu>
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

Show Full Headers
Complete Article Headers
Message-ID: <36FC075D.24BC42FC@alexia.lis.uiuc.edu>
Subject: sorting data from xover
Date: Fri, 26 Mar 1999 00:00:00 +0000
From: vince patone <patone@alexia.lis.uiuc.edu>
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: 459502402
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: University of Illinois at Urbana-Champaign
Mime-Version: 1.0
Newsgroups: news.software.readers