[Zope] DTML editing tips, for emacs or otherwise?

Erno Kuusela erno@iki.fi
Mon, 24 Jan 2000 11:35:52 +0200


hello,

how do people usually edit dtml? the form interface is ok for
tweaks and testing, but i don't imagine anyone uses it
for anything over a dozen or so lines.

i usually edit with joe or emacs. joe doesn't support ftp transparently
so that would be a bit painful.

emacs would be good, except psgml aka sgml-mode doesn't seem to get
along with the dtml tags very well, at least without some further
education.

if i use a html 4 dtd, it doesn't know about dtml tags and the
indentation magic thinks they all have to be closed. so after each
<dtm-var> everything gets indented a step further.. i'm no
sgml or emacs wizard, has anyone hacked the dtml tags into a html
dtd, or alternatively is there a dtml-mode somewhere? i found
a 0.01 version of a dtml-mode but it only seemed to support
the ugly <!--# ... --> syntax.

also, if zope is running on another machine, ftp is insecure. is
there any way to prevent stuff from being transmitted in the clear?

zope is very interesting, it seems silly that there isn't
a nicer system for editing in place, considering that
editing is the thing you spend most of the time doing :)
or am i missing something?

actually, the best thing would be if i could just edit
stuff on the local filesystem, but as i understand there's
now way of having dtml documents there?


cheers,

   -- erno

PS. please cc me as i'm not on the list (i'm reading
the archives)