Generating Dynamic Content with DBPrism / Cocoon 2 CMS
DBPrism CMS includes a simple way to generate dynamic content in addition to the content taken from the repository which is also dynamically generated.
This version includes two examples of this functionality, the Search Engine, and the FAQ builder. I will show these examples in this section.
Adding dynamic content implies two simple steps:
- Add an entry to the content metadata , Insert a simple row into the table pages with the entry pointing to the dynamic service. This entry gives the CMS the information for linking this service to the other data of the CMS, it means where this page is located in the CMS hierarchy.
- Write the functionality as Java Stored Procedure , This means to write a Java Stored Procedure which uses Jxtp Toolkit or Oracle XML Utility to produce the dynamic content. This content must be compatible with Apache document-v10.dtd, this DTD says which XML tags are valid with the CMS content.
The content metadata and the dynamic content is composed together by Cocoon
Content Agregation facilities.
Code Explained.
This work is licensed under a
Creative Commons License
.




