[daisy] Editor for custom HTML parts
Bruno Dumon
bruno at outerthought.org
Fri Jan 4 02:51:47 CST 2008
On Thu, 2008-01-03 at 14:39 -0600, Shon Schetnan wrote:
> Hello,
>
> I am trying to create a composite document by first creating custom part
> types. I don't know that my app can guarantee well-formed HTML and
> certainly not Daisy HTML, because I am wanting to pull Daisy content to
> display in a Adobe Flex application. I need to be able to also put content
> in the Daisy repository originated from the Flex Rich Text Editor component.
> I would like to be able to have an editor similar to what is provided by the
> LiteralHtml document type and the LiteralHtml part. I have a couple of
> custom part types setup exactly like the LiteralHtml part type, but when the
> wiki is used to create a new document it does not present the basic editor
> as does the LiteralHtml doc. Is there any way to get it to do this?
>
See here for information on custom part editors:
http://cocoondev.org/daisydocs-2_1/374-cd/235-cd.html
If the editor for the LiteralHtml part type is good for your case, you
can just make a copy of the file
<daisy
home>/daisywiki/webapp/daisy/resources/parteditors/LiteralHtmlData.xml
to
<wikidata directory>/resources/parteditors/YourPartType.xml
in which YourPartType is the exact name of your part type.
(you will likely need to create the 'parteditors' directory)
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
More information about the daisy
mailing list