Re: question and answer, style guide?

Dan Connolly ([email protected])
Tue, 03 Nov 92 11:48:23 CST


--8<

>the real answer might be "edit in a real SGML environment, then edit the
>tags so they work with HTML browsers". in that case what I'm really
>asking for is design for a frequently asked questions DTD, and I'm
>(currently) sorely lacking the tools needed to experiment my way to an answer.

I suggest the ICA toolset for experimenting your way to an answer.

That's how I came up with the HTML dtd -- or that's where I started.

You can point-and-click your way to a rough grammar, and then tell
it to write an SGML DTD. Then you can look at the DTD and get an
idea of what's going on. Then you hack a little, and voila!

Dan

--8<
Content-Description: archie query for "ICA-.*.tar.Z"
Content-Type: multipart/alternative; boundary="cut-here"

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z";
SITE="slembe.ifi.uio.no";
DIRECTORY="/pub/SGML/ICA";
SIZE=1144389;
PERMISSION=read-write

Content-Type: application/octet-stream;
conversions=x-compress;
type=tar;
name="ICA-1.5.tar.Z"
X-Last-Modified: 19920720220500Z (1992 Jul 20 22:05:00 GMT)

<FTP host="slembe.ifi.uio.no" dir="/pub/SGML/ICA" name="ICA-1.5.tar.Z"
type="application" subtype="octet-stream" bytes="1144389">

slembe.ifi.uio.no:/pub/SGML/ICA/ICA-1.5.tar.Z
file://slembe.ifi.uio.no/pub/SGML/ICA/ICA-1.5.tar.Z
-rw-r--r-- 1 ftp 1144389 1992 Jul 20 22:05:00 GMT ICA-1.5.tar.Z

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z";
SITE="saqqara.cis.ohio-state.edu";
DIRECTORY="/chameleon";
SIZE=1144389;
PERMISSION=read-write

Content-Type: application/octet-stream;
conversions=x-compress;
type=tar;
name="ICA-1.5.tar.Z"
X-Last-Modified: 19920612084600Z (1992 Jun 12 08:46:00 GMT)

<FTP host="saqqara.cis.ohio-state.edu" dir="/chameleon" name="ICA-1.5.tar.Z"
type="application" subtype="octet-stream" bytes="1144389">

saqqara.cis.ohio-state.edu:/chameleon/ICA-1.5.tar.Z
file://saqqara.cis.ohio-state.edu/chameleon/ICA-1.5.tar.Z
-rw-r--r-- 1 ftp 1144389 1992 Jun 12 08:46:00 GMT ICA-1.5.tar.Z

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z";
SITE="rs3.hrz.th-darmstadt.de";
DIRECTORY="/pub/text/sgml/ICA";
SIZE=1144389;
PERMISSION=read-write

Content-Type: application/octet-stream;
conversions=x-compress;
type=tar;
name="ICA-1.5.tar.Z"
X-Last-Modified: 19920612144600Z (1992 Jun 12 14:46:00 GMT)

<FTP host="rs3.hrz.th-darmstadt.de" dir="/pub/text/sgml/ICA" name="ICA-1.5.tar.Z"
type="application" subtype="octet-stream" bytes="1144389">

rs3.hrz.th-darmstadt.de:/pub/text/sgml/ICA/ICA-1.5.tar.Z
file://rs3.hrz.th-darmstadt.de/pub/text/sgml/ICA/ICA-1.5.tar.Z
-rw-rw-r-- 1 ftp 1144389 1992 Jun 12 14:46:00 GMT ICA-1.5.tar.Z

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z";
SITE="ifi.uio.no";
DIRECTORY="/pub/SGML/ICA";
SIZE=1144389;
PERMISSION=read-write

Content-Type: application/octet-stream;
conversions=x-compress;
type=tar;
name="ICA-1.5.tar.Z"
X-Last-Modified: 19920720220500Z (1992 Jul 20 22:05:00 GMT)

<FTP host="ifi.uio.no" dir="/pub/SGML/ICA" name="ICA-1.5.tar.Z"
type="application" subtype="octet-stream" bytes="1144389">

ifi.uio.no:/pub/SGML/ICA/ICA-1.5.tar.Z
file://ifi.uio.no/pub/SGML/ICA/ICA-1.5.tar.Z
-rw-r--r-- 1 ftp 1144389 1992 Jul 20 22:05:00 GMT ICA-1.5.tar.Z

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z";
SITE="archive.cis.ohio-state.edu";
DIRECTORY="/pub/chameleon";
SIZE=1144389;
PERMISSION=read-write

Content-Type: application/octet-stream;
conversions=x-compress;
type=tar;
name="ICA-1.5.tar.Z"
X-Last-Modified: 19920612124600Z (1992 Jun 12 12:46:00 GMT)

<FTP host="archive.cis.ohio-state.edu" dir="/pub/chameleon" name="ICA-1.5.tar.Z"
type="application" subtype="octet-stream" bytes="1144389">

archive.cis.ohio-state.edu:/pub/chameleon/ICA-1.5.tar.Z
file://archive.cis.ohio-state.edu/pub/chameleon/ICA-1.5.tar.Z
-rw-r--r-- 1 ftp 1144389 1992 Jun 12 12:46:00 GMT ICA-1.5.tar.Z

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z-split";
SITE="NIC.SURA.NET";
DIRECTORY="ARCHIE/HOST/ftp.uu.net/pub/text-processing/ICA";
MODE=DIR;
SIZE=512;
PERMISSION=read-write

Content-Type: text/plain
X-Last-Modified: 19920806144700Z (1992 Aug 06 14:47:00 GMT)

<FTP host="NIC.SURA.NET" dir="ARCHIE/HOST/ftp.uu.net/pub/text-processing/ICA" name="ICA-1.5.tar.Z-split"
type="text" subtype="plain" bytes="512">

NIC.SURA.NET:ARCHIE/HOST/ftp.uu.net/pub/text-processing/ICA/ICA-1.5.tar.Z-split
file://NIC.SURA.NETARCHIE/HOST/ftp.uu.net/pub/text-processing/ICA/ICA-1.5.tar.Z-split
drwxr-xr-x 1 ftp 512 1992 Aug 06 14:47:00 GMT ICA-1.5.tar.Z-split

--cut-here
Content-Type: message/external-body;
ACCESS-TYPE=ANON-FTP;
NAME="ICA-1.5.tar.Z-split";
SITE="NIC.SURA.NET";
DIRECTORY="ARCHIE/HOST/unix.hensa.ac.uk/pub/uunet/pub/text-processing/ICA";
MODE=DIR;
SIZE=512;
PERMISSION=read-write

Content-Type: text/plain
X-Last-Modified: 19920813072600Z (1992 Aug 13 07:26:00 GMT)

<FTP host="NIC.SURA.NET" dir="ARCHIE/HOST/unix.hensa.ac.uk/pub/uunet/pub/text-processing/ICA" name="ICA-1.5.tar.Z-split"
type="text" subtype="plain" bytes="512">

NIC.SURA.NET:ARCHIE/HOST/unix.hensa.ac.uk/pub/uunet/pub/text-processing/ICA/ICA-1.5.tar.Z-split
file://NIC.SURA.NETARCHIE/HOST/unix.hensa.ac.uk/pub/uunet/pub/text-processing/ICA/ICA-1.5.tar.Z-split
drwxr-xr-x 1 ftp 512 1992 Aug 13 07:26:00 GMT ICA-1.5.tar.Z-split

--cut-here--
--8<--