🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #30936

Re: [ANN] MT-NewsWatcher 2.2.2 released

#30936
From: Greg Berigan
Date: Fri, 07 Feb 1997 00:00
27 lines
2308 bytes
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".

-- 
         _-<#)-=# 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: <5dfqn3$6jf@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>

Show Full Headers
Complete Article Headers
Message-ID: <5dfqn3$6jf@crcnis3.unl.edu>
Subject: Re: [ANN] MT-NewsWatcher 2.2.2 released
Date: Fri, 07 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>
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: 215138266
Organization: http://cse.unl.edu/~gberigan/
Newsgroups: comp.sys.mac.apps,comp.sys.mac.comm,news.software.readers