🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Post Replies Please Mon, 21 Jun 1999 00:00
Can I count on xhdr message-id working in most cases?
#38170
Author: Post Replies Please
Date: Mon, 21 Jun 1999 00:00
20 lines
1732 bytes
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?


Re: Can I count on xhdr message-id working in most cases?
#38182
Author: greg andruk
Date: Tue, 22 Jun 1999 00:00
37 lines
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.


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