🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #117369

Re: URLs and angle brackets

#117369
From: Jim Crowther
Date: Sun, 05 Jan 2003 14:19
68 lines
4055 bytes
HiEv penned the following:

>So, what I'd like to know is if there is some "official" recommendation
>on this somewhere, if there are other good reasons to use angle
>brackets around URLs, or if it's just a waste of time.

The appendix to RFC 1738:

------------------------
APPENDIX: Recommendations for URLs in Context

   URIs, including URLs, are intended to be transmitted through
   protocols which provide a context for their interpretation.

   In some cases, it will be necessary to distinguish URLs from other
   possible data structures in a syntactic structure. In this case, is
   recommended that URLs be preceeded with a prefix consisting of the
   characters "URL:". For example, this prefix may be used to
   distinguish URLs from other kinds of URIs.

   In addition, there are many occasions when URLs are included in other
   kinds of text; examples include electronic mail, USENET news
   messages, or printed on paper. In such cases, it is convenient to
   have a separate syntactic wrapper that delimits the URL and separates
   it from the rest of the text, and in particular from punctuation
   marks that might be mistaken for part of the URL. For this purpose,
   is recommended that angle brackets ("<" and ">"), along with the
   prefix "URL:", be used to delimit the boundaries of the URL.  This
   wrapper does not form part of the URL and should not be used in
   contexts in which delimiters are already specified.

   In the case where a fragment/anchor identifier is associated with a
   URL (following a "#"), the identifier would be placed within the
   brackets as well.

   In some cases, extra whitespace (spaces, linebreaks, tabs, etc.) may
   need to be added to break long URLs across lines.  The whitespace
   should be ignored when extracting the URL.

   No whitespace should be introduced after a hyphen ("-") character.
   Because some typesetters and printers may (erroneously) introduce a
   hyphen at the end of line when breaking a line, the interpreter of a
   URL containing a line break immediately after a hyphen should ignore
   all unencoded whitespace around the line break, and should be aware
   that the hyphen may or may not actually be part of the URL.

   Examples:

      Yes, Jim, I found it under <URL:ftp://info.cern.ch/pub/www/doc;
      type=d> but you can probably pick it up from <URL:ftp://ds.in
      ternic.net/rfc>.  Note the warning in <URL:http://ds.internic.
      net/instructions/overview.html#WARNING>.
--------------------------------

However, including the 'URL:' bit seems superfluous.

>Here are some 114 character long test URLs...

Which all work fine here with Re-flow turned on, the first and last also
work fine with Re-flow turned off.  This would indicate that in the
latter case the angle brackets have helped, and in no case did they
hinder.

-- 
Jim Crowther                        "It's MY computer" (tm)
Spam no longer a problem: <http://popfile.sourceforge.net/>

Technical Details
Message-ID: <pkX10hE07DG+EAX2@domain.invalid>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!crowfam.demon.co.UK!not-for-mail
References: <3E182D68.8991DF43@someoneelse.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <pkX10hE07DG+EAX2@domain.invalid>
Subject: Re: URLs and angle brackets
Date: Sun, 5 Jan 2003 14:19:32 +0000
From: Jim Crowther <Don't.buy.Lockdown@blackhole.do-not-spam.me.uk>
References: <3E182D68.8991DF43@someoneelse.invalid>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!crowfam.demon.co.UK!not-for-mail
Newsgroups: news.software.readers
Lines: 67
Reply-To: Jim Crowther <news1102@crowfam.org.uk>
NNTP-Posting-Host: crowfam.demon.co.uk (194.222.124.187)
Mime-Version: 1.0
Content-Type: text/plain;charset=us-ascii
X-Trace: fu-berlin.de 1041776386 13970674 194.222.124.187 (16 [29944])
X-Orig-Path: blackhole.do-not-spam.me.uk!Don't.buy.Lockdown
User-Agent: Turnpike/6.02-M (<ei1S6SoVQvIeTMuxOlruWdlyi2>)