问题
I am quite new to these approach in optimizing my HTML with Rich Snippets. I am not sure what is the differences of each of the list items below:
- http://schema.org/Article
- http://schema.org/BlogPosting
- http://schema.org/Blog
I got this code below example below, and I want to know what are the missing items or codes that could optimized a simple blog post that search engines can understand. I'd like to know all the rich snippets available for a blogpost.
<div id="blog_post" itemscope="" itemtype="http://schema.org/BlogPosting">
<h2 itemprop="name headline">Post Title</h2>
<div class="byline">
Written by
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">
<a href="https://" itemprop="url" rel="author">Author</a>
</span>
</span>
on
<time datetime="2011-05-17T22:00" itemprop="datePublished">Tuesday May 17th 2013</time>
</div>
<div class="content" itemprop="articleBody">Content...</div>
</div>
回答1:
http://schema.org/Blog
can be used on the front page, where you typically find a list of several blog posts (and maybe also for blog-wide things on every page, like the blog name).
http://schema.org/BlogPosting
represents a single blog post.
http://schema.org/Article
is just more general than http://schema.org/BlogPosting
(every BlogPosting
is a Article
, but not every Article
is a BlogPosting
). If you have a typical blog, you want to use http://schema.org/BlogPosting
.
来源:https://stackoverflow.com/questions/18606021/blog-posts-optimized-by-schema