Webmaster
How Yandex indexes sites
A site on search results page

Recipes

Data on recipes published on your site may be used in page snippets in Yandex search results. To enable the search robot to recognize recipes on your site, mark up the relevant pages according to the Recipe schema.

Required fields

  • name - (Text) name of the recipe or dish;

  • ingredients - (Text) ingredients in the recipe and their volumes or amounts (may be several);

  • recipeInstructions - (Text) cooking instructions.

Supported fields

  • recipeCategory - (Text) type of dish: for example, hot main dish, dessert;

  • recipeYield - (Text) number of yielded portions;

  • totalTime - (Duration) preparation/cooking time (if absent, cookTime will be used). It is indicated in ISO 8601 format. For example, PT30M (30 minutes);

  • image - (URL) URL of an image of the cooking process; there may be several;

  • author - (Text, Person/name, Organization/name) author of the recipe;

  • recipeCuisine - (Text) the ethnic cuisine in which the dish originated. A recipe may not contain more than one element of the cuisine-type class;

  • nutrition - (NutritionInformation) nutritional value of the dish, i.e. the caloric content, amount of protein, fat, carbohydrates, vitamins, etc.

    • calories - (Energy) caloric content;

    • fatContent - (Mass) fats;

    • saturatedFatContent - (Mass) saturated fats;

    • unsaturatedFatContent - (Mass) unsaturated fats;

    • carbohydrateContent - (Mass) carbohydrates;

    • sugarContent - (Mass) sugar;

    • fiberContent - (Mass) fiber;

    • proteinContent - (Mass) protein;

    • cholesterolContent - (Mass) cholesterol;

    • servingSize - (Text) portion, weight or volume corresponding to the indicated nutritional information.

Fields not included in the schema.org standard but supported by Yandex

  • totalWeight - (Text) weight of the cooked dish. A recipe may not contain more than one element of the weight class;

  • recipeSubCategory - (Text) subcategory of the dish. For example, poultry dish. A recipe may not contain more than one element of the sub-category class;

  • resultPhoto - (URL) URL of an image of the finished result.

Description of utilized data types

  • Energy - Properties of type Energy are indicated in the format '<Number> <unit of energy measurement>'. For example, 240 kcal.

  • Mass - Mass is indicated in the format '<Number> <Unit of weight measurement>'. For example, '7 kg'.

Example markup

<div itemscope itemtype="http://schema.org/Recipe">
  <h1 itemprop="name">Beer chicken and rice</h1>
  <p>This recipe was found in a Tibetan monastery in 1871 during an expedition by Count Nicanor Whiskey.
    It was written in the sixth century B.C. on a clay tablet.</p>
  <img itemprop="resultPhoto" src="profit.jpg" />
  <ul>
    <li>Author of the recipe: <span itemprop="author">Count Whiskey</span></li>
 <li>This recipe yields <span itemprop="recipeYield">4 portions</span></li>
 <li>Cooking time: <meta itemprop="prepTime" content="PT45M" />45 minutes</li>
  </ul>
  <h2>Ingredients</h2>
  <ul>
    <li itemprop="ingredients">1 chicken</li>
 <li itemprop="ingredients">0.5 L of beer</li>
 <li itemprop="ingredients">salt</li>
 <li itemprop="ingredients">pepper</li>
 <li itemprop="ingredients">spices to taste</li>
  </ul>
  <h2>Cooking instructions</h2>
  <ul itemprop="recipeInstructions">
    <li>
   <img itemprop="image" src="creks.jpg" alt="cut up chicken" />
   <p>Cut up the chicken, place into a baking pan, add salt, pepper and other spices to taste.</p>
 </li>
 <li>
   <img itemprop="image" src="feks.jpg" alt="beer chicken" />
   <p>Pour the beer over the chicken and put the pan into the oven.</p>
 </li>
 <li>
   <img itemprop="image" src="peks.jpg" alt="chicken in the oven" />
   <p>Roast at 180 degrees Celsius (350 degrees Fahrenheit) for 40 to 45 minutes.</p>
 </li>
  </ul>
  <span itemprop="recipeCategory">Chicken dish</span>
  <div itemprop="nutrition" itemscope itemtype="http://schema.org/NutritionInformation">Nutritional value:
    <ul>
     <li>Calories: <span itemprop="calories">120 kcal</span>,</li>
   <li>Fat: <span itemprop="fatContent">7 g</span></li>
   <li>Carbohydrates: <span itemprop="carbohydrateContent">1 g</span></li>
    </ul>
  </div>
  <p>Bon appetit!</p>
</div>
Rate this article
Thank you for your feedback!