- Joined
- Jul 3, 2013
- Messages
- 93
- Reaction score
- 17
Hi David, thank you for the suggestion. Do you think it would be better to schema.org/WebPage instead of Article? Do you know any difference or benefit in using one over the other?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
<div itemscope itemtype="http://schema.org/LocalBusiness">
<span itemprop="name">Sample Name</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">123 My Street</span>
<span itemprop="addressLocality">Dallas</span>,
<span itemprop="addressRegion">TX</span>
<span itemprop="postalCode">90210</span>
</div>
Phone: <span itemprop="telephone">555-555-5555</span>
</div>
Here is the same HTML code marked up with microdata.<div itemscope itemtype="http://data-vocabulary.org/Recipe" >
<h1 itemprop="name">Grandma's Holiday Apple Pie</h1>
<img itemprop="photo" src="apple-pie.jpg" />
By <span itemprop="author">Carol Smith</span>
Published: <time datetime="2009-11-05" itemprop="published">
November 5, 2009</time>
<span itemprop="summary">This is my grandmother's apple pie recipe. I like to add a
dash of nutmeg.</span>
<span itemprop="review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
<span itemprop="rating">4.0</span> stars based on
<span itemprop="count">35</span> reviews </span>
Prep time: <time datetime="PT30M" itemprop="prepTime">30 min</time>
Cook time: <time datetime="PT1H" itemprop="cookTime">1 hour</time>
Total time: <time datetime="PT1H30M" itemprop="totalTime">1 hour 30 min</time>
Yield: <span itemprop="yield">1 9" pie (8 servings)</span>
<span itemprop="nutrition" itemscope itemtype="http://data-vocabulary.org/Nutrition">
Serving size: <span itemprop="servingSize">1 medium slice</span>
Calories per serving: <span itemprop="calories">250</span>
Fat per serving: <span itemprop="fat">12g</span>
</span>
Ingredients:
<span itemprop="ingredient" itemscope itemtype="http://data-vocabulary.org/RecipeIngredient">
Thinly-sliced <span itemprop="name">apples</span>:
<span itemprop="amount">6 cups</span>
</span>
<span itemprop="ingredient" itemscope itemtype="http://data-vocabulary.org/RecipeIngredient">
<span itemprop="name">White sugar</span>:
<span itemprop="amount">3/4 cup</span>
</span>
...
Directions:
<div itemprop="instructions">
1. Cut and peel apples
2. Mix sugar and cinnamon. Use additional sugar for tart apples.
...
</div>
</div>
<body itemscope itemtype="http://schema.org/WebPage">
<div itemprop="about" itemscope itemtype="http://schema.org/Place">
<span itemprop="name">Village of Woodbridge</span>
<link itemprop="sameAs" href="http://www.freebase.com/m/0cjs75" />
<meta itemprop="map" content="https://maps.google.com/maps?q=village+of+woodbridge++irvine,+ca&hl=en&sll=35.917872,-119.568458&sspn=5.203959,10.821533&hnear=Woodbridge,+Irvine,+Orange+County,+California&t=m&z=14"/>
</div>
<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<video markup properties here>
</div>
<div itemprop="creator" itemscope itemtype="http://schema.org/RealEstateAgent">
<name and location markups here>
</div>
</body>