Article View: news.software.readers
Article #5423Re: Newsreader authors: Would article replacement break your reader
From: Matthias Urlichs
Date: Sun, 22 Aug 1993 19:59
Date: Sun, 22 Aug 1993 19:59
61 lines
4001 bytes
4001 bytes
In news.software.b, article <1993Aug21.013443.2854@clarinet.com>, brad@clarinet.com (Brad Templeton) writes: > > In article <ROB.93Aug20075427@gangrene.berkeley.edu> rob@agate.berkeley.edu (Rob Robertson) writes: > >In article <1993Aug20.090339.16591@clarinet.com> brad@clarinet.com (Brad Templeton) writes: > > > > This would involve recoding readers that use NOV, of course, but a new > > field would be added to the database, saying, "The text of this article can > > be found at article NNN" and the database and header at article NNN would > > say, "This replaced article MMM" > > > >or simpler, you'd just delete article MMM from the spool [thus > >nullifying it's NOV data], and have the pseudo-header in NNN say it > >replaced article/number/MMM, so that if article/number/MMM has been > >read, it is not shown again. > > No, as I pointed out, this is not adequate. If the user happens to do > a partial reading session (fairly common) then the deleted article will > be marked "read" simply because it is deleted. > > One solution is to mark deleted articles as unread, until you know it is > safe to mark them read (ie. you see their replacement) but this is > inefficient and bulks the newsrc. > > The best solution is to mark replaced articles as unread until you see their > replacement, but mark deleted articles as read so you don't have to recheck > them. > > This means you need to know if an article is deleted or replaced, which > means that you want an entry in the database saying why the article isn't > there (deleted, superseded or replaced) and possibly even a pointer to its > current successor. (Unless the successor is outside the newsgroup) > > The successor needs to have a pointer to all its predecessors. An article > can get replaced several times. Due to batching it is wisest if the > Replaces line contains a complete list of all predecessors if the > gap between predecessors was ever less than a day. > > However, this system can be made to work. > > One thing that's important is that a concept be devised to update NOV > records for articles that are cancelled/superseded/replaced indicating > what was done to them. The alteration has to be a) Understood by all > newsreaders and preferably b) fit in the space of the old record so that > you don't have to grow any records in the database. > > I don't see a problem with this -- IF all the newsreaders currently > reading NOV files are ready to support such a change. > > It is in their interest, since it avoids the general problem NOV has > right now with not doing cancel, which forces the newsreader to read > the spool dir or query the nntp server before preseting the menu. > The whole idea of NOV is to allow the reader to present a menu > instantaneously, with as few extra operations as possible. > -- > Brad Templeton, ClariNet Communications Corp. -- San Jose, CA 408/296-0366 -- Matthias Urlichs -- urlichs@smurf.sub.org -- Phone: NONE; use email or lose. Schleiermacherstrasse 12 -- 90491 Nuernberg -- Germany || Linux+Mac Consulting
Technical Details
Message-ID:
<258j6s$nj@smurfnbg.smurf.sub.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!subnet.sub.net!smurfnbg.smurf.sub.org!smurfnbg.smurf.sub.org!not-for-mailReferences:
<CBxF7t.9u8@servalan.servalan.com> <1993Aug20.090339.16591@clarinet.com> <ROB.93Aug20075427@gangrene.berkeley.edu> <1993Aug21.013443.2854@clarinet.com>Show Full Headers
Complete Article Headers
Message-ID: <258j6s$nj@smurfnbg.smurf.sub.org> Subject: Re: Newsreader authors: Would article replacement break your reader Date: Sun, 22 Aug 1993 19:59:24 +0000 From: urlichs@smurfnbg.smurf.sub.org (Matthias Urlichs) References: <CBxF7t.9u8@servalan.servalan.com> <1993Aug20.090339.16591@clarinet.com> <ROB.93Aug20075427@gangrene.berkeley.edu> <1993Aug21.013443.2854@clarinet.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!subnet.sub.net!smurfnbg.smurf.sub.org!smurfnbg.smurf.sub.org!not-for-mail Newsgroups: news.software.b,news.software.readers Organization: Smurf-O-Box, Nuernberg, FRG Lines: 61 NNTP-Posting-Host: smurf.sub.org