Blog Posts Optimized by Schema

坚强是说给别人听的谎言 提交于 2019-12-01 22:14:14

问题


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:

  1. http://schema.org/Article
  2. http://schema.org/BlogPosting
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!