You’ve probably heard of Structured Data, it comes in several different formats, microdata, microformats, RDFa / RDFa Lite but Google are now officially recommending that you use the microdata format.
By using Structured Data, you’re allowing search engines and bots to produce “Rich Snippets” from your data, as the structure and semantic meaning is defined.
If you want to upset yourself, you can lose a few days reading the W3C HTML Microdata Draft, or you can just carry on reading and I’ll show you how simple it really is.
Let’s take this blog as an example. I’ve followed the Schema.org BlogPosting schema to enrich each blog post with microdata. This enables search engines to understand the structure of the blog post and what the data actually means.
There are 2 main differences:
- I have added itemscope and itemtype attributes to the top level article element, which allows bots to understand that I’m writing a blog post and that I’m following the Schema.org standard.
- I have added various itemprop attributes to certain elements within the article. This allows bots to understand which element relates to which property from Schema.org. Please note, you don’t need to use every property on Schema.org(!), just pick what is appropriate to your content.
You’ll want to ensure that what you’ve done is right. Fortunately, Google have a free Rich Snippets testing tool. You can see the results for this blog here. You should also double check that your HTML is still valid using the W3C Validator.
There will be a day when you ALWAYS use structured data, make that day today.