Article View: news.software.nntp
Article #64940Re: Convert Message-ID to group number
From: Curt Welch
Date: Sat, 19 Apr 2003 19:55
Date: Sat, 19 Apr 2003 19:55
36 lines
2504 bytes
2504 bytes
Mike Mimic <ppagee@yahoo.com> wrote: > Hi! > > How can I convert Message-ID to a group number so > that I can pass it to the XOVER command? > > I would like to get XOVER data for articles > posted since given date. So I thought of combinig > NEWNEWS and XOVER. But NEWNEWS returns Message-IDs > and XOVER expects group numbers. > > I would convert first and last Message-IDs from > the NEWNEWS command and give them to the XOVER > command. Do a HEAD <message-id> to get the entire head and use that instead of the xover data. It would be mice of xover accepted a Message-ID argument like many of the other commands but it doesn't. In the article head, you will find the Xref: header which will give you article numbers for each group the article is cross posted to. You can then use that with a GROUP command and XOVER command to get XOVER format header data. But if you have the entire header, that would be pointless. The other option is to use "XHDR Xref <message-id>" to get just the Xref line and then do xover, but for most applications, it would be faster to just use HEAD and skip the XOVER command. A thrid option is to dump the entire group using XHDR Message-ID 1- to give you list of article numbers and message-ids and then build a local database to convert Message-ID to article numbers. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030419155543.466$ar@newsreader.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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<r1goa.104$i7.52009@news.siol.net>Show Full Headers
Complete Article Headers
Message-ID: <20030419155543.466$ar@newsreader.com>
Subject: Re: Convert Message-ID to group number
Date: Sat, 19 Apr 2003 19:55:43 +0000
From: curt@kcwc.com (Curt Welch)
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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com xQV5SKCAA3=JHY39cg@FT8Gqrxlv8oLn9B./_w8_hNgnj9,p
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 35