<< Back | Next: Offline / Online workflow >>

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.

<< Back | Next: Offline / Online workflow >>

Try the OpenCms Live Demo

Latest News

  • OpenCms 18 available

    Oct 8, 2024 - OpenCms 18 adds a new "Place element" mode in the page editor that allows precise element placement as an alternative to drag & drop. Reused content is now clearly marked. Automatic typographical correction of quotation marks has been added to all of the editors. “Dead links” in content that is entered in a WYSIWYG editor are now automatically disabled. Our Mercury template includes several new features, such as setting different image formats for mobile and desktop and many more.

  • OpenCms 18 Release Notes

    Oct 8, 2024 - The OpenCms 18 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 18

    Oct 8, 2024 - Alkacon OCEE 18 is the latest OCEE release for OpenCms 18. This version features a license key mechanism that allows to share the license key on several servers in a cloud installation.

  • Documentation website for the Mercury template

    Jul 8, 2024 - The Mercury template from Alkacon Software is a comprehensive, modular template based on Bootstrap 5 for OpenCms. This feature-rich template now has a complete and exhaustive documentation website.