Thread View: news.software.readers
8 messages
8 total messages
Started by Chip Olson
Wed, 02 Nov 1994 15:36
Maximum number of references?
Author: Chip Olson
Date: Wed, 02 Nov 1994 15:36
Date: Wed, 02 Nov 1994 15:36
15 lines
1409 bytes
1409 bytes
Wow. That "broken References: lines" flamewar was pretty impressive. :-) It brings up something I've been wondering, though: RFC 1036 (or which- ever it is) doesn't specify the maximum number of references that can be on the References: line. I've never seen more than 3, and that's what I've assumed in the Winsock-based newsreader I've been writing. Is that a fairly universal convention, or should I set it up to allow for any number of references? -- -Chip Olson. | ceo@ftp.com | FTP's opinions are even wierder than mine. This article is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.
Re: Maximum number of references?
Author: Chip Olson
Date: Thu, 03 Nov 1994 14:35
Date: Thu, 03 Nov 1994 14:35
27 lines
2188 bytes
2188 bytes
In Article <CypFwv.ABn@borland.com> "davison@borland.com (Wayne Davison)" says: > Which reminds me, the algorithm that we were trying to get implemented > among newsreader authors is to preserve the first reference on the line > (hoping it is the root reference), then save X references from the end > of the line (trn saves up to 2), then append the article's message-id > on to the end (thus trn's max references count is 4). Right now this > doesn't buy us much, since so many people trim the line down and remove > the real root article, but at some point in the future if we actually > get enough of the software on usenet upgraded (yeah right) this would > let us ensure that all related articles stay related, no matter how > distant. That might explain why I'm seeing discontiguous reference chains while trying to debug my threading code. Turns out accommodating more references isn't as much of a pain as I thought it would be. That algorithm makes lots of sense, and I'll probably implement it. I am trying to check for sibling references at the root and graft the trees together, but I'm not sure how effective it'll be. -- -Chip Olson. | ceo@ftp.com | FTP's opinions are even wierder than mine. This article is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.
Re: Maximum number of references?
Author: Wayne Davison
Date: Thu, 03 Nov 1994 18:41
Date: Thu, 03 Nov 1994 18:41
26 lines
2029 bytes
2029 bytes
According to Chip Olson <ceo@ftp.com>: > It brings up something I've been wondering, though: RFC 1036 (or which- > ever it is) doesn't specify the maximum number of references that can > be on the References: line. I've never seen more than 3, and that's > what I've assumed in the Winsock-based newsreader I've been writing. > Is that a fairly universal convention, or should I set it up to allow > for any number of references? There's no such rule that the references line is limited to 3 refs -- trn limits the line to 4 refs, for instance. The limit is simply to try to keep the lines from getting too long for news software to deal with reliably. Which reminds me, the algorithm that we were trying to get implemented among newsreader authors is to preserve the first reference on the line (hoping it is the root reference), then save X references from the end of the line (trn saves up to 2), then append the article's message-id on to the end (thus trn's max references count is 4). Right now this doesn't buy us much, since so many people trim the line down and remove the real root article, but at some point in the future if we actually get enough of the software on usenet upgraded (yeah right) this would let us ensure that all related articles stay related, no matter how distant. -- Wayne Davison davison@borland.com
Re: Maximum number of references?
Author: Wayne Davison
Date: Fri, 04 Nov 1994 10:30
Date: Fri, 04 Nov 1994 10:30
10 lines
1086 bytes
1086 bytes
According to Chip Olson <ceo@ftp.com>: > That might explain why I'm seeing discontiguous reference chains while > trying to debug my threading code. It might also be that the newsreader you're running is putting the new reference at the start of the references line instead of the end -- oops. Whatever you're using needs to get fixed. -- Wayne Davison davison@borland.com
Re: Maximum number of references?
Author: Chip Olson
Date: Fri, 04 Nov 1994 11:20
Date: Fri, 04 Nov 1994 11:20
20 lines
1757 bytes
1757 bytes
In Article <Cyqnv4.ADx@borland.com> "davison@borland.com (Wayne Davison)" says: > According to Chip Olson <ceo@ftp.com>: > > That might explain why I'm seeing discontiguous reference chains while > > trying to debug my threading code. > > It might also be that the newsreader you're running is putting the new > reference at the start of the references line instead of the end -- oops. > Whatever you're using needs to get fixed. Could be, but it would be other folks' newsreaders doing that- I'm not even close to writing the news posting part of this thing. I've just been noticing some weird reference lines in the test data I sucked off my NNTP server. -- -Chip Olson. | ceo@ftp.com | FTP's opinions are even wierder than mine. This article is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.
Re: Maximum number of references?
Author: Paul Clark
Date: Fri, 04 Nov 1994 12:35
Date: Fri, 04 Nov 1994 12:35
30 lines
2079 bytes
2079 bytes
In article <19941102153645.ceo@chanur.ftp.com> ceo@ftp.com "Chip Olson" writes: > Wow. That "broken References: lines" flamewar was pretty impressive. :-) I'm glad you smiled. > It brings up something I've been wondering, though: RFC 1036 (or which- > ever it is) doesn't specify the maximum number of references that can > be on the References: line. I've never seen more than 3, and that's > what I've assumed in the Winsock-based newsreader I've been writing. > Is that a fairly universal convention, or should I set it up to allow > for any number of references? An article you _receive_ can potentially have any number of IDs in the References: line. The most commonly used UNIX readers seem to truncate at 3+1, hence you rarely see more than 5 or 6. However, some newsreaders don't truncate at all, so the number is potentially infinite. According to Son-of-RFC1036 the current theory on what you should _generate_ is that you should include the whole of the precursor's header. If it is absolutely necessary to cut Son-of-RFC1036 goes into some detail about what you should leave in (including the first, the last 3, and any subject changes). You should read Son-of-RFC1036. Last I heard, you can get it at: ftp://zoo.toronto.edu/pub/news.[ps,txt].Z -- Paul Clark prc@sysmag.com
Re: Maximum number of references?
Author: Michael Mondy
Date: Fri, 04 Nov 1994 17:36
Date: Fri, 04 Nov 1994 17:36
18 lines
1681 bytes
1681 bytes
In article <CypFwv.ABn@borland.com>, Wayne Davison <davison@borland.com> wrote: > >Which reminds me, the algorithm that we were trying to get implemented >among newsreader authors is to preserve the first reference on the line >(hoping it is the root reference), then save X references from the end >of the line (trn saves up to 2), then append the article's message-id >on to the end (thus trn's max references count is 4). Right now this >doesn't buy us much, since so many people trim the line down and remove >the real root article, but at some point in the future if we actually >get enough of the software on usenet upgraded (yeah right) this would >let us ensure that all related articles stay related, no matter how >distant. Hmmm, horrid thought. Suppose we let NOV track references and even kept the NOV data for some amount of time after the article expired? -- Mike Mondy mdm@mondy.uucp
Re: Maximum number of references?
Author: Paul Clark
Date: Tue, 08 Nov 1994 10:46
Date: Tue, 08 Nov 1994 10:46
17 lines
1605 bytes
1605 bytes
In article <CypFwv.ABn@borland.com> davison@borland.com "Wayne Davison" writes: > Which reminds me, the algorithm that we were trying to get implemented > among newsreader authors is to preserve the first reference on the line > (hoping it is the root reference), then save X references from the end > of the line (trn saves up to 2), then append the article's message-id > on to the end (thus trn's max references count is 4). This seems to contradict son-of-RFC1036 which says you should keep all of it if you possibly can. Is there a good reason not to? Header-length limitations? I'm about to implement this, and I can do either, but I don't want to do it wrong! -- Paul Clark prc@sysmag.com
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