Re: Integration of Bitflux (was: XOpus)
Felix Maeder <[email protected]> Fri, 22 Nov 2002 16:22:40 +0100
| Newsgroups | gmane.comp.cms.wyona.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Hendrik, The Bifluxeditor is working with Wyona, it is implemented in the unipublic sample publication. You can have a look at it in your own installation or on our demo site: http://demo.wyona.org Bitfluxeditor currently is implemented for the articles and the dossiers of unipublic (where Xopus is not working at the moment). Dossiers are a bit simpler and therefore maybe a better starting point (e.g. /wyona-cms/unipublic/authoring/dossiers/2002/ada/index.html). Look at the documentation at: http://demo.wyona.org:8080/wyona-cms/docs/xdocs/bitflux.html You have to provide bitfluxeditor with the following files: - xml: your xml data - xsl: the xslt that bitflux uses to display the page and to define what sections are editable. You will have to adapt the xslt(s) your are using to display the page in order to define what can be edited (and e.g. there's no support for xslt variables). If you have a complex page where only a section needs to be edited it is the easiest way to use the xhtml of the page (generated dynamically by cocoon) and add the stylesheet specific stuff and the code needed for editing through a xslt. I am doing this for the frontpage of unipublic right now and it will be in the cvs in a couple of days. - xsd: the bitflux-specific schema that basically tells the editor what elements exist and where which elements can be inserted. - css: here you define how the xml elements that are editable get displayed in the editor: you assign a style to every xml element. That's because it is the xml itself that is displayed and edited in the browser, and the styles define the look of the elements. Recommendation: Because neither the xsd nor the css is "context-sensitive" (head/title, document/title, block/title are treated all the same) you save a lot of hassle if you use unique element names. Good luck! Felix Hendrik Bunke wrote: > What about the Bitflux-Editor? I was trying to use > it some weeks ago, it didn't work for me with Wyona. Don't know > what the problem was (i focused on Xopus then), but on bitflux's > website it looks quite promising.