2. The News URI Scheme The news URI scheme is used to refer to either news groups or individual Netnews articles, as defined in [RFC 1036]. The news URI takes the form: newsURI = "news:" ( article / group / all-groups ) article = [ news-server "/" ] message-id group = [ news-server "/" ] newsgroup-name all-groups = news-server [ "/" [ "*" ] ] / "*" news-server = "//" authority message-id = printable-ascii "@" printable-ascii newsgroup-name = 1*%d33-126 printable-ascii = 1*( %d33-61 / %d63-126 ) ; excludes ">" is defined in [RFC 3986], and provides for a , a (defaulting to 119 in this scheme) and possibly a . Within a and a , the characters '%', '@', '/', '?' and '#' are reserved and MUST be %-encoded if they occur. All other characters MAY be used freely to represent themselves. It is not precluded that future extensions to the Netnews standard may permit octets outside of the given ranges, in which case they too MUST be %-encoded (except perhaps when used in an IRI [RFC 3987]). If no is specified, the resources are to be retrieved from whatever server has been configured for local use. 2.1 The newsURI contains an
A corresponds to the of [RFC 2822] and to the Message-ID of section 2.1.5 of [RFC 1036], but without the enclosing "<" and ">". It MUST be the message identifier of an actual Netnews article and hence will in practice conform to the syntax defined in [RFC 1036] or in any subsequent standard for Netnews articles. Thus not every as defined above is valid. Observe the delimiter "@" which enables an
to be distinguished from a . The resource retrieved by this URI is the Netnews article with the given . In a properly working Netnews system, the same article will be obtained whatever server is accessed for the purpose (assuming the server in question carried that article in the first place and that it has not expired). 2.2 The newsURI contains a According to [RFC 1036], the will in practice be a period-delimited hierarchical name, such as "comp.lang.perl.modules". The resource retrieved by this URI is some means to gain access to the articles in the given that are available from the given (usually by invoking a suitable news reading agent initialized to access that group). 2.3 The newsURI contains an If the newsURI is of one of the following forms: it refers to "all available news groups". The resource retrieved by this URI is some means to gain access to all the newsgroups that are available from the given (usually by invoking a suitable news reading agent). [Issue: Do we really want all those forms? Only the first was in [RFC 1738], but many agents currently accept the others. Moreover, some agents are known to barf on anything with '*' in it. Maybe the '*' part of the notation should be dispensed with. I therefore offer two alternative formulations.] [1st alternative] all-groups = news-server [ "/" ] / The possibility for to consist of a "*", which was present in [RFC 1738] is now obsoleted, and its continued use is deprecated. It was, in any case, only patchily implemented. [That allows the following forms: of which the first may or may not already work on current implementations (but that is true of the others also).] [2nd alternative] newsURI = "news:" ( article / group ) article = [ news-server "/" ] message-id group = [ news-server "/" ] wildmat [where is defined in draft-ietf-nntpext-base-*.txt and would allow the following forms: this is an enhancement of draft-gilman-news-url-02.txt and preserves the "*". It would be readily implemented, but it is quite certain that nowhere is it implemented currently. It would also be possible to preserve the from alternative 1 as well.] 3. The nntp URI scheme The nntp URI scheme is used to refer to individual Netnews articles, as defined in [RFC 1036]. The nntp URI takes the form: nntpURI = "nntp" ":" news-server "/" newsgroup-name "/" range news-server = "//" authority range = article-number ["-" [article-number]] article-number = 1*DIGIT Observe, in contradistinction to the news scheme, that the is not optional here, because the mapping from to actual articles is established independently by each server. 3.1 The range is a single The resource retrieved by this URI is the Netnews article numbered by the given in the given from the given . 3.2 The range encompasses more than a single The resource retrieved by this URI is some means to gain access to the articles numbered within the given of s in the given from the given (usually by invoking a suitable news reading agent initialized to access that range). A of the form "nnnn-" provides access to all articles numbered "nnnn" and above.