🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79107

Re: MacSOUP and wrapping URLs

#79107
From: Curt Welch
Date: Wed, 23 May 2001 14:45
40 lines
2987 bytes
Vincent Lefevre <vincent+news@vinc17.org> wrote:
> In article <1etvap5.fxwdnx1va55c0N%stk@snafu.de>,
>   Stefan Haller <stk@snafu.de> wrote:
>
> > No, there's nothing wrong with that wrapped URL, as long as it's
> > enclosed in angle brackets.  If your user agent fails to parse it, it's
> > broken.
>
> > See RFC 1738, Appendix.
>
> But I think that in this case, one should have the full unambiguous
> syntax with <URL: at the beginning.
>
> BTW, Netscape (3 and 4) is broken. Opera and Mozilla are OK.
> tin 1.5.8 is broken.

The correct thing for a good newsreader to do in my mind is to not split
up a long URL across multiple lines (even if it is enclosed in <URL:..>).
My code isn't that smart.  I simply edit the message by hand to make sure
it doesn't happen and use the "don't wrap" option which the GNKSA tells you
a good newsreader should have when the URL is too long even when it's on a
line by itself.

And a good newsreadser will try to parse URLs across multiple lines if they
are enclosed in < or <URL:.  But once again, my code can't do that.  It
looks for anything that "looks" like a URL and turns it into a link,
including simple web site names like www.google.com.  But one thing it
won't do is try to parse across a line boundry.  That's a simple way to
limit "mistakes".  But it's true that if the URL starts with a < or <URL:
and doesn't end with that on the same line, it would be much better to try
and search at least the next line to see if the end of the URL could be
found.  But saying a newsreader is broken because it can't parse those
types of URLs in text I would say is a bit "strong" of a statement.  This
is text, not HTML.  You are lucky if your newsreader is smart enough to
parse anything as a URL.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010523104523.927$Sl@newsreader.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
References: <20010523123830$275d@vinc17.org> <1etvap5.fxwdnx1va55c0N%stk@snafu.de> <20010523141916$4d86@vinc17.org>

Show Full Headers
Complete Article Headers
Message-ID: <20010523104523.927$Sl@newsreader.com>
Subject: Re: MacSOUP and wrapping URLs
Date: Wed, 23 May 2001 14:45:24 +0000
From: curt@kcwc.com (Curt Welch)
References: <20010523123830$275d@vinc17.org> <1etvap5.fxwdnx1va55c0N%stk@snafu.de> <20010523141916$4d86@vinc17.org>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.readers
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 39