9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Micah Stetson" <micah@stetsonnet.org>
To: rminnich@lanl.gov,
	"Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] 3 questions
Date: Mon, 29 May 2006 20:05:47 -0700	[thread overview]
Message-ID: <b3b4f6f30605292005q33532180qa53682be5fa47f33@mail.gmail.com> (raw)
In-Reply-To: <32614.128.165.0.81.1148920421.squirrel@webmail.lanl.gov>

> last question. "You're kidding", she says, "you guys just edit raw html?"
> Well, er, I stammer, pretty much. So, how do you folks out there edit your
> web pages? I never even thought about it until now. I just do the html
> dance.

When I have to do this stuff, I sometimes use a little macro
preprocessor I put together for it.  I haven't written a man page, but
if you're interested, I'll send it to you.  It goes something like
this:

cat >foo.hi <<EOF
<def name="page">
  <html>
     blah blah blah
</def>
<def name="/page">
    blah blah
  </html>
</def>
EOF
cat >foo.hm <<EOF
<include file="foo.hi">
<page>
  whatever
</page>
EOF
hm foo.hm >foo.html

My wife uses this with sam and mk to manage a small web site.

Micah


  parent reply	other threads:[~2006-05-30  3:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-29 16:33 Ronald G. Minnich
2006-05-29 16:36 ` quanstro
2006-05-29 16:40 ` quanstro
2006-05-29 16:49 ` jmk
2006-05-29 17:15 ` lucio
2006-05-30  4:34   ` Ronald G Minnich
2006-05-30  6:26     ` arisawa
2006-05-30  7:35     ` quanstro
2006-05-29 17:57 ` Russ Cox
2006-05-30  0:04   ` geoff
2006-05-29 17:58 ` Russ Cox
2006-05-29 22:55   ` Adrian Tritschler
2006-05-30  3:05 ` Micah Stetson [this message]
2006-05-29 17:14 Fco. J. Ballesteros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3b4f6f30605292005q33532180qa53682be5fa47f33@mail.gmail.com \
    --to=micah@stetsonnet.org \
    --cc=9fans@cse.psu.edu \
    --cc=rminnich@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).