Article View: news.software.readers
Article #168785Re: Threading multi part
From: /betty/
Date: Tue, 05 Jul 2005 19:54
Date: Tue, 05 Jul 2005 19:54
64 lines
4051 bytes
4051 bytes
On Tue, 05 Jul 2005 07:13:46 -0500, Dagnir used 13 lines to assert: > Hi, High, to you. > I read some posts of this group and searched google but did not find any > answer (many algorithms I found were for discussion groups). > I'm curious about the way Xnews (and newsreaders in general) collapses > headers of a file in a binary group, since there are no references. I'm > even wondering how it does know the completeness of a file, ie. how can it > tell that there are [xx/yy] lines avaible ? > Is this too obvious? Quick, somebody tell me it's a trick question. I don't know [or care, frankly] what xnews does but all the proper binaries clients simply utilise the info that's there for the purpose; that is they grok the subject line which is structured accordingly by the poster and their client. Guess what those (nnn/nnn) and [nn/nn] thingies are about? :-) Do not pass Go, do not collect 200 msg headers if you say they're lines counts. Completeness, or the assessment of, is simply a calc on existence or absence; ie. nbr of article[s] available versus the expected nn total. Iow; 2 = 2 must = 4 to get a rubber stamp! Clients have their own unique way of indicating completeness or not, and some of the smarter ones even hide [by default] the m.p section until its latent articles come in and complete it. That helps contain eager-beavers from trying to d/l shit before giving the News server reasonable time to receive all articles, and then screaming that f..in' provider X is shit! Further still, some advanced clients [like eg. Newsman Pro] go a step further and are able to aggregate the whole post as a container (usually done by creating a 'virtual' article) of the [many] already accumulated multi-parts. Again its done via leveraging like-subject-lines. This can assist viewing and usage purposes in some cases, although it's mostly suited to heavy hauler oriented clients like NMP and where screen clutter is at a premium and other speed~usability functionality isn't made available in the I/F. > Actually I made some tests, and wrote a little program that is able to > regroup the headers of the same file, but i'm sure it is very heavy and it > still can't tell if the file is complete or not. > Your mention of "no References" and "collapses headers" indicates that you're most likely fixated into believing that it operates on same or similar principles as 'threading' does for discussions-group articles¹. Alas, no such relationships can be drawn I'm afraid. Multi-parter .bin posts != Articles Threading. End of story. ¹ whilst some text clients can, &| do, use sub-lines for threading it's a fail prone method and not the best for that purpose. -- /betty/ [2005-07-06 04:48:36 aest]
Technical Details
Message-ID:
<siqkbo6f7p8x.dlg@betty.invalid>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!newshosting.com!nx01.iad01.newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mailReferences:
<HPidndL1x8bn5FffRVn-uQ@giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <siqkbo6f7p8x.dlg@betty.invalid> Subject: Re: Threading multi part Date: Tue, 05 Jul 2005 19:54:07 GMT From: /betty/ <no.addr.4.u.equals.no.spam.2.me@simple.isnt.it.invalid> References: <HPidndL1x8bn5FffRVn-uQ@giganews.com> 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!newshosting.com!nx01.iad01.newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: zero.tolerance@here.invalid Organization: Pet Rocks Inc. Archive: no Distribution: nogoogle X-Answer-To-Spam: 42 X-No-Archive: yes X-No-Google-Store: yes Lines: 64 X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.