Article View: news.software.nntp
Article #64947Re: Convert Message-ID to group number
From: Jeremy
Date: Sun, 20 Apr 2003 19:11
Date: Sun, 20 Apr 2003 19:11
25 lines
1706 bytes
1706 bytes
Mike Mimic <ppagee@yahoo.com> wrote: > How can I convert Message-ID to a group number so > that I can pass it to the XOVER command? In a sane world, XOVER would work on message-ids too. In a saner world, there'd be an NNTP command which combines the functionality of both of these commands. Unfortunately, NNTP sucks in certain ways like this, so we use workarounds. The Xref header will contain the group name and article number. You can get it with an XHDR command. However, since your NEWNEWS-returned IDs will be in arbitrary order, you'll be forced to grab overviews one at a time anyway, so Curt's suggestion of just doing HEAD instead sounds quite reasonable. > I would convert first and last Message-IDs from > the NEWNEWS command and give them to the XOVER > command. That won't work. The IDs returned won't necessarily be first-to-last. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<1050865904.975774@ok-corral.gunslinger.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!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastardReferences:
<r1goa.104$i7.52009@news.siol.net>Show Full Headers
Complete Article Headers
Message-ID: <1050865904.975774@ok-corral.gunslinger.net> Subject: Re: Convert Message-ID to group number Date: Sun, 20 Apr 2003 19:11:44 +0000 From: Jeremy <jeremy@exit109.com> References: <r1goa.104$i7.52009@news.siol.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!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 24 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: trn 4.0-test76 (Apr 2, 2001) X-Meow: Meow