DBPrism CMS uses Cocoon's content aggregation facilities,
the above example of Cocoon's matcher defines for every
document that end with *.html the following behavior.
All the parts are put together into a document tag,
the first component contains header information,
the second part is the content of the document, finally,
in this version of the CMS, Cocoon adds a news feed downloaded from MoreOver(TM)
web site.
Header includes general information such as name, title, subtitle, it as well as
context information such as parent pages, neighbor, permissions. This information
is used by the stylesheet to make the link for the first level menu and related pages.
Content is the body element defined into Apache's document-v10.dtd
specification, this component is the XML document written by the content authors,
it could also include W3C XForms and SVG images tags.
News feed is an XML structure used by document2html.xsl stylesheet to make the links
for the news.
Other components could be added following the news feed, for example and RSS
connector for SourceForge(TM) web site, then this information is available for the
stylesheet to be formatted to the target output.
|