问题描述
我有一个列出多家公司的网站,我的标记是这样的:
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.
- 这是否适当使用
https://schema.org/Organization
? - 如何制作自己的
https://架构。组织/组织
与我正在上市的公司标记不冲突?
- Is this an appropriate use of
https://schema.org/Organization
? - 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
- 将其作为值提供对于 / (
WebPage
),以及 - 提供其他组织的列表。
- provide it as value for
author
/publisher
(of theWebPage
), and - provide an
ItemList
for the list of the other organizations.
如果此组织列表是该页面的主要内容,您可以使用 mainEntity
(对于 ItemList
)并使用而不是 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的多个实例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!