summaryrefslogtreecommitdiff
path: root/Recipes/My Tasty Recipe.html
blob: de507ebba77e4f450b0fe53b7cb6af4a84859030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html>
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <!-- Recipe -->
    <div class="recipe" itemscope itemtype="http://schema.org/Recipe">
      <div class="infobox">
        <!-- Image -->

        <!-- Name -->
        <h1 itemprop="name" class="name">My Tasty Recipe</h1>

        <!-- Info -->

        <!-- Rating, categories -->
        <p itemprop="aggregateRating" class="rating" value="5">★★★★★</p>

        <p itemprop="recipeCategory" class="categories">Dinner, Holiday</p>

        <p class="metadata">
          <!-- Cook time, prep time, servings, difficulty -->

          <b>Prep Time: </b><span itemprop="prepTime">10 min</span>

          <b>Cook Time: </b><span itemprop="cookTime">30 min</span>

          <b>Difficulty: </b><span itemprop="difficulty">Easy</span>

          <b>Servings: </b><span itemprop="recipeYield">4-6 servings</span>

          <!-- Source -->

          <b>Source: </b>

          <a itemprop="url" href="http://www.google.com">
            <span itemprop="author">Food Network</span>
          </a>
        </p>

        <div class="clear"></div>
      </div>

      <div class="left-column">
        <!-- Ingredients -->

        <div class="ingredientsbox">
          <h3 class="subhead">Ingredients</h3>
          <div class="ingredients text">
            <p class="line" itemprop="recipeIngredient">
              <strong>1/2</strong> lb meat
            </p>
            <p class="line" itemprop="recipeIngredient">
              <strong>1/2</strong> lb vegetables
            </p>
            <p class="line" itemprop="recipeIngredient">salt</p>
            <p class="line" itemprop="recipeIngredient">pepper</p>
            <p class="line" itemprop="recipeIngredient">
              <strong>2</strong> tbsp olive oil
            </p>
            <p class="line" itemprop="recipeIngredient">
              <strong>4</strong> cups flour
            </p>
            <p></p>
          </div>
        </div>

        <!-- Nutrition (in two-column mode it goes below the ingredients) -->
      </div>

      <div class="right-column">
        <!-- Description -->

        <!-- Directions -->

        <div class="directionsbox">
          <h3 class="subhead">Directions</h3>
          <div itemprop="recipeInstructions" class="directions text">
            <p class="line">
              Mix things together.<br />Eat.<br />Tasty.<br />Yum yum yum.<br />
            </p>
          </div>
        </div>

        <!-- Notes -->

        <div class="notesbox">
          <h3 class="subhead">Notes</h3>
          <div itemprop="comment" class="notes text">
            <p>This is delicious!!!<br /></p>
          </div>
        </div>

        <!-- Nutrition (in regular mode it goes below the notes) -->

        <!-- Used in two different places depending on the recipe layout -->

        <div class="nutritionbox textbox">
          <h3 class="subhead">Nutrition</h3>
          <div itemprop="nutrition" class="nutrition text">
            <p>500 calories</p>
          </div>
        </div>
      </div>

      <div class="clear"></div>
    </div>
  </body>
</html>