Re: Fwd: draft-hoffman-news-nntp-uri-00.txt

On Wed, 25 Aug 2004 20:51:29 +0100, Charles Lindsey <chl@clerew.man.ac.uk>  
wrote:

>
>        nntpURL     = "nntp"  ":" news-server newsgroup-name "/" range
>        news-server =  "//" server "/"
>        range       = article-number ["-" [article-number]]
>        article-number = 1*DIGIT
>
> The syntax for <range> is taken from draft-ietf-nntpext-base-21.txt, and  
> its semantics can probably be taken from there as well (but we still  
> have to decide what the URL is supposed to return if there is more than  
> just an article-number).

On further thought, <range> should be optional:

         nntpURL     = "nntp"  ":" news-server newsgroup-name [ "/" range ]

which means that
     news://some-host/comp.foo
and
     nntp://some-host/comp.foo
will mean the same thing (i.e. "please put me into that group and show me  
a list of all available articles"). If <range> is present, it means the  
same, except restrict the list to the given range, but if <range> is just  
a single <article-number> then it may as well go further and retrieve the  
actual article. Note that this is the normal way in which <range> gets  
used in NNTP commands.

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl@clerew.man.ac.uk      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5

Received on Thursday, 26 August 2004 16:12:49 UTC