🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Anand Gupta Thu, 07 Dec 2000 00:00
tracking valid messages
#49311
Author: Anand Gupta
Date: Thu, 07 Dec 2000 00:00
21 lines
1438 bytes
What is the command I can pass to a news server which will give the
following information :

List of all VALID news articles in a particular group.

I am currently using the GROUP command

This returns me the low watermark, high watermark and total number of
valid articles. Since I want to display the headers, I wish to
retrieve the headers of ONLY the valid articles. 

I am using the HEAD <article number> command. I iterate this from the
high to low watermark and skip the numbers where I get an error from
the server. However, I wish to reduce my interaction with the server
and therefore wish to use the HEAD command *only* for the valid
article numbers. If I can pass some command to get this information, I
can design my script accordingly.

Please help. Thanks...

Re: tracking valid messages
#49317
Author: David Efflandt
Date: Thu, 07 Dec 2000 00:00
23 lines
1673 bytes
On Thu, 07 Dec 2000 16:06:37 GMT, Murray Peterson <mwp@home.com.invalid> wrote:
>prence@aclindia.net (Anand Gupta) wrote:
>
>>What is the command I can pass to a news server which will give the
>>following information :
>>
>>List of all VALID news articles in a particular group.
>
>XOVER <range>
>
>where <range> is <first article number>-<last article number>
>E.G.: XOVER 123-456

But you still need to code for the possibility that articles may expire
between the time you get such a list, grab the headers, and/or grab the
bodies.

-- 
David Efflandt  efflandt@xnet.com  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

Re: tracking valid messages
#49324
Author: Murray Peterson
Date: Thu, 07 Dec 2000 16:06
17 lines
1485 bytes
prence@aclindia.net (Anand Gupta) wrote:

>What is the command I can pass to a news server which will give the
>following information :
>
>List of all VALID news articles in a particular group.

XOVER <range>

where <range> is <first article number>-<last article number>
E.G.: XOVER 123-456

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Re: tracking valid messages
#49329
Author: Murray Peterson
Date: Fri, 08 Dec 2000 00:00
16 lines
1521 bytes
efflandt@xnet.com (David Efflandt) wrote:

>But you still need to code for the possibility that articles may
>expire between the time you get such a list, grab the headers,
>and/or grab the bodies.

That's very true.  The ONLY way to determine if a message is "valid" 
is by downloading it.  Quite a few servers add headers before bodies 
and delete bodies before headers, which causes the mismatch.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson

Re: tracking valid messages
#49487
Author: STSNQA
Date: Fri, 22 Dec 2000 17:12
2 lines
689 bytes
blah blah
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