Thread View: news.software.nntp
6 messages
6 total messages
Started by J.B. Moreno
Sun, 24 Dec 2000 04:33
X/OVER and Message-ID
Author: J.B. Moreno
Date: Sun, 24 Dec 2000 04:33
Date: Sun, 24 Dec 2000 04:33
38 lines
2025 bytes
2025 bytes
I was reading the latest nntp draft,
<http://www.karlsruhe.org/rfc/draft-ietf-nntpext-base-12.txt>
and thinking about a perl script I am writing that gets news articles.
The spec for OVER says:
9.5.2.2 OVER
OVER [range]
The OVER command returns specific header information for the
article(s) specified from the current selected group. The
information returned in the response to this command can be
used by clients to follow discussion threads.
The optional range argument may be any of the following:
o an article number
o an article number followed by a dash to indicate all
following
o an article number followed by a dash followed by
another article number
If no argument is specified, then information from the
current article is displayed.
Anyway, it occurs to me that, just as with XHDR/PAT, it would be handy
to be able to get the overview info based upon the message-id.
Would this be difficult to implement? Any reason not to other than an
objection to feature-creep?
--
J.B. Moreno
Re: X/OVER and Message-ID
Author: Russ Allbery
Date: Sun, 24 Dec 2000 07:52
Date: Sun, 24 Dec 2000 07:52
19 lines
1666 bytes
1666 bytes
J B Moreno <planb@newsreaders.com> writes: > Anyway, it occurs to me that, just as with XHDR/PAT, it would be handy > to be able to get the overview info based upon the message-id. > Would this be difficult to implement? Yes and no. The overview database is generally keyed on group and article number. To get overview information by message ID, you'd need to open the article and then either regenerate the overview information from the headers or make use of the information stored with the article to figure out what group and article number it has and retrieve the overview information that way. So it's doable, just obnoxious and slow. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: X/OVER and Message-ID
Author: Joe Greco
Date: Sun, 24 Dec 2000 19:02
Date: Sun, 24 Dec 2000 19:02
42 lines
2614 bytes
2614 bytes
In news.software.nntp article <231220002333345181%planb@newsreaders.com>, "J.B. Moreno" <planb@newsreaders.com> wrote: :I was reading the latest nntp draft, : <http://www.karlsruhe.org/rfc/draft-ietf-nntpext-base-12.txt> : :and thinking about a perl script I am writing that gets news articles. : :The spec for OVER says: : :9.5.2.2 OVER : : OVER [range] : : The OVER command returns specific header information for the : article(s) specified from the current selected group. The : information returned in the response to this command can be : used by clients to follow discussion threads. : : The optional range argument may be any of the following: : : o an article number : : o an article number followed by a dash to indicate all : following : : o an article number followed by a dash followed by : another article number : : If no argument is specified, then information from the : current article is displayed. : :Anyway, it occurs to me that, just as with XHDR/PAT, it would be handy :to be able to get the overview info based upon the message-id. : :Would this be difficult to implement? Any reason not to other than an :objection to feature-creep? Some servers, such as dreaderd, don't maintain a history that can be related to the overview database, making such lookups impossible (although a variety of hackish workarounds would be possible for this specific case). ... JG
Re: X/OVER and Message-ID
Author: J.B. Moreno
Date: Sun, 24 Dec 2000 20:12
Date: Sun, 24 Dec 2000 20:12
25 lines
1829 bytes
1829 bytes
In article <yl3dfez26g.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > J B Moreno <planb@newsreaders.com> writes: > > > Anyway, it occurs to me that, just as with XHDR/PAT, it would be handy > > to be able to get the overview info based upon the message-id. > > > Would this be difficult to implement? > > Yes and no. The overview database is generally keyed on group and article > number. To get overview information by message ID, you'd need to open the > article and then either regenerate the overview information from the > headers or make use of the information stored with the article to figure > out what group and article number it has and retrieve the overview > information that way. > > So it's doable, just obnoxious and slow. Thanks, I was afraid this'd be the answer. Doesn't sound like it'd be a good thing to suggest to the nntp working group. -- J.B. Moreno
Re: X/OVER and Message-ID
Author: Russ Allbery
Date: Mon, 25 Dec 2000 03:16
Date: Mon, 25 Dec 2000 03:16
24 lines
2053 bytes
2053 bytes
J B Moreno <planb@newsreaders.com> writes: > Russ Allbery <rra@stanford.edu> wrote: >> Yes and no. The overview database is generally keyed on group and >> article number. To get overview information by message ID, you'd need >> to open the article and then either regenerate the overview information >> from the headers or make use of the information stored with the article >> to figure out what group and article number it has and retrieve the >> overview information that way. >> So it's doable, just obnoxious and slow. > Thanks, I was afraid this'd be the answer. Doesn't sound like it'd be a > good thing to suggest to the nntp working group. Basically, given the normal overview structure, it's usually actually faster for the server to respond to HEAD <message-id> than to try to get overview data by message ID, and of course once you have the HEAD data, you can rebuild most of the overview information (everything except bytes and lines and things like server-generated keywords) yourself. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: X/OVER and Message-ID
Author: J.B. Moreno
Date: Mon, 25 Dec 2000 05:50
Date: Mon, 25 Dec 2000 05:50
30 lines
2204 bytes
2204 bytes
In article <yl3dfddwcc.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > J B Moreno <planb@newsreaders.com> writes: > > Russ Allbery <rra@stanford.edu> wrote: > -snip- > >> So it's doable, just obnoxious and slow. > > > Thanks, I was afraid this'd be the answer. Doesn't sound like it'd be a > > good thing to suggest to the nntp working group. > > Basically, given the normal overview structure, it's usually actually > faster for the server to respond to HEAD <message-id> than to try to get > overview data by message ID, and of course once you have the HEAD data, > you can rebuild most of the overview information (everything except bytes > and lines and things like server-generated keywords) yourself. In my particular case it is Bytes I'm interested in, so the only thing in HEAD that I want is XREF so I can do GROUP and then XOVER. Bytes is what really gave me the idea, but it'd probably be useful in other situations (at the least it would simplify things for the client), but if it's going to be slow from the server (and not easily added) then there's no real advantage as long as the server returns xref even when the article isn't crossposted. -- J.B. Moreno
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