Article View: news.software.nntp
Article #44576Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
From: Jeremy
Date: Mon, 28 Feb 2000 00:00
Date: Mon, 28 Feb 2000 00:00
74 lines
3656 bytes
3656 bytes
Curt Welch <curt@kcwc.com> wrote: > Even if the server is going to have a setable overview format, it should > not be the "LIST OVERVIEW.FMT" that's being set becaue that has very > specific meaning to performance. Most servers will return bulk OVERVIEW > data very quickly. And they use it for XHDR commands as well. But when > you ask for a header which isn't in the OVERVIEW.FMT list, it either > won't return it, or it will return it, but it will be much slower becuse > the server is forced to fetch each article one at a time to do so. Well, my idea is that the server would be required to return it, no matter what headers are wanted. None of this "header X-Meow not in index" bunk. That is another good point though, as was Andrew's. If the implementation still has the same kind of overview indexing, it would be good to make the "standard" OVER/XOVER command still be "nice" to the server by using those records. > The XOVER replacement command with all standard headers is only this long: > > HEADERS Subject From Date Message-ID References Bytes Lines Xref Yep. I like it, and it would do what I want. >> I think it would be; applying the wildmat to the whole returned entry >> would make it far less useful. > > The important extension in my mind is just the ability to do bulk header > downlods of only the headers you want. Yes, that's why I don't think it belongs in PAT; it doesn't sound like the pattern matching is really what you're after. > The wildmat stuff I just don't get. That is, I can't think of why I'd ever > use it in a typical newsreader. It's certainly specialized. > But, in writing this, I came up with this syntax by accident > which even I think is kinda neat: > > HEADERS 1- Message-ID From:*Jeremy* Subject:*NNTP* X-Meow > > Allow the wildmat to be added to any header using the colon! How simple > and straight forward to both understand and parse. I like it. > The only thing this doesn't address is the multiple wildmats per header > issue (which I have no problem dropping support of), Fine by me. > and the question of AND vs OR. i.e. should it display articles that > match all wildmats, or articles that match any wildmat. I'm thinking > it would be best to go with the "ALL" option. Yes, AND is the way to go. OR can be accomplished by performing multiple searches. > Oh, and there's also the NULL/zero length wildmat possibility with this > syntax. Should that match all empty headers? (i.e. article doesn't have > that header), or just be treated as * (i.e. same as no wildmat), or be > considered an error? You mean, "X-Meow:" versus "X-Meow"? Treat "X-Meow:" as "X-Meow:*", and require the header to be present. Just "X-Meow" would cause the content of the header to be returned if it exists, or an empty string in that field if it doesn't. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Technical Details
Message-ID:
<951759933.438276@news.netscum.dk>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:
<87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000227162210.142$UD@newsreader.com> <951696824.53483@news.netscum.dk> <20000228025703.219$Yt@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <951759933.438276@news.netscum.dk> Subject: Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT) Date: Mon, 28 Feb 2000 00:00:00 +0000 From: Jeremy <bofh@netscum.dk> References: <87aeknd2ua.fsf@erlenstar.demon.co.uk> <20000227162210.142$UD@newsreader.com> <951696824.53483@news.netscum.dk> <20000228025703.219$Yt@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!not-for-mail X-Deja-AN: 590942682 Organization: There Is No Organization X-Meow: Meow Newsgroups: news.software.nntp