You are here

README.txt in Schema.org Metatag 8

Same filename in this branch
  1. 8 README.txt
  2. 8 schema_recipe/README.txt
Same filename and directory in other branches
  1. 8.2 schema_recipe/README.txt
## prepTime, cookTime and totalTime fields:

Use duration_field module to create these fields. This module stores time values
and provides tokens in ISO 8601 duration format, which is required for JSON-LD
validation at Google.

## recipeIngredient and recipeInstructions:

Using a simple text field with many allowed values works great here. You can
then use the basic token, e.g. [node:field_ingredient], and if it contains
multiple values the resulting JSON-LD will be correctly formatted automatically.
Theming will also be simple.

File

schema_recipe/README.txt
View source
  1. ## prepTime, cookTime and totalTime fields:
  2. Use duration_field module to create these fields. This module stores time values
  3. and provides tokens in ISO 8601 duration format, which is required for JSON-LD
  4. validation at Google.
  5. ## recipeIngredient and recipeInstructions:
  6. Using a simple text field with many allowed values works great here. You can
  7. then use the basic token, e.g. [node:field_ingredient], and if it contains
  8. multiple values the resulting JSON-LD will be correctly formatted automatically.
  9. Theming will also be simple.