Content authoring has never been so efficient. Maintaining and re-using the bits and pieces of text is usually a mess and leads to error-prone business involving copy-paste. The copied text may be clinging to styles or layouts, so each variation of the original is a unique one and it is difficult to be tracked. Many sites have reusable content but often authors fail to identify it and creates redundant content across the site.
Content Fragments are modular and channel-agnostic content that isn’t tied to layouts. Text editing becomes easy, organized and versatile using structured or simple fragments, variations, and intelligent summarization. Create a content fragment and use it in multiple pages, so there’s no need to create that content more than once. They are intended to be used and reused across channels, which wraps the content in a context-specific experience.
They can also be delivered in JSON format which can be consumed by 3rd party applications.
Content Fragment Types
Content fragments can be either:
1) Simple fragments:
- No predefined structure
- Contains only text and images
- Based on Simple Fragment Template
2) Structured Fragments:
- Structured Content
- Based on Content Fragment Model which predefines a structure for the resulting fragment
- Contains structured data elements like text, dates, references, etc
- Used to realize Content Services using JSON Exporter
Uses of Content Fragments
To create a Content Fragment, first, we need to create a Content Fragment Model. Content Fragment Model defines the structure of the resultant Content Fragment. Once the Content fragment is created, it can be used in AEM pages using Content Fragment Component or it can also be used as Raw JSON for 3rd party applications, mobile applications, social networks, etc which helps in managing content across all channels.
Content Fragments are typically created as channel-agnostic content, that is intended to be used and reused across channels, which in turn wrap the content in a context-specific experience.
Working with Content Fragments
- While working with Content Fragments, Information Architect or AEM developer will define the schema of Content Fragments like types of inputs and data types
- Content Author will create Content Fragment using the Content Fragment Model
- AEM developer creates Content Fragment Component to export the output in HTML or JSON format
- AEM Web producer makes use of Html output in aem pages
- Web or mobile app developer consumes JSON output from Content Fragments and uses in mobile applications or 3rd party applications
Features of Content Fragments
- Variations – They are a significant feature of content fragments, as they allow you to create and edit copies of the master content for use on specific channels, and/or scenarios
- Versions – Multiple versions of content fragments get created while working on them
- Synchronization of content across variations – When editing a variation you have access to the action for synchronizing the current element of the variation with Master. This allows you to automatically copy changes made to Master to the required variation.
- Visual diff of Content Fragment versions – The Content Fragments can be compared with its versions, showing the differences between the versions and it can be reverted to a specific version
- Annotations of multi-line text elements – Allows the author to annotate and communicate to other authors regarding the specific content fragment
- Intelligent summarization of multi-line text elements – These features help users reduce the length of their text to a predefined number of words while keeping the key points and overall meaning.
- Import content of multi-line text elements – Content of the element can be directly imported from a file from the computer
- Translation/localization – Supports language copy workflows for content fragments
Many digital marketing companies which focus on the marketing of products, services contain reusable content like Product information, Disclaimers, Author biography, etc which need to be reused across the website, also to be reused in other digital media channels. However you do not want to use exactly the same content for all channels – you need to optimize your content according to the specific channel.
Content fragments allow you to:
- Update content to multiple pages from a single location
- Content can be reviewed via centrally managed content fragments
- Consider how to reach target audiences efficiently across channels.
- Create and manage channel-neutral editorial content.
- Build content pools for a range of channels.
- Design content variations for specific channels.
The post Everything You Need to Know About Content Fragments in AEM appeared first on Insights - Web and Mobile Development Services and Solutions.
This post first appeared on Blog On Web And Mobile Development Services And Solutions, please read the originial post: here