Last active
January 4, 2016 02:29
-
-
Save ku-suke/8555053 to your computer and use it in GitHub Desktop.
Googleのリッチスニペットに相当するSchema.orgのexampleをコピペしてきた。いくつか切り捨ててるのは独断。無いよりマシの精神で無理なく追加していきましょう。
動作テスト:http://www.google.com/webmasters/tools/richsnippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--商品とレビュー --> | |
<!-- https://support.google.com/webmasters/answer/146750 --> | |
<!-- https://support.google.com/webmasters/answer/146645 --> | |
<div itemscope itemtype="http://schema.org/Product"> | |
<span itemprop="name">Kenmore White 17" Microwave</span> | |
<img src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' /> | |
<!-- 集計レビュー --> | |
<div itemprop="aggregateRating" | |
itemscope itemtype="http://schema.org/AggregateRating"> | |
Rated <span itemprop="ratingValue">3.5</span>/5 | |
based on <span itemprop="reviewCount">11</span> customer reviews | |
</div> | |
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> | |
<span itemprop="price">$55.00</span> | |
<link itemprop="availability" href="http://schema.org/InStock" />In stock | |
</div> | |
Product description: | |
<span itemprop="description">0.7 cubic feet countertop microwave. | |
Has six preset cooking categories and convenience features like | |
Add-A-Minute and Child Lock.</span> | |
<!-- 個別レビュー --> | |
<div itemprop="review" itemscope itemtype="http://schema.org/Review"> | |
<span itemprop="name">Value purchase</span> - | |
by <span itemprop="author">Lucas</span>, | |
<meta itemprop="datePublished" content="2011-03-25">March 25, 2011 | |
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> | |
<meta itemprop="worstRating" content = "1"/> | |
<span itemprop="ratingValue">4</span>/ | |
<span itemprop="bestRating">5</span>stars | |
</div> | |
<span itemprop="description">Great microwave for the price. It is small and | |
fits in my apartment.</span> | |
</div> | |
</div> | |
<!-- 人物 --> | |
<!-- https://support.google.com/webmasters/answer/146646 --> | |
<div itemscope itemtype="http://schema.org/Person"> | |
<span itemprop="name">Jane Doe</span> | |
<img src="janedoe.jpg" itemprop="image" /> | |
<span itemprop="jobTitle">Professor</span> | |
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
<span itemprop="streetAddress"> | |
20341 Whitworth Institute | |
405 N. Whitworth | |
</span> | |
<span itemprop="addressLocality">Seattle</span>, | |
<span itemprop="addressRegion">WA</span> | |
<span itemprop="postalCode">98052</span> | |
</div> | |
<span itemprop="telephone">(425) 123-4567</span> | |
<a href="mailto:jane-doe@xyz.edu" itemprop="email"> | |
jane-doe@xyz.edu</a> | |
Jane's home page: | |
<a href="http://www.janedoe.com" itemprop="url">janedoe.com</a> | |
</div> | |
<!-- 会社と組織 --> | |
<!-- https://support.google.com/webmasters/answer/146861 --> | |
<div itemscope itemtype="http://schema.org/Organization"> | |
<span itemprop="name">Google.org (GOOG)</span> | |
Contact Details: | |
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
Main address: | |
<span itemprop="streetAddress">38 avenue de l'Opera</span> | |
<span itemprop="postalCode">F-75002</span> | |
<span itemprop="addressLocality">Paris, France</span> | |
, | |
</div> | |
Tel:<span itemprop="telephone">( 33 1) 42 68 53 00 </span>, | |
Fax:<span itemprop="faxNumber">( 33 1) 42 68 53 01 </span>, | |
E-mail: <span itemprop="email">secretariat(at)google.org</span> | |
Members: | |
- National Scientific Members in 100 countries and territories: Country1, Country2, ... | |
- Scientific Union Members, 30 organizations listed in this Yearbook: | |
<span itemprop="member" itemscope itemtype="http://schema.org/Organization"> | |
Member1 | |
</span>, | |
<span itemprop="member" itemscope itemtype="http://schema.org/Organization"> | |
Member2 | |
</span>, | |
</div> | |
<!-- レシピ --> | |
<!-- https://support.google.com/webmasters/answer/173379 --> | |
<div itemscope itemtype="http://schema.org/Recipe"> | |
<span itemprop="name">Mom's World Famous Banana Bread</span> | |
By <span itemprop="author">John Smith</span>, | |
<meta itemprop="datePublished" content="2009-05-08">May 8, 2009 | |
<img itemprop="image" src="bananabread.jpg" /> | |
<span itemprop="description">This classic banana bread recipe comes | |
from my mom -- the walnuts add a nice texture and flavor to the banana | |
bread.</span> | |
Prep Time: <meta itemprop="prepTime" content="PT15M">15 minutes | |
Cook time: <meta itemprop="cookTime" content="PT1H">1 hour | |
Yield: <span itemprop="recipeYield">1 loaf</span> | |
<div itemprop="nutrition" | |
itemscope itemtype="http://schema.org/NutritionInformation"> | |
Nutrition facts: | |
<span itemprop="calories">240 calories</span>, | |
<span itemprop="fatContent">9 grams fat</span> | |
</div> | |
Ingredients: | |
- <span itemprop="ingredients">3 or 4 ripe bananas, smashed</span> | |
- <span itemprop="ingredients">1 egg</span> | |
- <span itemprop="ingredients">3/4 cup of sugar</span> | |
... | |
Instructions: | |
<span itemprop="recipeInstructions"> | |
Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add | |
the flour last. Pour the mixture into a loaf pan and bake for one hour. | |
</span> | |
140 comments: | |
<meta itemprop="interactionCount" content="UserComments:140" /> | |
From Janel, May 5 -- thank you, great recipe! | |
... | |
</div> | |
<!-- イベント --> | |
<!-- https://support.google.com/webmasters/answer/164506 --> | |
<div class="event-wrapper" itemscope itemtype="http://schema.org/Event"> | |
<div class="event-date" itemprop="startDate" content="2013-09-14T21:30">Sat Sep 14</div> | |
<div class="event-title" itemprop="name">Typhoon with Radiation City</div> | |
<div class="event-venue" itemprop="location" itemscope itemtype="http://schema.org/Place"> | |
<span itemprop="name">The Hi-Dive</span> | |
<div class="address" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
<span itemprop="streetAddress">7 S. Broadway</span><br> | |
<span itemprop="addressLocality">Denver</span>, | |
<span itemprop="addressRegion">CO</span> | |
<span itemprop="postalCode">80209</span> | |
</div> | |
</div> | |
<div class="event-time">9:30 PM</div> | |
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer"> | |
<div class="event-price" itemprop="price">$13.00</div> | |
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a> | |
</span> | |
</div> | |
<!-- 音楽(アルバムと楽曲)--> | |
<!-- https://support.google.com/webmasters/answer/1623047 --> | |
<div itemscope itemtype="http://schema.org/MusicAlbum"> | |
<h1 itemprop="name"> King of Limbs </h1> | |
<meta content="/artist/radiohead/album/the-king-of-limbs" itemprop="url" /> | |
<img src="king-of-limbs.jpg" itemprop="image" /> | |
<meta content="8" itemprop="numTracks" /> | |
<meta content="Alt/Punk" itemprop="genre" /> | |
<h2 itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup"> | |
<span itemprop="name">Radiohead</span> | |
</h2> | |
<h3>Sample Tracks</h3> | |
<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording"> | |
<span itemprop="name">Bloom</span> | |
<meta content="/artist/radiohead/album/the-king-of-limbs/track/bloom" itemprop="url" /> | |
<meta content="PT5M14S" itemprop="duration" />5:14 | |
</span> | |
</div> | |
<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording"> | |
<span itemprop="name">Morning Mr Magpie</span> | |
<meta content="/artist/radiohead/album/the-king-of-limbs/track/morning-mr-magpie" itemprop="url" /> | |
<meta content="PT4M40S" itemprop="duration" />4:40 | |
</span> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment