Conversation
data/sdo-howto-examples.txt
Outdated
| <div itemprop="step" itemscope itemtype="http://schema.org/HowToSection"> | ||
| <div itemprop="name">Preparation</div> | ||
| <meta itemprop="position" content="1"/> | ||
| <div itemprop="itemListElement" itemscope itemtype="http://schema.org/HowToDirection"> |
There was a problem hiding this comment.
I believe there should be a HowToStep wrapping this HowToDirection + HowToTip.
So the structure would be:
- HowTo
- HowToSection
- HowToStep (aka "step 1")
- HowToDirection
- HowToTip
- HowToStep (aka "step 2")
- HowToDirection
etc
- HowToDirection
- HowToStep (aka "step 1")
- HowToSection
Maybe a bit verbose, but the Direction + Tip I believe were intended to be parts of an individual Step.
data/sdo-howto-examples.txt
Outdated
| "@type": "HowToSupply", | ||
| "name": "Wheel wedges" | ||
| "name": "Flares", | ||
| "image": "falares.jpg" |
There was a problem hiding this comment.
Minor issue: typo - flares.jpg
data/sdo-howto-examples.txt
Outdated
| "name": "Preparation", | ||
| "position": "1", | ||
| "itemListElement": [ | ||
| { |
There was a problem hiding this comment.
Similar to comment above, this would be a list of 2 HowToStep's.
HowToDirection & HowToTip would be itemListElement nested in the HowToStep
Fixed a typo Nested HowToDirection and HowToTip pairs into individual HowToSteps
|
@dbiollo I missed the significance of the HowToStep type in the updated version for nesting pairs of HowToDirection & HowToTip. Also fixed typo. Thanks again for your input on this - I think we are getting there! |
|
Ok it looks like @RichardWallis and @dbiollo have worked this through, I will merge and publish to the staging site but do please take another sanity-check look once I've done that, this markup is really easy to get wrong. |
Fixed issues on the new HowTo examples. Issue (#1899)
@dbiollo thanks for your input on this - I identified a mismatch between the term definitions I was working from and those already committed to webschemas.org. It has resulted in much simpler nesting of types!