Jen Kramer shares her solution to the challenge for marking up a document with microdata.
(upbeat music) … - [Instructor] Now how'd you do with that challenge? … Well, hopefully you started with thinking about … that bottle of olive oil and you identified it … as a product and this is the schema here for a product … with all of its various characteristics … that are described here. … As you read through this, one of the things … that you might have encountered as part … of a product is a thing called an aggregate offer, … which is actually nested under offer, … and an aggregate offer is a way of dealing … with pricing for your product, … and so as you see here there's a high price … and a low price … and then maybe you only have a certain number … of things that are available … and so that is incorporated here as well. … It also incorporates things like payment methods … and again, things like aggregate ratings … and categories and so forth, … so these were the two schemas that I picked out … to go with this bottle of olive oil … and once I had that in mind … I went ahead and started to incorporate information …
- Describing elements with schemas
- Embedding schemas in schemas
- Using the Structured Data Markup Helper
- Making up a document with microdata
- Making up a document with JSON-LD
- Testing your structured markup