🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59451

Re: Dealing with canceled posts?

#59451
From: Erik Hensema
Date: Thu, 04 Jul 2002 21:41
30 lines
2083 bytes
SleepDirt (sleep_dirt@hotmail.com) wrote:
> I'm working on a news reader to learn socket programming. I've managed
> to progress pretty far by reading the RFC's and looking at posts in
> this group but something I just can't figure out is how to deal with
> missing posts.
> 
> If I send a GROUP command to my server, it often gives me the wrong
> start point and my client has to cycle through hundreds of headers
> that come back blank.
> 
> ex:
> "211 79657 5276223 5355879 alt.binaries.movies selected"
> "xhdr subject 5276223"
> "221 subject fields follow"
> "."
> 
> Do most news readers go about this a different way than using the data
> GROUP returns?

Simply supply a range:

xhdr subject 5276223-5355879

would give you all subjects in the group. Cancelled posts simply show up as
a gap in the article numbers.

-- 
Erik Hensema (erik@hensema.net)                             ICQ# 8280101
Quoting-HOWTO: http://www.leerquoten.nl
Technical Details
Message-ID: <slrnai9g83.oi8.spamtrap@dexter.hensema.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!news01.chello.se!amsnews01.chello.com!surfnet.nl!news.nl.linux.org!humbolt.nl.linux.org!news.hensema.net!cc78409-a.hnglo1.ov.nl.home.com!not-for-mail
References: <5822e346.0207041256.584c50a5@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnai9g83.oi8.spamtrap@dexter.hensema.net>
Subject: Re: Dealing with canceled posts?
Date: Thu, 04 Jul 2002 21:41:23 +0000
From: Erik Hensema <spamtrap@use.reply-to>
References: <5822e346.0207041256.584c50a5@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!news01.chello.se!amsnews01.chello.com!surfnet.nl!news.nl.linux.org!humbolt.nl.linux.org!news.hensema.net!cc78409-a.hnglo1.ov.nl.home.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Hensema
Lines: 29
Reply-To: erik@hensema.net
NNTP-Posting-Host: dexter.ipv6.hensema.net
X-Trace: dexter.hensema.net 1025818883 25161 3ffe:8280:10:a10::1 (4 Jul 2002 21:41:23 GMT)
X-Complaints-To: news@hensema.net
NNTP-Posting-Date: Thu, 4 Jul 2002 21:41:23 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)