🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5429

Re: Newsreader authors: Would article replacement break your reader

#5429
From: Matthias Urlichs
Date: Sun, 22 Aug 1993 21:09
44 lines
3014 bytes
In news.software.b, article <CC1706.Hn2@borland.com>,
  davison@borland.com (Wayne Davison) writes:
> 
> One question I have is what the end result looks like after the
> replacement.  We have article A (#42) which is replaced by article
> B.  Does article 42 now have message-id A or B in the on-disk copy?
> I would assume B (the arriving replacement) but this introduces a
> problem in a threaded reader whereby multiple message-ids are equated
> to a single article number.  The reverse case (storing the new article

Presumably, the parent articles are either the same or similarly 
equated, thus you can easily merge them into one without converting
your nice tree into an ugly DAG. ;-)

> So, what we end up with is an overview file that lists the wrong
> message-id for #42 and some missing information that id-B = id-A = 42
> that needs to be supplied somehow to the newsreader.  The overview
> file could be updated for each article replacement (ugh!) but we
> still need some way to include both message-ids (or N+1 message
> ids once N replacements have been done on the same article).  One

Nope. You simply carry the Replaces: or Supersedes: header in the
NOV database; then the reader can mark your #A as read, B stays unread,
and B is merged into A in the database. 

> contain the "Replaces: <id>" notification from the header.  And if
> this were written where the news software also does the translation
> of id to article (such as "Replaces: <id-A>,42" it would be useful
> to even non-threaded newsreaders (though how a non-threaded, non
> overview-using reader translates the replaces header into an article
> number is a little tricky, but not that hard).
> 
You can use the Xrefs: header for this. Simply list the old articles
there; the reader will mark all as read if it has displayed one.

> It should be possible to just have newsreaders start to equate the
> Supersedes header as a "replace" and then we don't have to modify
> the transport layer at all.

Hmmm... ... .... hey, that would work!  ;-)

-- 
Matthias Urlichs -- urlichs@smurf.sub.org -- Phone: NONE; use email or lose.
Schleiermacherstrasse 12 -- 90491 Nuernberg -- Germany || Linux+Mac Consulting
Technical Details
Message-ID: <258nau$rm@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-mail
References: <1993Aug17.015719.609@clarinet.com> <CC1706.Hn2@borland.com>

Show Full Headers
Complete Article Headers
Message-ID: <258nau$rm@smurfnbg.smurf.sub.org>
Subject: Re: Newsreader authors: Would article replacement break your reader
Date: Sun, 22 Aug 1993 21:09:50 +0000
From: urlichs@smurfnbg.smurf.sub.org (Matthias Urlichs)
References: <1993Aug17.015719.609@clarinet.com> <CC1706.Hn2@borland.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: 44
NNTP-Posting-Host: smurf.sub.org