7

在使用 Rich Snippets 优化我的 HTML 时,我对这些方法很陌生。我不确定以下每个列表项的区别是什么:

  1. http://schema.org/文章
  2. http://schema.org/BlogPosting
  3. http://schema.org/博客

我在下面的示例中得到了这段代码,我想知道哪些缺失的项目或代码可以优化搜索引擎可以理解的简单博客文章。我想知道可用于博文的所有丰富片段。


<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>
4

1 回答 1

13

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.

于 2013-09-04T21:18:27.213 回答