5.3.3 Embedding literal HTML
The default "Daisy-HTML" parts only allow a small, structured subset of HTML. Sometimes you might want to enter whatever HTML you like, most often to create HTML-based multi media. Another common example is including content from third-party sites such as YouTube. In that case, you can use the "Literal HTML" document type.
5.3.3.1 Usage
Create a document of type "Literal HTML", and enter the HTML in the editor. The HTML should be well-formed XML and enclosed by <html> and <body> tags. If this is not the case, the editor will automatically clean the HTML up (there's a 'sponge' icon to trigger this cleanup).
Only the content of the <body> tag will remain when the document is published.
To embed the newly created literal HTML document into another document, use the normal document include functionality.
5.3.3.2 Publisher request note
If you are using custom publisher requests, be aware that you need to enable the inlining of the "LiteralHtmlData" part. You can add this to the default publisher request (usually called default.xml), as shown here:
... <p:prepareDocument inlineParts="LiteralHtmlData"/> ...
Previous