Closed ssnepenthe closed 7 years ago
For microdata markup selectors...
I am seeing more and more sites using an itemtype of https://schema.org/Recipe.
I am not sure if it is technically valid - all examples given on schema.org use http. They do seem to have a valid cert, however.
Should be able to use one of:
[itemtype="http://schema.org/Recipe"], [itemtype="https://schema.org/Recipe"]
*=
[itemtype*="schema.org/Recipe"]
$=
[itemtype$="schema.org/Recipe"]
Where the latter two are probably a bit more robust, but also potentially allow for some undesired itemtypes.
For microdata markup selectors...
I am seeing more and more sites using an itemtype of https://schema.org/Recipe.
I am not sure if it is technically valid - all examples given on schema.org use http. They do seem to have a valid cert, however.
Should be able to use one of:
[itemtype="http://schema.org/Recipe"], [itemtype="https://schema.org/Recipe"]
)*=
selector ([itemtype*="schema.org/Recipe"]
)$=
selector ([itemtype$="schema.org/Recipe"]
)Where the latter two are probably a bit more robust, but also potentially allow for some undesired itemtypes.