Schema.org's WebSite vs WebPage

I was reading Google documentation on how to impletement Sitelinks Search Box. In the example, they use

itemscope itemtype="http://schema.org/WebSite"

to implement sub-properties like potentialAction , etc.

However, after reading the schema documentation CreativeWork it looks to me that WebSite is inferior to WebPage .

  • They inherit the same properites from CreativeWork
  • WebPage has its own properties, while WebSite doesn't
  • Is there a scenario where WebSite should be used / is preferable?


    WebSite represents a web site, WebPage represents a web page (like the difference between Blog and BlogPosting ).

    The additional properties from WebPage (like breadcrumb and mainContentOfPage ) wouldn't necessarily make sense for WebSite .

    Google's Sitelinks Search Box uses WebSite because the search usually applies to the whole site, not just a single page.

    链接地址: http://www.djcxy.com/p/84776.html

    上一篇: 在RecyclerView中更新ProgressBar

    下一篇: Schema.org的WebSite vs WebPage