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 Beta available

    Sep 26, 2016 - OpenCms 10.5 Beta provides a feature complete look at OpenCms 10.5. This will be the only pre-release version before OpenCms 10.5.0 is published, which is expected by the end of November. Only minor GUI updates, as well as improvements to the demo template, will be made for the final release.

  • OpenCms 10.5 Beta Release Notes

    Sep 26, 2016 - The OpenCms 10.5 Beta release notes contain detailed information about the new features and fixes in this beta version.

  • OpenCms 10.0.1 available

    Jun 14, 2016 - Being the greatest OpenCms update for years, version 10 brings a vastly improved user experience that combines the intuitive "Direct Edit" approach of OpenCms with a new, well integrated Lauchpad app center. OpenCms 10.0.1 is a maintenance update for 10.0.0 installations. It fixes several issues that persisted in previous releases. This version focuses on performance and stability.

  • OpenCms 10.0.1 Release Notes

    Jun 14, 2016 - The OpenCms 10.0.1 release notes contain detailed information about the updates and fixes in this version.

OpenCms Days 2016

  • OpenCms Days 2016 Conference and Expo

    OpenCms Days 2016 will take place September 26 to 27 in Cologne, Germany.

    Highlight of the international user conference and expo will be the introduction of OpenCms 10.5. OpenCms Days will be the perfect opportunity to exchange experiences around OpenCms with high profile participants and speakers from all over the world.

    Visit this 2 day conference and expo to meet and mingle with leading OpenCms experts and other OpenCms users.

    OpenCms Days 2016 is targeted towards an international audience. The language spoken at the event and used for all presentations is English.

    More information...