Article View: news.software.readers
Article #5411Re: Newsreader authors: Would article replacement break your reader
From: Brad Templeton
Date: Sat, 21 Aug 1993 01:34
Date: Sat, 21 Aug 1993 01:34
53 lines
3527 bytes
3527 bytes
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
Technical Details
Message-ID:
<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!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!looking!bradReferences:
<CBxF7t.9u8@servalan.servalan.com> <1993Aug20.090339.16591@clarinet.com> <ROB.93Aug20075427@gangrene.berkeley.edu>Show Full Headers
Complete Article Headers
Message-ID: <1993Aug21.013443.2854@clarinet.com> Subject: Re: Newsreader authors: Would article replacement break your reader Date: Sat, 21 Aug 1993 01:34:43 GMT From: brad@clarinet.com (Brad Templeton) References: <CBxF7t.9u8@servalan.servalan.com> <1993Aug20.090339.16591@clarinet.com> <ROB.93Aug20075427@gangrene.berkeley.edu> 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!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!looking!brad Newsgroups: news.software.b,news.software.readers Organization: ClariNet Communications Corp. Lines: 53