Article View: news.software.nntp
Article #61686Re: XPAT / NEWNEWS not supported in all newsservers?
From: Faye Pearson
Date: Mon, 28 Oct 2002 12:18
Date: Mon, 28 Oct 2002 12:18
53 lines
2786 bytes
2786 bytes
On Mon, 28 Oct 2002 09:32:32 +0100, Bas Ruiter <lordsnow@home.nl> wrote: > When I do a HELP the @home newserver responds with a list of > supported commands. > > Included in that list is XPAT, and NEWNEWS. > > I tried, and found XPAT to work. > > I tried NEWNEWS and it does -not- work, I get a response that > this command has been disabled. > > What I wanted to know is, do all servers commonly support XPAT? > Do all servers commonly -not- support NEWNEWS? And what other > commands should I be aware of that may or may not be supported? Basically this is down to how much load the administrator wants to allow on the news server :) XPAT is easy to do if the header being checked is in the overview database. It's not so easy if it isn't as it requires an article lookup for each article in the group. Ditto XHDR. Actually I say "not so easy" I mean not so fast. NEWNEWS is often disabled if the server doesn't index articles by time and therefore has to step through every article in the newsgroups referenced. You can't guarantee that either will work, you will have to provide fall back mechanisms. If you have bandwidth, then XOVER is generally the best bet as it provides lots of useful information in one handy stream. If not, XPAT for specific article searches maybe (try to keep within the fields that are returned by XOVER though). XHDR can only get one header at a time, so if you are matching subjects to articles (or Message-IDs to articles it's probably the next best thing to XOVER. If both fail then HEAD is probably the last resort :/ If you want to minimise latency then stacking commands is useful, but you don't want to stack commands behind one which can fail. Faye -- Faye Pearson, Covert Development ClaraNET Ltd.
Technical Details
Message-ID:
<slrnarqaof.iuo.faye@dude.noc.clara.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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!doris.uk.clara.netReferences:
<h4tpru4u8o90auqie360jspsmgebo2i51v@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnarqaof.iuo.faye@dude.noc.clara.net> Subject: Re: XPAT / NEWNEWS not supported in all newsservers? Date: Mon, 28 Oct 2002 12:18:24 +0000 From: Faye Pearson <faye@clara.net> References: <h4tpru4u8o90auqie360jspsmgebo2i51v@4ax.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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!doris.uk.clara.net Newsgroups: news.software.nntp User-Agent: slrn/0.9.7.4 (Linux) X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 436c8e3e3c2500ab3ec50d01933534042132630c10803070263a80723dbd2b10 NNTP-Posting-Date: Mon, 28 Oct 2002 12:18:24 +0000 Lines: 52