Thread View: news.software.nntp
7 messages
7 total messages
Started by Jason
Sun, 27 Jan 2008 01:21
NNTP Protocol / XOVER question
Author: Jason
Date: Sun, 27 Jan 2008 01:21
Date: Sun, 27 Jan 2008 01:21
22 lines
2003 bytes
2003 bytes
Hi, If I have a message-id of an article i.e "<wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" how do i go about getting the numerical article number of it to use with the XOVER command? If i do "HEAD <wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" i cant see anything relevant to the article number in the message headers, and from what i can understand the article number is relevant to the current group. Any ideas on how i get this number? Also on a side note, is it considered ok for a client to assume that NNTP extensions such as XOVER are implemented in modern servers? Or is the correct thing to do check the HELP command for supported commands beforehand? Thanks alot for any help, Jason
Re: NNTP Protocol / XOVER question
Author: Russ Allbery
Date: Sun, 27 Jan 2008 01:54
Date: Sun, 27 Jan 2008 01:54
32 lines
2411 bytes
2411 bytes
Jason <jecheney@gmail.com> writes:
> If I have a message-id of an article i.e
> "<wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" how do i go about
> getting the numerical article number of it to use with the XOVER
> command?
> If i do "HEAD <wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" i cant
> see anything relevant to the article number in the message headers,
> and from what i can understand the article number is relevant to the
> current group. Any ideas on how i get this number?
Unless the article contains an Xref header, there is no way to do what you
want to do.
> Also on a side note, is it considered ok for a client to assume that
> NNTP extensions such as XOVER are implemented in modern servers?
For XOVER, yes.
> Or is the correct thing to do check the HELP command for supported
> commands beforehand?
HELP may or may not list available commands. LIST EXTENSIONS in the
current NNTP protocol standard will do so, but it may or may not be
implemented.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol / XOVER question
Author: Jeffrey M. Vinocur
Date: Sun, 27 Jan 2008 02:12
Date: Sun, 27 Jan 2008 02:12
27 lines
2137 bytes
2137 bytes
In article <4aea3831-259e-4cf9-b690-43078c8794dc@d70g2000hsb.googlegroups.com>, Jason <jecheney@gmail.com> wrote: > >If I have a message-id of an article i.e >"<wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" how do i go about >getting the numerical article number of it to use with the XOVER >command? > >If i do "HEAD <wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" i cant >see anything relevant to the article number in the message headers, >and from what i can understand the article number is relevant to the >current group. Any ideas on how i get this number? Russ, of course, is entirely correct. But I have a silly question...why do you need to do this? I mean, I don't know where you're getting Message-IDs from without already knowing the article numbers, except rare occasions like manual user searches, or in response to the user clicking a Message-ID in an article. And in those cases, you don't need the speed advantage of XOVER -- just use HEAD and take whatever info you need from there. -- Jeffrey M. Vinocur jeff@litech.org
Re: NNTP Protocol / XOVER question
Author: Jason
Date: Sun, 27 Jan 2008 02:27
Date: Sun, 27 Jan 2008 02:27
46 lines
3250 bytes
3250 bytes
On 27 Jan, 02:12, j...@litech.org (Jeffrey M. Vinocur) wrote: > In article <4aea3831-259e-4cf9-b690-43078c879...@d70g2000hsb.googlegroups.com>, > > Jason <jeche...@gmail.com> wrote: > > >If I have a message-id of an article i.e > >"<wvCdnQmgfoZEjw7anZ2dnUVZ8q7in...@giganews.com>" how do i go about > >getting the numerical article number of it to use with the XOVER > >command? > > >If i do "HEAD <wvCdnQmgfoZEjw7anZ2dnUVZ8q7in...@giganews.com>" i cant > >see anything relevant to the article number in the message headers, > >and from what i can understand the article number is relevant to the > >current group. Any ideas on how i get this number? > > Russ, of course, is entirely correct. > > But I have a silly question...why do you need to do this? I > mean, I don't know where you're getting Message-IDs from without > already knowing the article numbers, except rare occasions like > manual user searches, or in response to the user clicking a > Message-ID in an article. And in those cases, you don't need the > speed advantage of XOVER -- just use HEAD and take whatever info > you need from there. > > -- > Jeffrey M. Vinocur > j...@litech.org Thanks for the reply guys, after thinking this through it turns out i actually don't need to do this. The message-id was obtained from a .nzb file, the reason i wanted to use XOVER was to determine the size of the message, but it turns out the size is also in the .nzb file associated with the relevant message-id. One other question i have is with regards to server authentication, looking over the RFC it appears there are 3 types of AUTHINFO, how do i know which one to use? I have always (for my server) used authinfo user username | authinfo pass passwd, but will all servers that require authentication support this method? Thanks again, Jason
Re: NNTP Protocol / XOVER question
Author: Russ Allbery
Date: Sun, 27 Jan 2008 02:32
Date: Sun, 27 Jan 2008 02:32
16 lines
1889 bytes
1889 bytes
Jason <jecheney@gmail.com> writes:
> One other question i have is with regards to server authentication,
> looking over the RFC it appears there are 3 types of AUTHINFO, how do i
> know which one to use? I have always (for my server) used authinfo user
> username | authinfo pass passwd, but will all servers that require
> authentication support this method?
That is far and away the most widely implemented method. AUTHINFO SASL is
better, but it's much newer and isn't widely implemented.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol / XOVER question
Author: Julien ÉLIE
Date: Sun, 27 Jan 2008 08:35
Date: Sun, 27 Jan 2008 08:35
22 lines
2123 bytes
2123 bytes
Hi Jason,
> Also on a side note, is it considered ok for a client to assume that
> NNTP extensions such as XOVER are implemented in modern servers?
Note that in the new RFC 3977 for NNTP:
o The XHDR command in RFC 2980 has been formalised as the new HDR
(Section 8.5) and LIST HEADERS (Section 8.6) commands.
o The XOVER command in RFC 2980 has been formalised as the new OVER
(Section 8.3) and LIST OVERVIEW.FMT (Section 8.4) commands. The
former can be applied to a message-id as well as to a range.
Therefore, XOVER is not a NNTP extension stricto sensu with the last RFC.
But well, modern news servers do not implement this RFC yet.
--
Julien ÉLIE
« Pas question de faire voler un tapis volé ! » (Astérix)
Re: NNTP Protocol / XOVER question
Author: Jason
Date: Sun, 27 Jan 2008 13:31
Date: Sun, 27 Jan 2008 13:31
26 lines
2466 bytes
2466 bytes
On 27 Jan, 08:35, Julien ÉLIE <iul...@nom-de-mon-site.com.invalid> wrote: > Hi Jason, > > > Also on a side note, is it considered ok for a client to assume that > > NNTP extensions such as XOVER are implemented in modern servers? > > Note that in the new RFC 3977 for NNTP: > > o The XHDR command in RFC 2980 has been formalised as the new HDR > (Section 8.5) and LIST HEADERS (Section 8.6) commands. > o The XOVER command in RFC 2980 has been formalised as the new OVER > (Section 8.3) and LIST OVERVIEW.FMT (Section 8.4) commands. The > former can be applied to a message-id as well as to a range. > > Therefore, XOVER is not a NNTP extension stricto sensu with the last RFC. > > But well, modern news servers do not implement this RFC yet. > > -- > Julien ÉLIE > > « Pas question de faire voler un tapis volé ! » (Astérix) Thanks for all the help guys, hopefully i have everything I need now to bosh together a half decent client :)
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