Article View: news.software.readers
Article #28906Re: Netscape 4 hitting the streets
From: Brad Templeton
Date: Mon, 06 Jan 1997 00:00
Date: Mon, 06 Jan 1997 00:00
73 lines
4386 bytes
4386 bytes
In article <E3M1AF.3JI@midway.uchicago.edu>, Tim Pierce <twpierce+usenet@mail.bsd.uchicago.edu> wrote: >In article <vxk7mlrrb74.fsf@pocari-sweat.jprc.com>, >>None of this depends on HTML, which I still contend is a hell of a big >>weapon for off-the-cuff Usenet writing. The tags are already there, >>in really quite standardized form, and have been for well over a >>decade. > >If I were to formalize a draft for Usenet Text Format, would >anyone be interested? I'm not at Usenix, but I could mail it to >people who are. The proltext spec in effect does this, but not in the way you would like. It says that *this is bold* but it also says that if you want to really have a star without turning on bold face you must either not have a space before it and a non-star printable after it or you must render it as #*, and of course that means if you want to do a # followed by a star you must do ##*, and so on. I don't like it but it's the only way I could work it out. Of course if the person is viewing it through a prolespec processor, they do not see #* any more than you see < in an HTML document viewed with an HTML viewer. But at least " #*" is not as ugly as < and contains the real char. There are some other ways to do it, but the problem is esentially this: a) You define a pattern that turns on bold (or italic etc.). You want to make that pattern fairly restrictive so that you can still write stars in other contexts like lines of stars, or stars on their own in diagrams, etc. b) No matter what you do, you will have said that you can't literally render "(^|\s)\*(start-of-word)" and get a star, so you need some other way to render that string literally. And then you need some way to render literally the string that turns into the sequence that gets you " *" There are probably better ways to do it, and I am welcome to hear them. Other problems: a) Since you will probaby get some people turning on bold by accident, you probably don't want bold to last for more than a line, so have auto-turnoff at end of line, and make sure people turn it on at the start of the next. But they don't do that sometimes, so you are making this program complex if you want it to detect the difference between a long string in bold and a run-on bold. It's nice to have a system that can tackle stuff one line at a time, Proletext was designed that way. b) You probably want ways to put in hypertext links nicely, most peole do agree they are a good idea and useful in net postings, and in fact many readers go so far as to spot URLs and highlight them and make them invoke a browser. c) You can, as I did with proletext say, "none of these special interpretations take place unless the article has some sort of tag to indicate that they are to be followed." This saves you from most accidental turn-ons though since you are planning manual composition you will still get some of them. The idea with proletext was to say it's generally always program generated, so it won't goof the escape sequences, so when a program sees the start proletext tag it knows it can trust to do formatting bsaed on things like *bold* and _italics_ safely. Guess you could have multi-line bold then but I decided that it was safer to do it that way and *this sort* *of thing* is not that bad for bold that crosses lines. Anyway, my spec, which still could use some polishing in this area, is at http://www.clari.net/tech/prolespec.html -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.) http://www.clari.net/brad/
Technical Details
Message-ID:
<5assaq$i4d@fugue.clari.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.mbox.zip!not-for-mailReferences:
<59rvoh$i5d@epimetheus.algonet.se> <5anm09$k3g@fugue.clari.net> <vxk7mlrrb74.fsf@pocari-sweat.jprc.com> <E3M1AF.3JI@midway.uchicago.edu>Show Full Headers
Complete Article Headers
Message-ID: <5assaq$i4d@fugue.clari.net> Subject: Re: Netscape 4 hitting the streets Date: Mon, 06 Jan 1997 00:00:00 +0000 From: brad@clari.net (Brad Templeton) References: <59rvoh$i5d@epimetheus.algonet.se> <5anm09$k3g@fugue.clari.net> <vxk7mlrrb74.fsf@pocari-sweat.jprc.com> <E3M1AF.3JI@midway.uchicago.edu> 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!not-for-mail X-Deja-AN: 208224028 Organization: ClariNet Communications Corp. Keywords: html signatures tags formatting usenet Newsgroups: news.software.readers