Re: [Wyonacms-dev] Forrest and WYSIWYG editing
Felix Maeder <[email protected]> Tue, 11 Mar 2003 11:12:12 +0100
| Newsgroups | gmane.comp.cms.wyona.user,gmane.comp.cms.wyona.devel |
|---|---|
| Message-ID | <[email protected]> |
This looks promising, especially since version 3.0 of HTMLarea not only supports IE on Win, but also Mozilla (1.3) on all platforms. The nice thing seems to be that you can turn every <textarea> field of a form easily into an editable area. Maybe it could be used to build an advanced form-based editor. Of course the problem will be how to transform the (X)HTML to the specific XML you need for a document. But you won't have this issue if you have a "generic" doctype where your content is XHTML. Anyway, the demo is worth a look: http://htmlarea.cocoondev.org/bde/sandbox.html -Felix Christian Egli wrote: > There is a thread right now over at forrset-dev. Gianugo Rabellino > submitted a patch to integrate Htmlarea 3.0 (a html inline editor) > into Forrest. It looks quite interesting. Check out > http://htmlarea.cocoondev.org/index.html to see his motivation and a > demo. > > To quote from above URL: > > What is this? > > This is just a plain Forrest distro with a few add-ons, hacks and > modifications: > > First of all the editor is based on > > * HTMLarea, from http://www.interactivetools.com. This is version 3.0, > still alpha but quite usable from my experience until now; > > * XML content is pulled from Forrest and trasformed to XHTML with a > few addition (nominally some <div> and class attributes here and > there so that the stylesheet renders a more "structure oriented" > HTML that might be processed on the way back to the Forrest > repository; > > * The edited content is submitted as a plain HTML form, and processed > by: > > * JTidy, via a modified version of the HTMLGenerator that is > able to pull content from a request parameter (available in > Cocoon HEAD); > > * A stylesheet that converts this HTML back to XML, with > little or no loss; > > * The SourceWriterTransformer that saves the whole thing back > to the Forrest repo. > -- Felix Mäder [email protected] +41 1 272 9163 Wyona AG, Hardstrasse 219, CH-8005 Zürich Open Source CMS http://www.wyona.org http://www.wyona.com