Article View: news.software.nntp
Article #38182Re: Can I count on xhdr message-id working in most cases?
From: greg andruk
Date: Tue, 22 Jun 1999 00:00
Date: Tue, 22 Jun 1999 00:00
37 lines
2507 bytes
2507 bytes
Post Replies Please <nobody@nowhere.dom> writes: > I'm working on some custom news downloading, searching, > and processing S/W. As I will at times be pulling complete > articles from multiple newsgroups I'd like to make an effort > to avoid doing duplicates (crossposts). Now I could pull > the XOVER's first and then look for redundant Message-ID's > but it looks like pulling the Message-ID's via the XHDR command > would chew up less bandwidth. It seems that since the Message-ID > is part of the overview format XHDR should always be able to > retrieve it where the XHDR command is actually implimented. > But that's the thing... it looks like it is a common extension and > its available on all the servers I've tested but I don't have enough > experience to say just how common it is. If the vast majority of > servers support it that is good enough for me. If a significant > percentage of servers don't support it then perhaps I should go > the XOVER route. > Comments? Both XHDR and XOVER are nonstandard extensions (that's why they have the 'X' prefix). The two tend to share a good deal of code, so you'll usually find one if the other is there. But, you should never assume that any extension will be there, or that it will be completely implemented. Be prepared to fall back to XOVER if XHDR doesn't work right, and plan on resorting to the standard HEAD if XOVER is missing. If HEAD is missing, it ain't NNTP. Finally, don't overlook the Xref: header (even though it starts with an 'X', it is standard for articles to have them). If you are working from a single server, it has all the crosspost information (by article number) you may need, and you can skip checking those articles when scanning later groups that match.
Technical Details
Message-ID:
<874sk0y8d1.fsf@slip-32-100-243-228.ma.us.ibm.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-mailReferences:
<7kmlb3$hu1$1@autumn.news.rcn.net>Show Full Headers
Complete Article Headers
Message-ID: <874sk0y8d1.fsf@slip-32-100-243-228.ma.us.ibm.net> Subject: Re: Can I count on xhdr message-id working in most cases? Date: Tue, 22 Jun 1999 00:00:00 +0000 From: greg andruk <meowing@banet.net> References: <7kmlb3$hu1$1@autumn.news.rcn.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: 492426981 X-Notice: should be reported to postmaster@ibm.net X-Complaints-To: postmaster@ibm.net X-Trace: 22 Jun 1999 07:58:39 GMT, 32.100.243.215 Organization: meow ergo vulis Newsgroups: news.software.nntp