W3C home > Mailing lists > Public > uri@w3.org > August 2004

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

From: Charles Lindsey <chl@clerew.man.ac.uk>
Date: Wed, 25 Aug 2004 20:51:29 +0100
To: uri@w3.org
Message-ID: <opsdaz33ga6hl8nm@clerew.man.ac.uk>

On Wed, 25 Aug 2004 08:39:37 -0700, Paul Hoffman / IMC <phoffman@imc.org>  
wrote:

> OK, I need specific suggestions for what to do. Should I go back to the  
> 1738 definitions? If not, exactly what do you think should be in the new  
> document?

I suggest you keep the NEWS and NNTP schemes separate, in the first place,  
until we are sure that we have described them correctly. After that, we  
can discuss whether and how to combine them. The first thing, therefore,  
is to get a correct syntax.

       newsURL     = "news"  ":" [ news-server ]
                        ( newsgroup-name | '*' | message-id )
       news-server =  "//" server "/"
       message-id  = id-left "@" id-right

where <id-left> and <id-right> are taken from RFC 2822 (or they might be  
taken from USEFOR). But you also need some additional handwaving to  
explain why
      abcd@example.com
is allowed, but
      "abcd"@example.com
and  "ab\cd"@example.com
are not (see draft-ietf-nntpext-base-21.txt or USEFOR for why not)

A syntax for <server> can be found in RFC 2396, but it would be necessary  
to specify what any <userinfo> might look like (there is a SASL  
authentication system for NNTP on the stocks - is there some generic way  
to do SASL in URLs?).

The present wording for <newsgroup-name> in RFC 1738 will do for now.


       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).

-- 
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 Wednesday, 25 August 2004 19:54:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:08 UTC