Article View: news.software.readers
Article #31100Re: [ANN] MT-NewsWatcher 2.2.2 released
From: Greg Berigan
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
96 lines
5671 bytes
5671 bytes
In news.software.readers, forbes@ravenna.com (Scott Forbes) wrote:
>Greg Berigan <gberigan@cse.unl.edu> saying:
>>[attribution erroneously stripped by forbes@ravenna.com (Scott Forbes)]
>>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.
>Some of us (all of us over here in comp.sys.mac.comm, actually) use
>filenames such as "MT-NewsWatcher Filters" without a second thought....
>Now, you can argue that if I'm writing a URL to that file, I should use
>%20 instead of the space, and you'd be right. But the situation isn't so
>rare that it can be dismissed with a wave of the hand.
I still don't see why software should have to accomodate people who make
such errors in their URLs, especially when such errors require code that
must _guess_ at the intentions of the poster. With people leaving off
the last slash in a directory's URL, allowing unquoted spaces in the URL
to be parsed would be like saying you expect that when someone (for
example) says http://cse.unl.edu/~gberigan/War-of-the-Worlds you expect
the software to know to stop at the end of the "s" in Worlds and not
grab the rest of the sentence as part of the URL, but to grab URLs like
http://cse.unl.edu/~gberigan/War of the Worlds would still work.
>>>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?
>The rule is "be liberal in what you accept and restrictive in what you
>send," not vice versa.
There are limits to this. Netscape decided not to be liberal in its
acceptance of people forgetting to close their quotation marks in their
tags because those people were testing their pages _with_ Netscape, and
figured since it accepted it without the quote, it was okay to omit the
quote. If user agents started highlighting those spaces as part of a
URL, people will just keep using them.
I say let the agent be restrictive in what it accepts and let the user
choose to be liberal and override it on a per-use basis.
Or were the other browsers incorrect when they decided to fail to parse
<a href="http://joust.unl.edu>this</a> as acceptable HTML, or modern
versions of Netscape in doing the same? URL syntax, like HTML, is
goverened by rigid, codified standards. You violate them at your own
risk.
>People are criticizing Netscape 4.0b1 for
>*sending* bad HTML, and IMHO that's a valid criticism.
The difference is only that one is a machine sending bad HTML and the
other is a human. Both should know better.
>Suggesting that
>MT-NewsWatcher should deliberately fail to understand
><http://www.mcs.net/~forbes/Read Me> in the body of an article it didn't
>generate, though....
When the delimiters are not the same, the leftmost delimiter should take
precedence (with understanding of punctuation rules). Still, finding >
to the _left_ of a URL should not cause failure.
>>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?
>The point is that MT-NewsWatcher should (continue to) be permissive when
>trying to find and highlight URLs in the body of a message it's reading,
It depends if the permissibility of one makes another not permissible.
I'd much rather have recognition of unwrapped URLs in a block of text
marked with '>' than recognize a URL that has unquoted spaces.
>but -- *if* the author were to add a feature that interpreted and highlit
>URLs in the body of a message being *sent*, then URL interpretation there
>should be restrictive. (Not in the sense that it prevents the author from
>writing a bad URL, but in the sense that it doesn't highlight it.)
Why in the world would you want URL recognition in the composition of
messages? Why would the author care as long as they come out in the
read?
--
_-<#)-=# 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:
<5dmgca$b4i@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-mailReferences:
<smfr-0202970108410001@simon.santafe.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> <5dk4p4$9p9@crcnis3.unl.edu> <forbes-0902971447330001@msf-2.pr.mcs.net>Show Full Headers
Complete Article Headers
Message-ID: <5dmgca$b4i@crcnis3.unl.edu> Subject: Re: [ANN] MT-NewsWatcher 2.2.2 released Date: Mon, 10 Feb 1997 00:00:00 +0000 From: Greg Berigan <gberigan@cse.unl.edu> References: <smfr-0202970108410001@simon.santafe.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> <5dk4p4$9p9@crcnis3.unl.edu> <forbes-0902971447330001@msf-2.pr.mcs.net> 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: 217782833 Organization: http://cse.unl.edu/~gberigan/ Newsgroups: comp.sys.mac.apps,comp.sys.mac.comm,news.software.readers