Article View: news.software.readers
Article #65914Re: Writing URLs and e-mail addresses in English prose
From: Bill Cole
Date: Mon, 25 Sep 2000 00:00
Date: Mon, 25 Sep 2000 00:00
134 lines
7174 bytes
7174 bytes
In article <nnq.8qn1dp$p2v$1@bunyip.cc.uq.edu.au>, ianst@refer.to.sig.au.invalid (Ian Staples) wrote: >In article <nnq.bill-2309001650590001@fireproof.scconsult.com>, >bill@scconsult.com (Bill Cole) wrote: [..] >>Demo: >> >><http://sc1.scconsult.com/demo.> >><http://sc1.scconsult.com/demo> > >Yep, Netscape parses these are two different pages -- though >I also noted that someone else has posted that Xnews does not >seem to distinguish them. Should it? It's not a browser too >is it? I don't really know what Xnews is, but it sounds like a newsreader. This points up the problem of fiddling with standards: the standard isn't a functioning piece of software that everyone uses, it's a specification that software developers theoretically are supposed to follow in creating their software. Changing the standard doesn't change existing software, all it can do is change how future software is written. Another problem is that some programs (like many newsreaders) try to pick out URL's in a context where URL's may not be clearly formatted (like news articles) and how they pick out what is actually part of a URL can vary. Xnews may be designed to handle the trailing period case by stripping the period, which solves the problem that started this thread but breaks valid (if unusual) cases like I posted. Often, software that does that is in fact passing what it sees as the URL to another program (i.e. a web browser) to actually retrieve a page. >FWIW, here's another comment by a knowledgeable contributor >forwarded from the original thread in a.e.u which gives a bit >of detail about the uses of that trailing period in URLs: I'll comment a little on it because it might be misleading... >>From: msb@vex.net (Mark Brader) >>Subject: Re: pronouncing acronyms [Was: Writing URLs and e-mail [...] ] >>Date: 23 Sep 2000 17:24:37 GMT >> >>Peter Moylan: >>> The announcer was giving a URL, something like abc.net.au, >> >>That is a domain name, not a URL. >> >>> ... The computer-savvy see that dot in a URL as meaning something >>> like "there's more to come, and here's the next component". From >>> that point of view the dot has to be a prefix. >> >>Only it doesn't. Indeed. I am not sure what context Mr. Moylan was thinking of. A period in a full URL has no special meaning. A period followed by a slash in a 'relative' URL (a form often used in HTML source) can be the first character, indicating that the full URL can be reconstructed by taking the leading part of the current URL to the last slash and appending the portion of the relative URL after the './' to it. For example, if you are on the page at <http://www.example.com/docs/index.html> and it has a link on it that reads like this in the HTML code: <A HREF="./other.html"> then your browser should interpret that link as aiming at: <http://www.example.com/docs/other.html> That form is actually quite rare, since the leading period is not required. Moving on... >>It is possible for the last part of a domain name to be implicit. This >>most often happens when referring to a site within a local network; from >>within fishing.com, you might type "reel" to refer to "reel.fishing.com", >>or "spoon.lure" to refer to "spoon.lure.fishing.com". (This is meant as >>a fictitious example, though I imagine that there really is a fishing.com >>out there.) >> >>A dot can be used at the end of a domain name to indicate explicitly that >>you do NOT mean it to be a local abbreviation. For example, if the >>maintainers of fishing.com had been so injudicious as to provide a sub- >>domain named "net", then on that local network it would be ambiguous >>whether "seine.net" referred to the local site "seine.net.fishing.com" >>or to some site "seine.net" in the top-level "net" domain. This is resolved >>by having it refer to the local site; if you wanted the second meaning, >>you'd need to say "seine.net.". >> >>(Mind you, I don't guarantee that that trailing dot always works, but that's >>what it's *supposed* to mean.)` That is a bit of an oddity. It is true in some situations, because the traditional implementations of domain name resolution used the trailing dot for exactly that function, because very often the machines where DNS was first used also had an older domainless name->address mapping system for hosts in the same domain, and so often the name resolver on such machines is set to look first for whatever domain name you are trying to resolve PLUS the local domain added to the end. In some cases a resolver might even try each broader domain before actually looking for the plain name provided. Maybe an example is in order. If you want to get to www.example.com and use a name resolver that sees it's default domain as 'eng.cam.ac.uk' (hypothetically the engineering dept. at Cambridge) the resolver may look for an address mapping for full names in this order: www.example.com.eng.cam.ac.uk www.example.com.cam.ac.uk www.example.com.ac.uk www.example.com.uk www.example.com While that strategy can be useful in some cases, you can see where it might be less than speedy, especially when you consider that a name resolution might take a minute or more to fail. As a result, a convention of tacking a dot on the end of a name to denote it as fully qualified was established. This convention is NOT universally followed. I don't use Windows much, but I don't believe that the Windows name resolver recognizes the trailing dot. I believe that all Unix-like systems will recognize the dot that way, and I am fairly certain that MacOS will as well. Far more than you wanted to know, right? -- Bill Cole Record holder: lamest news server in the Freenix top 10k MAPS worker bee geek, but definitely NOT speaking for MAPS
Technical Details
Message-ID:
<nnq.bill-2509001028390001@192.168.254.8>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.newusers.questions.mbox.zip!not-for-mailReferences:
<8pmm0q$2sl$1@nnrp1.deja.com> <39C7E1A4.95C969FB@uchicago.edu> <xkfwvg7ltk6.fsf@valdemar.cos.agilent.com> <nnq.8qf34l$77m$1@bunyip.cc.uq.edu.au> <nnq.bill-2209001559520001@fireproof.scconsult.com> <nnq.8qhnth$2km$2@bunyip.cc.uq.edu.au> <nnq.bill-2309001650590001@fireproof.scconsult.com> <nnq.8qn1dp$p2v$1@bunyip.cc.uq.edu.au>Show Full Headers
Complete Article Headers
Message-ID: <nnq.bill-2509001028390001@192.168.254.8> Subject: Re: Writing URLs and e-mail addresses in English prose Date: Mon, 25 Sep 2000 00:00:00 +0000 From: bill@scconsult.com (Bill Cole) References: <8pmm0q$2sl$1@nnrp1.deja.com> <39C7E1A4.95C969FB@uchicago.edu> <xkfwvg7ltk6.fsf@valdemar.cos.agilent.com> <nnq.8qf34l$77m$1@bunyip.cc.uq.edu.au> <nnq.bill-2209001559520001@fireproof.scconsult.com> <nnq.8qhnth$2km$2@bunyip.cc.uq.edu.au> <nnq.bill-2309001650590001@fireproof.scconsult.com> <nnq.8qn1dp$p2v$1@bunyip.cc.uq.edu.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.newusers.questions.mbox.zip!not-for-mail X-Deja-AN: 673934937 X-Nntp-Posting-Host: cs1 Approved: nnq-admin@presby.edu Sender: bill@scconsult.com X-Posting-Server: RumorMill 1.3d18 X-Path-To-Moderators: nnq-admin!mail.presby.edu!wodc7-1.relay.mail.uu.net!sc1.scconsult.com![63.248.80.23] X-Original-Path: news.scconsult.com!bill X-Original-Id: <bill-2509001028390001@192.168.254.8> Organization: scconsult.com is not organized Newsgroups: news.newusers.questions,news.software.readers