我可以使用http://schema.org/Organization的多个实例吗? [英] Can I use multiple instances of http://schema.org/Organization?

查看:157
本文介绍了我可以使用http://schema.org/Organization的多个实例吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列出多家公司的网站,我的标记是这样的:

I have a website which list multiple companies, my markup goes something like this:

<h2>Checkout those cool companies</h2>
<div itemscope="itemscope" itemtype="https://schema.org/Organization">
  <img itemprop="logo" src="logo1.jpg" alt="">
  <h3 itemprop="name">Company1</h3>
  <p itemprop="description">It's a great company</p>
  <span itemprop="url">http://company1.com</span>
</div>

<div itemscope="itemscope" itemtype="https://schema.org/Organization">
  <img itemprop="logo" src="logo2.jpg" alt="">
  <h3 itemprop="name">Company2</h3>
  <p itemprop="description">It's a great company as well</p>
  <span itemprop="url">http://company2.com</span>
</div>

<div itemscope="itemscope" itemtype="https://schema.org/Organization">
  <img itemprop="logo" src="logo3.jpg" alt="">
  <h3 itemprop="name">Company3</h3>
  <p itemprop="description">It's a amazing company</p>
  <span itemprop="url">http://company3.com</span>
</div>

我正在使用 itemtype =https://schema.org/组织倍数,以帮助抓取工具更好地识别内容。

I'm using itemtype="https://schema.org/Organization multiples times in order to help crawler better identify the content.


  1. 这是否适当使用 https://schema.org/Organization

  2. 如何制作自己的 https://架构。组织/组织与我正在上市的公司标记不冲突?

  1. Is this an appropriate use of https://schema.org/Organization?
  2. How can I make my own https://schema.org/Organization not conflict with the companies markup I'm listing?


推荐答案

是的,为此目的使用多个组织项目是正确的。

Yes, it’s correct to use multiple Organization items for this purpose.

要明确表示你的拥有组织不属于此列表,您可以

To make clear that your own Organization is not part of this list, you could

  • provide it as value for author/publisher (of the WebPage), and
  • provide an ItemList for the list of the other organizations.

如果此组织列表是该页面的主要内容,您可以使用 mainEntity (对于 ItemList )并使用 CollectionPage 而不是 WebPage

In case this list of organizations is the main content for that page, you could use mainEntity (for the ItemList) and use CollectionPage instead of WebPage:

<body itemscope itemtype="http://schema.org/CollectionPage">

  <div itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
  </div>

  <section itemprop="mainEntity" itemscope itemtype="http://schema.org/ItemList">
    <h2>Checkout those <span itemprop="name">cool companies</span></h2>
    <article itemprop="itemListElement" itemscope itemtype="http://schema.org/Organization"></article>
    <article itemprop="itemListElement" itemscope itemtype="http://schema.org/Organization"></article>
    <article itemprop="itemListElement" itemscope itemtype="http://schema.org/Organization"></article>
  </section>

</body>

这篇关于我可以使用http://schema.org/Organization的多个实例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆