[ZDP] missed tags in FAQ/dtml

Martijn Pieters mj@antraciet.nl
Fri, 26 Mar 1999 12:58:17 +0100


At 11:20 26/03/99 , Tony McDonald wrote:
>Hi,
>Really minor points, but the page:
>[ZDP] DTML:
><http://zdp.zope.org/FAQ/dtml>
>
>has a few DTML instructions that need converting to &lt; ... &gt; 
>sequences before they show up on the screen (specifically
>
><p>    DTML statements or <em>tags</em> look like HTML comments 
>(which look like
>    <code><!-- comment goes here --></code>). A commonly used DTML 
>tag is called
>    <code>#var</code>. It can be used in many powerful ways, but its 
>simplest use
>    is to simply replace itself with information found elsewhere in
>    Zope. If you have a DTML document that contains:</p>
><PRE>
>should be
>
><p>    DTML statements or <em>tags</em> look like HTML comments 
>(which look like
>    <code>&lt;!-- comment goes here --&gt;</code>). A commonly used 
>DTML tag is called
>    <code>#var</code>. It can be used in many powerful ways, but its 
>simplest use
>    is to simply replace itself with information found elsewhere in
>    Zope. If you have a DTML document that contains:</p>
><PRE>
>
>and
>
><p>    If you don't mind the format, you could use <code><PRE>&lt;!--#var
>    REQUEST--&gt;</PRE></code> as a shortcut.</p>
>

Hmm... this is either a bug or a feature of Structured Text... We thought
that text in quotes was handled the same way as a subparagraph preceded by
a double colon (::). Obviously, it's not.

>
>hth
>tone
>ps how do you contribute FAQ entries, the XML way (which I thought 
>was way cool!) or using StructuredText?

For now, sending them to the ZDP is still the only official way. Pavlos,
Martijn Faassen and I are working on new ways. The XML way will probably be
part of that way.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------