[Zope] ANNOUNCE: EXPERIMENTAL DTML Syntax change

Martijn Pieters mj@antraciet.nl
Tue, 15 Jun 1999 21:16:12 +0200


At 15:06 15-6-99 , Jim Fulton wrote:
>
>Zope 2.0.0 alpha 2 (and public CVS) includes an experimental change to the 
>DTML parser to allow HTML tags syntax and character entity reference as
>an alternative to the server-side-include (SSI) syntax.  Basically, source
>like:
>
>  <!--#var standard_html_header-->
>  <ul>
>    <!--#in objectValues-->
>      <li> <a href="<!--#var URL1-->/<!--#var id-->/manage_workspace">
>           <!--#var title--></a>
>    <!--#/in-->
>  </ul>
>  <!--#var standard_html_footer-->
>
>to be written as:
>
>  <dtml-var standard_html_header>
>  <ul>
>    <dtml-in objectValues>
>      <li> <a href="&dtml-URL1;/&dtml-id;/manage_workspace">
>           <dtml-var title></a>
>    <dtml-/in>
>  </ul>
>  <dtml-var standard_html_footer>

<dtml-/in>? According to the source </dtml-in> is (also?) supported, and
easier to build support for..

>I'm very interested to hear how helpful this is.  Do people
>find this a significant improvement?
>

It would be more helpfull. Homesite could be taught to support it quite
easily, including hinting and dialog boxes specifying the options. 

The entities are a dream.

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