Article View: news.software.readers
Article #259809Re: Delimiters for URIs (was: Format=Flowed)
From: Dave Sparks
Date: Tue, 24 Nov 2015 22:32
Date: Tue, 24 Nov 2015 22:32
25 lines
2298 bytes
2298 bytes
On Tue, 24 Nov 2015 19:01:03 +0000, Adam H. Kerman wrote: > Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >>Adam H. Kerman wrote: >>>Michael Baeuerle <michael.baeuerle@gmx.net> wrote: > >>>>In the context of plain text it is recommended to use delimiters >>>>(double quotes or angle brackets) to make it easier to automatically >>>>identify URIs in the content. I prefer this format: >>>><https://tools.ietf.org/html/rfc3986#appendix-C> > >>>That's ANOTHER failed implementation! The example you've given DOES NOT >>>require delimiting; after all, it's a word by any parser's >>>interpretation. > >>No. With your quoting style, the URI begins with ">https" after beeing >>quoted. There are also some people who insert line breaks into quoted >>URIs if they are long. This is why I always use the delimiters. > > If the parser looks for http:// or https:// itself, probably won't be > confused. I've written code to find URLs in newsgroup messages: recognising undelimited URLs is non-trivial. How would you parse http://example.com/path? An empty query is not the same as no query.
Technical Details
Message-ID:
<e45fic-5c7.ln1@leafnode.dandasparks.org.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<8uik68.lm1.17.1@news.alt.net> <AABWVIFkhKwAABJq.A1.flnews@WStation3.stz-e.de> <n323vh$u1h$2@news.albasani.net> <AABWVJl1JBMAABRE.A1.flnews@WStation3.stz-e.de> <n32c5f$ftf$1@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <e45fic-5c7.ln1@leafnode.dandasparks.org.uk> Subject: Re: Delimiters for URIs (was: Format=Flowed) Date: Tue, 24 Nov 2015 22:32:14 +0000 From: Dave Sparks <Dave.Sparks@dandasparks.invalid> References: <8uik68.lm1.17.1@news.alt.net> <AABWVIFkhKwAABJq.A1.flnews@WStation3.stz-e.de> <n323vh$u1h$2@news.albasani.net> <AABWVJl1JBMAABRE.A1.flnews@WStation3.stz-e.de> <n32c5f$ftf$1@news.albasani.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Lines: 25 Reply-To: Dave Sparks <Dave.Sparks+NEWS@dandasparks.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net zXJd+miWcEd2ekOnLyiIMAZVErQupLSTMsxfOWkGilISAiN+nB X-Orig-Path: leafnode.dandasparks.org.uk!not-for-mail Cancel-Lock: sha1:El5HuD/K/wwKF3T8aFOCBxtqd5A= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-Received-Bytes: 2164 X-Received-Body-CRC: 341452603