🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63692

Re: Question: NTML - News Text Markup Language (UPL#44,45,46)

#63692
From: Kjetil Torgrim Homme
Date: Thu, 30 Jan 2003 14:53
41 lines
2385 bytes
[greg andruk]:
>
>   Jeremy wrote:
>   
>   > I would just create a markup language in XML which meets the needs.
>   
>   And thereby retain all the most vocal objections to enriched and
>   html.
>   
>   format=flowed and *_/ conventions deal with most of what is really
>   needed.  Add a simple, inobtrusive marker for lines (like code)
>   that shouldn't have the punctuation specially highlighted and the
>   job is basically done.

in Perl's POD, lines which are indented are considered code excerpts.
this feels quite natural to me.  if combined with the common, but not
universal convention of putting a pipe character in front of quotes,
most uses are covered.

<example>

RFC 1523 says:

|   Formatting commands are always case-insensitive.  That is, "bold"
|   and "BoLd" are equivalent in effect, if not in good taste.

to implement this, you need to normalise all input to lower or upper
case before doing the comparison.

  while (*s) {
      if (isascii(*s) && islower(*s))
          *s = tolower(*s);
      ++s;
  }

</example>

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1ry9521yfh.fsf@vingodur.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <2812c.p13205@archiver.winews.net> <873cnhl5ae.fsf@vetinari.home.noschinski.de> <18uimf66i63ml.dlg@meowing.net> <1043871709.415150@ok-corral.gunslinger.net> <19ay95pvrm6v3$.dlg@meowing.net>

Show Full Headers
Complete Article Headers
Message-ID: <1ry9521yfh.fsf@vingodur.ifi.uio.no>
Subject: Re: Question: NTML - News Text Markup Language (UPL#44,45,46)
Date: Thu, 30 Jan 2003 14:53:38 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <2812c.p13205@archiver.winews.net> <873cnhl5ae.fsf@vetinari.home.noschinski.de> <18uimf66i63ml.dlg@meowing.net> <1043871709.415150@ok-corral.gunslinger.net> <19ay95pvrm6v3$.dlg@meowing.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 40
NNTP-Posting-Host: vingodur.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1043938419 22544 129.240.68.200 (30 Jan 2003 14:53:39 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 30 Jan 2003 14:53:39 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7