Managing structured content items (e.g. news)

Form based XML content item editor
Click on the image for a full size version

The OpenCms module mechanism and API allows custom development of so called XML content items for "structured content". In contrast to the "unstructured content" that is edited with a WYSIWYG editor, these XML content items can be deployed in multiple channels and displayed on various pages in different list or detail formats. XML content items are often used for contents like "News", "Job Offerings", "Events" (*) etc.

Like pages, XML content items are stored in the virtual file system of OpenCms. They can be edited "offline" in the Explorer view or with the Direct Edit function and must be published before becoming available to the public.

A form based editor is generated automatically depending on the XML schema definition (XSD) of the XML content item to edit. Again, no HTML knowledge is required to edit a structured content item (the screenshot shows an example for editing a news message). Help texts for each content field can be provided to the editor. It is also possible to define a publication and an expiration date for each content item.

(*) Example module containing XML contents for news, job offerings, events and FAQ lists is shipped together with the OpenCms release versions.

Developing XML content items

Developing a XSD for a structured content
Click on the image for a full size version

Depending on the website project requirements, structured contents have a pre-defined number of input fields for simple strings, dates, links, plain or HTML formatted text.

XML content items can easily be developed by creating an XML Schema Definition (XSD) defining the available fields and data types.

Try the OpenCms Live Demo

Latest News

  • OpenCms 10.5.2 available

    Jul 12, 2017 - OpenCms 10.5.2 is a maintenance release for OpenCms 10.5. This version fixes a number of issues that have been detected in OpenCms 10.5, and includes several performance and some security enhancements. It also ships with the versatile, Bootstrap based Apollo Template. An updated version of Alkacon OCEE is available as well.

  • OpenCms 10.5.2 Release Notes

    Jul 12, 2017 - The OpenCms 10.5.2 release notes contain detailed information about the new features and fixes in this version.

  • OpenCms 10.5.1 available

    Feb 15, 2017 - OpenCms 10.5.1 is a maintenance update that fixes several issues that persisted in the 10.5.0 release. This version focuses on security and stability, also adding some new features and enhancements. It also ships an optimized version of the Apollo Template. Based on Bootstrap, the Apollo Template is fully customizable without coding.

  • OpenCms 10.5.1 Release Notes

    Feb 15, 2017 - The OpenCms 10.5.1 release notes contain detailed information about the new features and fixes in this version.