[daisy] Defining plain-text document part
Marc Portier
mpo at outerthought.org
Mon Feb 4 08:15:08 CST 2008
Wojciech Ciesielski wrote:
> Paul Focke wrote:
>> Hi
>>
>> There is a section on this in the daisy documentation. Here is the link
>> http://cocoondev.org/daisydocs-2_2/374-cd/235-cd.html
>>
>>
> Thanks for help - plain text editor works great. But there's other
> problem... If I define such plain-text field then:
>
> * if it's set to daisy-html (on part type definition page) - then
> such error appears instead of plain text part on the document page :
> Error including part content: Content is not allowed in prolog.
> * if it's not set as daisy-html - then instead of plain text
> contents I receive a link to download this bit... How can I force
> daisy to display all parts - both html and plain text - on a
> document page ?
>
as you have guessed correctly (other mail) you need to provide some
document specific styling to display non daisy-html parts on your page
Check this http://cocoondev.org/daisydocs-2_1/373-cd/194-cd/420-cd.html
as well if the text-parts are missing from the xml response.
regards,
-marc=
More information about the daisy
mailing list