🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
6 messages
6 total messages Started by aclexports Tue, 24 Oct 2000 01:19
NNTP command to retrieve headers ?
#2303
Author: aclexports
Date: Tue, 24 Oct 2000 01:19
10 lines
1092 bytes
What command do I need to pass to a remote  NNTP server so that it
will send me all the current headers in a particular group ? I need to
display these headers in HTML format in real time so I need the server
to send me for each header : the subject, date, time, author name,
author email and additional info for threading the headers. Can anyone
help ? If I am already logged into the server, what is the paramter
that I have to pass - the group name ?

Thanks.
Re: NNTP command to retrieve headers ?
#2297
Author: Matt Silberstein
Date: Tue, 24 Oct 2000 00:00
37 lines
2022 bytes
In news.software.misc  I read <87y9ze7udg.fsf@erlenstar.demon.co.uk>
from Andrew Gierth <andrew@erlenstar.demon.co.uk>:

>>>>>> "aclexports" == aclexports  <aclexports@usa.net> writes:
>
> aclexports> What command do I need to pass to a remote NNTP server so
> aclexports> that it will send me all the current headers in a
> aclexports> particular group ? I need to display these headers in
> aclexports> HTML format in real time so I need the server to send me
> aclexports> for each header : the subject, date, time, author name,
> aclexports> author email and additional info for threading the
> aclexports> headers. Can anyone help ?
>
>the command you are looking for is XOVER, which is documented in the
>Common NNTP Extensions RFC.

Do you have an RFC number? I looked at
http://rfc.fh-koeln.de/doc/rfc/html/rfc.html and could not find it by
that name, but looking for NNTP, extensions, or common.

And if there are other relevant (besides 977 and 1036) RFCs that you
know of please let me know.

TIA.


--
Matt Silberstein TBC HRL OMM LotL

Make me an angel that flies from Montgomery
Make me a poster of an old rodeo
Just give me one thing that I can hold on to
To believe in this living is just a hard way to go.

J.P.

Re: NNTP command to retrieve headers ?
#2299
Author: Bert Hyman
Date: Tue, 24 Oct 2000 00:00
48 lines
2303 bytes
aclexports@usa.net wrote in <39f4d5e2.7282284@news.alt.net>:

>What command do I need to pass to a remote  NNTP server so that it
>will send me all the current headers in a particular group ? I need
>to display these headers in HTML format in real time so I need the
>server to send me for each header : the subject, date, time, author
>name, author email and additional info for threading the headers. Can
>anyone help ? If I am already logged into the server, what is the
>paramter that I have to pass - the group name ?
>
The command sequence you want is:

GROUP group.name

XOVER low-high

XOVER 1- will return overview data for ALL the articles.

The "GROUP" command returns:

211 number-of-articles low-art-number high-art-number

The "XOVER" command returns:

224 data follows
<lines of XOVER data>
..

Some servers omit the text from the numeric status lines.

If you need all that info in real-time and plan on doing it for a
while, maybe you should consider getting a "headers only" feed from
your server (assuming that you're on good terms with the
administrator). You'd have to write some simple client software, but 
it sounds like you're doing that already. 

For INN (a popular UNIX news server software), a feed with a "WH"
parameter sends ALL headers, or a "WO" parameter sends overview data.
The feed can be adjusted to send info on any combination of newsgroups
you care to get.

I assume that other server software can be configured to do the same
thing. 

-- 
Bert Hyman | St. Paul, MN | bert@visi.com

Re: NNTP command to retrieve headers ?
#2300
Author: Christopher Splinter
Date: Tue, 24 Oct 2000 00:00
9 lines
997 bytes
* Matt Silberstein <matts2@ix.netcom.com> wrote:

>> the command you are looking for is XOVER, which is documented in the
>> Common NNTP Extensions RFC.
> Do you have an RFC number?

RFC 2980.

Re: NNTP command to retrieve headers ?
#2304
Author: Andrew Gierth
Date: Tue, 24 Oct 2000 04:09
16 lines
1673 bytes
>>>>> "aclexports" == aclexports  <aclexports@usa.net> writes:

 aclexports> What command do I need to pass to a remote NNTP server so
 aclexports> that it will send me all the current headers in a
 aclexports> particular group ? I need to display these headers in
 aclexports> HTML format in real time so I need the server to send me
 aclexports> for each header : the subject, date, time, author name,
 aclexports> author email and additional info for threading the
 aclexports> headers. Can anyone help ?

the command you are looking for is XOVER, which is documented in the
Common NNTP Extensions RFC.

-- 
Andrew.
Re: NNTP command to retrieve headers ?
#2307
Author: Sylvio Runge
Date: Tue, 24 Oct 2000 04:54
17 lines
1677 bytes

aclexports@usa.net wrote:
> 
> What command do I need to pass to a remote  NNTP server so that it
> will send me all the current headers in a particular group ? I need to
> display these headers in HTML format in real time so I need the server
> to send me for each header : the subject, date, time, author name,
> author email and additional info for threading the headers. Can anyone
> help ? If I am already logged into the server, what is the paramter
> that I have to pass - the group name ?
group alt.test
xover 1-


S.
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