Article View: news.software.readers
Article #65519Re: Which news programs accepts "news://xyz.abc.com"
From: J.B. Moreno
Date: Tue, 12 Sep 2000 15:19
Date: Tue, 12 Sep 2000 15:19
142 lines
6733 bytes
6733 bytes
Frank Slootweg <franks@neth.hp.com> wrote: > [Mostly stripped in order to try to summarize.] > > You may want to jump directly to "SUMMARY:". I've not stripped as much, but I'll include a SUMMARY which will hopefully make things clear. > J.B. Moreno <planb@newsreaders.com> wrote: > > A news url is formed basically by inserting "news:" into > > the message id as the first characters. > > Inserting "news:" *after* the "<", right? I.e. -snip examples- > (I guess that it what you meant, because otherewise you would probably > have said "prepend ...", but I want to be really sure.) That's right, after the opening bracket -- and I should say that I mean a URL in a plain text message, if it's being used inside of a html document then the brackets have to be left off. > > And I was a little quick off the mark in condemning > > "<news:<message-id>", it's not a news url, but it should still work by > > finding the inner pair of brackets and matching that as a message id. > > (Like Kathy also mentioned,) I think you meant "<news:<message-id>>", > i.e. an extra trailing ">". (But still confusing, read on.) Nope. Brackets are illegal tokens in news message id's, except as the first and last characters (where they are required). So if you're searching for a message id, you're first pass match is /<[^<>]+>/, which you then refine (or you do something more complicated, but any case, any match that you do fine will match the above). -snip brackets are part of mid's- > >> So this all looks like a real mess, so it would be nice to know 1) if > >> there is a real standard (RFC et al) for this and 2) what the exact > >> format is and 3) whether or not "<" and ">" are *part of* the "URL". > > > > RFC 1738 covers news a bit, although it's not totaly in line with > > current practice, and has been sorta superseded by an (expired) draft. > > Not to pick nits, but to make sure that I fully understand: > > My example: > > Me> I.e. if I use "news:<c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com>" in > Me> (shudder) Internet Explorer, Outlook Express (shudder) pops up showing > Me> your article. > > was wrong because "news:" was insterted *before* the "<", instead of > *after* it. Correct? It is wrong as a URL, but it still meets the standards of a news message id, and can be assumed to be such. To put it another way, on a web page: <html><head></head><body> <a href="news:mid">will work</a> <a href="<news:mid>">will not work</a> </body> </html> > Now about Thomas' example: > > Thomas> Shouldn't it be <news:c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> > Thomas> if you want it to work in OE or Netscape? > > Are the "<" and ">" part of the News URL? They are delimiters, and not part of the actual URL. In plain text messages, URL's are delimited by brackets, this particularly applies to news URL's. > If so, then why does it fail if I paste that URL into the "Address" > field of IE (the *browser*)? (Failing while trying to connect to site > "4ax.com>") (If I leave off the "<" and ">", it works.) Because you're right -- a news URL is "<news:mid-without-brackets>", and the brackets are the delimiters in plain text. -snip- > SUMMARY: > ======== > > I just tried: > > news:c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com > <news:c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> > news:<c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> > <news:<c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com>> > > The first two work in OE, the newsreader. The first and third work in > IE, the browser. So only the first works for both OE and IE. > > So, like I wrote in my second example, I think the *actual URL* is > > news:c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com > > but that one can *quote* the URL as > > <news:c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> > > Agreed? Yes, with the cavet that I think that one should almost always use the delimiters in plain text messages, and that for news URL's that "almost" should be left out. > [My apologies for implying OE/IE to be some kind of reference, but my > normal newsreader (tin) does not support URLs in News articles, at least > not on my platform, so I have to refer to something else, which happens > to be OE/IE.] Well, I should apologize for spouting off without thinking it through first, the "news:<mid>" will work, it just includes stuff that isn't necessary and so is slightly misleading. If I'd been using YA-NW (which I think *can* be used as a reference) perhaps I would have been a bit more precise. It (and MacSOUP) recognizes all of the above, it also does hiliting which makes it clear what it is being recognized -- the first two lines are colored completely, but on the next two lines only the "<mid>" is colored, both the "news:" and the "<news:" are left alone. SUMMARY: A news message-id includes the brackets, but a news URL does NOT include the brackets and has the form news:mid-with-out-brackets. But when including a news URL in plain text message, you should include the brackets as the delimiters. So, when pasting it into a /browser/ it should be "news:mid-w.o.b", but when including it in a news article it should be "<news:mid-w.o.b>" or simply "<mid>". -- JBM (that's me) a DBDG.
Technical Details
Message-ID:
<1eguaf2.1yddywxwpiiivN%planb@newsreaders.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!roxboro0-0008.dyn.interpath.NET!not-for-mailReferences:
<c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> <8papoj$qf9$1@support.neth.hp.com> <8c6u5.1738$pH6.2018355@nnrp6.proxad.net> <1egmyzo.o4uv8ftgnmteN%planb@newsreaders.com> <8pikqr$2qo$2@support.neth.hp.com> <1egsi0g.1un2q2l2zoms8N%planb@newsreaders.com> <8pkpqq$smf$1@support.neth.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <1eguaf2.1yddywxwpiiivN%planb@newsreaders.com> Subject: Re: Which news programs accepts "news://xyz.abc.com" Date: Tue, 12 Sep 2000 11:19:01 -0400 From: planb@newsreaders.com (J.B. Moreno) References: <c6lgrs4qefvf64orqmk576rnvaca00a52l@4ax.com> <8papoj$qf9$1@support.neth.hp.com> <8c6u5.1738$pH6.2018355@nnrp6.proxad.net> <1egmyzo.o4uv8ftgnmteN%planb@newsreaders.com> <8pikqr$2qo$2@support.neth.hp.com> <1egsi0g.1un2q2l2zoms8N%planb@newsreaders.com> <8pkpqq$smf$1@support.neth.hp.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!roxboro0-0008.dyn.interpath.NET!not-for-mail Newsgroups: news.software.readers Organization: NetNews BOFH wannabe Lines: 141 NNTP-Posting-Host: roxboro0-0008.dyn.interpath.net (207.59.121.8) X-Trace: fu-berlin.de 968771854 13934676 207.59.121.8 (16 [22426]) X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> User-Agent: MacSOUP/2.4.4