Article View: news.software.misc
Article #2299Re: NNTP command to retrieve headers ?
From: Bert Hyman
Date: Tue, 24 Oct 2000 00:00
Date: Tue, 24 Oct 2000 00:00
48 lines
2303 bytes
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
Technical Details
Message-ID:
<8FD754881VeebleFetzer@192.61.219.6>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!not-for-mailReferences:
<39f4d5e2.7282284@news.alt.net>Show Full Headers
Complete Article Headers
Message-ID: <8FD754881VeebleFetzer@192.61.219.6> Subject: Re: NNTP command to retrieve headers ? Date: Tue, 24 Oct 2000 00:00:00 +0000 From: bert@visi.com (Bert Hyman) References: <39f4d5e2.7282284@news.alt.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!not-for-mail X-Deja-AN: 685230709 X-Complaints-To: news@rsvl.unisys.com X-Trace: si05.rsvl.unisys.com 972393103 52790 192.61.226.23 (24 Oct 2000 13:11:43 GMT) Organization: None to speak of User-Agent: Xnews/03.09.22 NNTP-Posting-Date: 24 Oct 2000 13:11:43 GMT Newsgroups: news.software.readers,news.software.misc,news.software.nntp