Content modeling in Kontent.ai
You can’t be a master just from the theory. What does content modeling look like in Kontent.ai? Let’s model a 5-minute modeling example together, followed by a video walkthrough through the modeling parts of Kontent.ai. Get the image of how content modeling works in Kontent.ai.
Jumping back to the coffee example, every barista goes through some training. They learn how to set up and use the espresso machine, how to froth milk, or how to dose coffee. Later they can apply that knowledge and modify steps to prepare different beverages.They do it because knowing your tools and how to use them is essential to get the best possible results. With content modeling, the same rule applies.
The great thing about Kontent.ai is its content reuse. Once you create a content type, it can be seamlessly reused and embedded as linked items or directly within rich text areas as components. Every content item can also have variants that are usually used for translation. You never know if you don’t go international one day.
Content modeling’s practical fundamentals
Imagine owning a coffee shop selling two different flat white coffees. The goal is to model this in Kontent.ai for your website. To get the most out of the exercise, create a testing project, and try to model it yourself along with the article. First, you’ll need a Flat white content type to represent all flat whites. Content types are basically templates or forms. When it comes to content, every coffee has the same structure, so one content type is enough. Then, you need the coffee to have a name, a description, and ingredients. Add three content type elements to your Flat white content type:- A text element named Name
- A rich text element named Description
- A rich text element named Ingredients
- An asset element named Picture
- A text element named Description
Add metadata and connect everything together
It’s suitable to tag what’s in the picture so that you can filter pictures better later on. Such information is called metadata. For example, to filter the pictures based on the used mug type:- Create a Mug types taxonomy with some terms.
- To the Coffee picture content type, add a taxonomy element called Mug type.
- Set the Mug types taxonomy to be available in the Mug type element.
- Go back to the Flat white content type.
- Add a linked items element called Pictures.
- Set up the properties of Pictures so that only Coffee pictures are allowed for the photo gallery.
Extend your content model
If you decide to serve breakfasts later, you might realize that you miss nutritional info and allergens on the website. These are also common for coffee, so you want to add them to the existing Flat white content type, too. As you’ll use the same set of two elements in both content types, you can make your work easier by using content type snippets. That way, you can reuse or extend them in one place.Content modeling walkthrough
Sign in with your Kontent.ai credentials or sign up for free to unlock the full lesson, track your progress, and access exclusive expert insights and tips!