The content delivered in a web application is generally very rich, but there are often important details embedded within plain human-readable text, and search engines cannot easily understand them. When such additional information becomes available, though, search result entries for the content can be similarly enriched, increasing SEO rankings and making it easier for users to find what they are looking for.
Part of this is the data that we exposed in the Creating a model mixin to take care of meta tags recipe, earlier in the chapter; however, for certain types of objects, you can build something even more structured. To make this possible, you can identify schema microdata, as per the https://schema.org specification, for objects that are represented in the application. In this recipe, we will approach the creation of a model mixin for...