🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #30999

Re: [ANN] MT-NewsWatcher 2.2.2 released

#30999
From: Greg Berigan
Date: Sun, 09 Feb 1997 00:00
80 lines
5264 bytes
In news.software.readers, Bryan.Walls@msfc.nasa.gov (Bryan Walls) wrote:
>Greg Berigan <gberigan@cse.unl.edu> wrote:
>>In news.software.readers, smfr@santafe.edu (Simon Fraser) wrote:

>>>OK, let's get this one clear. Highlighting (or should that be hiliting) of
>>>URLs in article windows depends on an algorithm that parses the text,
>>>looks for '://' and '@', and tries to figure out whether the text surrounding
>>>these characters is a valid URL. One of the criteria that it uses is,
>>>if a '<' or '>' is found either in front of or behind those characters,
>>>that a matching '>' or '<' is there at the other end of the suspsected URL.
>>>In the case above, the quote characters are screwing this up.

>>Normally you don't find spaces within a URL, but you do find them
>>surrounding them.  I'd hope that the URL detection would stop looking
>>for '<' and '>' when it encountered a space on either side of the
>>contiguous non-whitespace characters preceeding and following "@" or
>>"://".  (There would be special cases for start and end of line.)
>>
>>After all, to encode a space in a URL you must use "%20".

>Gahhh! No you don't! Not when talking about them in a newsgroup! 

When was the last time you ever used a space inside a URL?  After all,
aren't URLs intended to be in a machine-readable form?  Though written
by humans, they're handled by software, and for the software to work you
must conform.

You can argue that people may _enclose_ a URL with anything, but
internal to that URL there is a very real syntax that must be followed
for them to do their work.  Or do you think people should write things
like http://cse.unl.edu/remove this spaced text/~gberigan/ like others
insist on doing with their e-mail addresses?  If you want someone to
access your pages, you don't put artificial barriers in the addresses to
prevent them from doing just that.

>Please keep things liberal in understanding URL's! A newsreader is entirely
>the wrong place to try to enforce proper formatting of other people's
>articles.

So people are wrong to criticize the bad HTML produced in news articles
generated by Netscape 4.0b1?  There's a specific syntax to URLs and an
official standard to that syntax.  Delimiting them in a news post aside,
they must minimally be of legal URL syntax.

>If Simon wanted to add highlighting in the text editor when
>submitting an article, then I could agree with being strict about what is
>accepted (as strict as he wants to be). But not when _reading_. The only
>person that suffers from strict interpretation is the reader.

I must be completely missing your point (it doesn't help that you don't
respond in-context) but I fail to see all logic in writing a URL that
doesn't meet URL syntax.  I understand not wanting to wrap them with
<URL: ... >, but what's so wrong with wrapping them with whitespace and
punctuation?

Also, I think the case where a URL that wraps to the next line is quoted
can still be detected and handled by checking for a common line prefix
ending with a symbolic (non-alphanumeric) character on the candidate
lines for continuation.  By definition you're dealing with at least two
lines of text, allowing for checking.  Problems come when dealing with
quoted quoted (2 deep) URLs that got rewrapped (long-shorted).

And there's the question on how you break when wrapping long URLs and
newsgroup names and other net items.  Myself, I prefer to break after
the / in URLs, after the . in newsgroup names and host names, and also
after the @ in email addresses, using the typical syllabic splitting con-
vention of trailing a hyphen on the line.  Hyphens at those points are
either illegal or highly unlikely in those situations, and would be
highly ambiguous if applied strictly syllabically, especially to
automata.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
     ___/___
  _-~_--<###)    "Imagine having one of them lovely things with its Heat
<~c>' __--<       Ray wide and free!  We'd turn it on Martians, we'd turn
 \_--=____#)      it on men!  We'd bring everybody down to their knees!"

Technical Details
Message-ID: <5dk4p4$9p9@crcnis3.unl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
References: <smfr-0202970108410001@simon.santafe.edu> <D.Nash.death.to.spammers-0402971402010001@bubba.ots.utexas.edu> <nau-ya023680000402971905030001@news.wam.umd.edu> <19970204193339726002@meek.gdt.com> <ejalbert-0502971926420001@faisan-96-315.stanford.edu> <cirby-0502972355360001@pm10-00.magicnet.net> <ejalbert-0602972150110001@faisan-96-315.stanford.edu> <smfr-0702970020480001@smfr.santafe.edu> <5dfqn3$6jf@crcnis3.unl.edu> <Bryan.Walls-ya02408000R0702971432350001@news.msfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <5dk4p4$9p9@crcnis3.unl.edu>
Subject: Re: [ANN] MT-NewsWatcher 2.2.2 released
Date: Sun, 09 Feb 1997 00:00:00 +0000
From: Greg Berigan <gberigan@cse.unl.edu>
References: <smfr-0202970108410001@simon.santafe.edu> <D.Nash.death.to.spammers-0402971402010001@bubba.ots.utexas.edu> <nau-ya023680000402971905030001@news.wam.umd.edu> <19970204193339726002@meek.gdt.com> <ejalbert-0502971926420001@faisan-96-315.stanford.edu> <cirby-0502972355360001@pm10-00.magicnet.net> <ejalbert-0602972150110001@faisan-96-315.stanford.edu> <smfr-0702970020480001@smfr.santafe.edu> <5dfqn3$6jf@crcnis3.unl.edu> <Bryan.Walls-ya02408000R0702971432350001@news.msfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
X-Deja-AN: 217563350
Organization: http://cse.unl.edu/~gberigan/
Newsgroups: comp.sys.mac.apps,comp.sys.mac.comm,news.software.readers