Apache Sling > Sling CMS > Users > Insights
Content insights give you insights on the content in Sling CMS. Currently, three insight providers are included in Sling CMS and you can create custom insight providers.
This insight uses the W3C HTML validator to validate the markup of your page and report any markup issues. It requires no configuration and can be run on any page.
This insight uses Google Page Speed to analyze the page speed performance of a live page, so it will only work on published pages.
To use this insight, you must configure your Google API key at: http://[slingcms]/system/console/configMgr/org.apache.sling.cms.core.insights.impl.providers.PageSpeedInsightProvider
This insight will calculate the readability of text, displaying a score based on whether or not a page's text falls within an expected readability grade boundary.
This insight does require some configuration. At minimum, you must configure the readability grade level bounds. To do this:
- Navigate to your site's configuration root (e.g. http://localhost:8080/cms/config/list.html/conf/[sitename]
- Create or open the folder
insights
- Click the + Config button to create a new configuration
- Select the option "Sling CMS - Readability Configuration" and set the title to "Readability"
- Configure the Min Grade Level and Max Grade Level
You should now be able to use the Readability insight
Sling CMS provides a configuration for the Readability Insight for English. If you are authoring in another language, you can provide a configuration for your language.
- Open the OSGi Configuration Console: http://localhost:8080/system/console/configMgr
- Find the "Apache Sling CMS - Insights Readability Service" and add a new configuration
- Set the language and provide the relevant configuration values