Thread View: news.software.readers
4 messages
4 total messages
Started by John Moreno
Fri, 01 May 1998 00:00
Re: Newsreaders and fixing broken references
Author: John Moreno
Date: Fri, 01 May 1998 00:00
Date: Fri, 01 May 1998 00:00
46 lines
2417 bytes
2417 bytes
Dave Barrett <dbarrett@san.rr.com> wrote: > Hi - > > I was wondering what newsreader behavior should be in regards to fixing > broken references or references with extraneous information in the reference > line. > > For example, in the following reference line from a post from > alt.showbiz.gossip, should a newsreader remove the #1/1 when posting a reply? > > <6i9brb$a9j$1@nnrp2.dejanews.com> <3549725c.7061506@news.erols.com>#1/1 Yes. > Or, in the next case from alt.showbiz.gossip as well, should the message id > of "<greiner.3.523.3545F2F3@pop.serv" be removed when posting a reply, as > it's incomplete? > > <354359d4.48975266@news.swbell.net> > <1998042703342200.XAA05065@ladder01.news.aol.com> > <354528dd.167529388@news.swbell.net> > <greiner.3.520.3545395F@pop.service.ohio-state.edu> > <35489e50.3187628@news.primary.net> <greiner.3.523.3545F2F3@pop.serv > <greiner.3.538.354676CD@pop.service.ohio-state.edu> Yes. The references header is for computer programs (mainly newsreaders) to use to track the relationships between articles in a thread. Information which can not help with that should be deleted. I'd also recommend that the overall length be held to under 998 bytes (counting the header and it's contents). If you're writing a newsreader, I'd suggest that you look at the GNKSA at: <http://www.xs4all.nl/~js/gnksa> and, perhaps as important, that these types of questions are better suited to news.software.readers (where I've cross-posted this response and have set followups). -- John Moreno
Re: Newsreaders and fixing broken references
Author: Dave Barrett
Date: Fri, 01 May 1998 00:00
Date: Fri, 01 May 1998 00:00
23 lines
1779 bytes
1779 bytes
On Fri, 01 May 1998 21:42:06 GMT, phenix@interpath.com (John Moreno) wrote: >If you're writing a newsreader, I'd suggest that you look at the GNKSA >at: <http://www.xs4all.nl/~js/gnksa> and, perhaps as important, that >these types of questions are better suited to news.software.readers >(where I've cross-posted this response and have set followups). > Yes, I'm writing a newsreader, and had read the GNKSA, but just wanted to verify that removing the broken reference and removing the #1/1 that was included in the reference line was the correct thing to do. There were many posts that kept the broken reference, as well as including the #1/1 in the reference line. I guess that's due to newsreaders not doing the correct thing yet. And of course, I wasn't sure whether the post in news.software.nntp or news.software.readers, and of couse, picked the wrong one. Thanks for the information. - dave
Re: Newsreaders and fixing broken references
Author: Jeroen Scheerder
Date: Sat, 02 May 1998 00:00
Date: Sat, 02 May 1998 00:00
78 lines
4275 bytes
4275 bytes
Dave Barrett <dbarrett@san.rr.com>:
> Yes, I'm writing a newsreader, and had read the GNKSA, but just wanted to
> verify that removing the broken reference and removing the #1/1 that was
> included in the reference line was the correct thing to do.
If it's appended to a valid message-id, us humans can tell; but it's
quite hard to do that automatically.
In your example:
> For example, in the following reference line from a post from
> alt.showbiz.gossip, should a newsreader remove the #1/1 when posting a
> reply?
> <6i9brb$a9j$1@nnrp2.dejanews.com> <3549725c.7061506@news.erols.com>#1/1
*I*, and most humans, would be able to make an educated guess what the
original (correct) ID must have been. However, it's still an educated
guess.
In my opinion, going around "fixing" broken things by making guesses --
however plausible they may be -- about what should have been there is a
slippery slope. For example, take the very similar
> <6i9brb$a9j$1@nnrp2.dejanews.com> <3549725c.7061506@news.erols.com#1/1>
I can still "fix" the second one, just like in the original, to be a
valid ID. Then again, what I'm really doing, then, is taken a
Message-ID that I know to be broken, and modify it as little as possible
(i.e. with the minimal editing distance) to obtain a valid Message-ID.
Now how can I be sure my fix was correct?
You might want to check the gnksalib (I'll update it tomorrow, so have a
little patience). It tries to deal with damaged References as
cautiously as possible.
In my opinion, there's only one solid way of dealing with broken
references: don't propagate them. And because you can never be certain
that a "fix" is correct -- however plausible it might be -- this would
imply that any time a broken ID is encountered, it is tainted, and
cannot be reused, in any form. Not even a possibly, or even almost
certainly, repaired form.
Keep in mind that damage may occur in nasty ways. It may even escalate;
suppose somebody posted an article containing
References: <js 666_-_@bozo.org .net>
It's strange, it's bad, but then again, that kind of thing does happen.
When examining IDs one by one, and when trying to "fix", one might be
tempted to repair the second one to <666_-_@bozo.org>, perhaps -- and
the first and third will most likely be ditched.
This is even worse than the original: broken IDs are bad, of course, but
valid-looking (but bogus) IDs might be even worse.
The usual damage in my experience, by the way, is caused by References
header being truncated because either a user agent did not fit it within
a reasonable length, or a transport or posting agent truncated it
because it used an undersized line length maximum internally. There
exist quite a few inews versions, for example, that truncate savagely at
512 bytes.
So the prevailing, dominant ("de facto standard"?) of Message-ID damage
is truncation. "<greiner.3.520.3545395F@pop.serv"; and you just cannot
even begin to guess (and shouldn't, arguably) as to how to "complete"
it, to fix the truncation damage.
One can but sigh, and remove broken IDs. They are beyond redemption.
-- J$
--
dash dash space
this is my .sig it's not so .big
Re: Newsreaders and fixing broken references
Author: John Moreno
Date: Sat, 02 May 1998 00:00
Date: Sat, 02 May 1998 00:00
31 lines
2071 bytes
2071 bytes
Dave Barrett <dbarrett@san.rr.com> wrote: > On Fri, 01 May 1998 21:42:06 GMT, phenix@interpath.com (John Moreno) wrote: -snip- > >these types of questions are better suited to news.software.readers > >(where I've cross-posted this response and have set followups). > > > > Yes, I'm writing a newsreader, and had read the GNKSA, but just wanted to > verify that removing the broken reference and removing the #1/1 that was > included in the reference line was the correct thing to do. There were many > posts that kept the broken reference, as well as including the #1/1 in the > reference line. I guess that's due to newsreaders not doing the correct > thing yet. Yep (not as bad as newsreaders, /creating/ the broken references, but very similar). > And of course, I wasn't sure whether the post in news.software.nntp or > news.software.readers, and of couse, picked the wrong one. > > Thanks for the information. n.s.nntp is more about the servers and and n.s.readers about clients, but of course there's a lot of overlap - when in doubt cross-post. -- John Moreno
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