RE: [Zope] HTML Editors that recognize DTML (was bastardized form ofXML)
I dont have one off hand, I usually use the built in browser based editor. hrm. I'll setup one up over the weekend (I've done it in the past for asp and such, so its old hat for me) Does anyone know of a good (free!) java applet based text editor? Something with basic color tagging abilities and maybe even (gasp) a spell checker, search/replace, etc? If there is one, we could mod it to spit its output as a form post, and hus have a great built-in editor for most browsers... Also, its not XML compliant either, but I have a shorter dtml syntax patch available for download at: http://www.zope.org/Members/Coventry/dtml_shortcut it is a really small patch, and just allows <: to replace <dtml- or <!--# inside your documents, such as in the snippet below: <:var foo> <:if expr="la=lala"> So you think la and lala are the same!? <:else> Ah, so you see a diffrence! </:if> it just leads to less typing. Comming from the asp/php world (as of late, I also do C and Perl<G>), I got used to typing a lot less characters to switch from markup to scripting, and so figured I'd dive in and make this change... My 'wordfile.txt' for ultraedit will include this alternate syntax too. -----Original Message----- From: Eric L. Walstad [mailto:Eric@Walstads.net] Sent: Friday, June 23, 2000 6:14 PM To: Jon Franz Cc: zope@zope.org Subject: RE: [Zope] HTML Editors that recognize DTML (was bastardized form ofXML) Hi Jon, Regarding Ultra-edit32 // and the file 'wordlist.txt' it uses can be // edited easily to // add new tags or keywords, or to define whole new languages of tags and // keywords. Have you created a 'wordlist.txt' file that handles the DTML tags? If so, would you mind sharing it? Thanks, Eric.
Does anyone know of a good (free!) java applet based text editor? Something with basic color tagging abilities and maybe even (gasp) a spell checker, search/replace, etc? If there is one, we could mod it to spit its output as a form post, and hus have a great built-in editor for most browsers...
Haven't test any of these but here's some URLS http://freshmeat.net/appindex/2000/02/17/950801940.html http://freshmeat.net/appindex/1999/09/11/937058123.html
Also, its not XML compliant either, but I have a shorter dtml syntax patch available for download at:
http://www.zope.org/Members/Coventry/dtml_shortcut
it is a really small patch, and just allows <: to replace <dtml- or <!--# inside your documents, such as in the snippet below:
<:var foo> <:if expr="la=lala"> So you think la and lala are the same!? <:else> Ah, so you see a diffrence! </:if>
it just leads to less typing. Comming from the asp/php world (as of late, I also do C and Perl<G>), I got used to typing a lot less characters to switch from markup to scripting, and so figured I'd dive in and make this change... My 'wordfile.txt' for ultraedit will include this alternate syntax too.
-----Original Message----- From: Eric L. Walstad [mailto:Eric@Walstads.net] Sent: Friday, June 23, 2000 6:14 PM To: Jon Franz Cc: zope@zope.org Subject: RE: [Zope] HTML Editors that recognize DTML (was bastardized form ofXML)
Hi Jon,
Regarding Ultra-edit32
// and the file 'wordlist.txt' it uses can be // edited easily to // add new tags or keywords, or to define whole new languages of tags and // keywords.
Have you created a 'wordlist.txt' file that handles the DTML tags? If so, would you mind sharing it?
Thanks,
Eric.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
As promised I did some checking over the weekend. As for Windows editors, Homesite WILL let you create tags, it works quite well actually. One draw back (or a blessing, depending on your view) would be that it would force you to do dtml attributes long form, for example: <dtml-var name="foo"> rather than <dtml-var foo> the nice thing is that you would have a nice drop down menu of choices. It supports syntax highlighting and has a ton of helpful features. In addition, if you gather enough Homesite "clue" you could also create your own wizards to accomplish certain tasks. Also for Windows there is Multi-Edit. Not as powerful as Homesite as an HTML, CFML, ad infinitum editor(well, maybe as powerful but it has all sorts of toolbars and buttons to push...annoying), but it has support for a tremendous number of legitimate programming languages built in including PERL, Python, JavaScript, C/C++, Delphi, ad nauseam. While you can edit all this in Homesite, Multi-Edit provides support for compilers, error messages, and templates for almost any programming language you can think of (ad nauseam, remember?). This doesn't necessarily help with DTML but maybe it's not all you do. Both of these are priced nicely, Homesite goes for about $100 and can be checked out at www.allaire.com, while Multi-Edit prices at around $130(online) and can be found at www.amcyber.com. For Linux there is a nice little editor called NEdit. NEdit includes customizable syntax highlighting, spell checker, etc. Unfortunately I know not of whether you can create customized tags but, I doubt it very much. Not as nice as the Windows stuff and there may be better editors made for Linux but this one does nicely in a pinch and beats the snot out of vi. RPM's, and source are both available, for free of course. That's my $.02, Jeff Peterson Software Engineer The Bridge/Befera Interactive Cablenet
Does anyone know of a good (free!) java applet based text editor? Something with basic color tagging abilities and maybe even (gasp) a spell checker, search/replace, etc? If there is one, we could mod it to spit its output as a form post, and hus have a great built-in editor for most browsers...
that would be nice, but you would have to build one yourself. Java Swing has an HTMLEditorKit, but i never tried to use it. have a look at: http://www.mokabyte.it/1999/12/htmleditor.htm it explains in italian how to do it (untested). or you could use javascript: http://www.cris.com/~raydaly/htmljive.html Gidon
participants (4)
-
Gidon Friedman -
Jeff Peterson -
Jon Franz -
Steve Drees