【问题标题】:where should I place the product schema microdata我应该将产品架构微数据放在哪里
【发布时间】:2014-11-07 05:53:04
【问题描述】:

我想改进我的产品页面以进行 SEO,所以我阅读了 schema.org 上的信息,但仍然有问题。我从http://schema-creator.org/product.php 生成了以下微数据:

<div itemscope itemtype="http://schema.org/Product">
<a itemprop="url" href="www.thisurl.com"><div itemprop="name"><strong>pressure relief valve</strong></div>
</a>
<div itemprop="description">pressure relief valves description</div>
<div itemprop="brand" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">franko</span></div>
<div itemprop="manufacturer" itemscope itemtype="http://schema.org/Organization">
Manufactured by: <span itemprop="name">franco instrumentation</span></div>
<div>Model: <span itemprop="model">2000</span></div>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span> based on <span itemprop="reviewCount">12</span> reviews</div>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer"><span itemprop="price">$120</span><link itemprop="itemCondition" href="http://schema.org/NewCondition" /> New</div></div>

但在我的网页中,我有以下内容:

<div id="ffc-ProdInfoText">
      <h1 style="color:#A281BE;"> SERIE 1000: Pressure Vacuum Valve</h1>
      <br />
      <h2>For storage tanks used in the Oil and gas Industry</h2>
    </div>

所以我的问题是,我可以使用我当前的 h1 和 h2 标签并只向它们添加微数据吗?像这样:

 <div id="ffc-ProdInfoText" itemscope itemtype="http://schema.org/Product">
      <a itemprop="url" href="www.thisurl.com"><h1 itemprop="name" style="color:#A281BE;"> SERIE 1000: Pressure Vacuum Valve</h1>
      </a>
      <br />
      <h2 itemprop="description">For storage tanks used in the Oil and gas Industry</h2>
    </div>

还有……剩下的信息呢,可以隐藏吗?还是我必须添加全部信息?因为所有这些数据都会让我改变我们网页的设计,它不适合原来的样子

谢谢!

【问题讨论】:

    标签: html seo google-search schema.org microdata


    【解决方案1】:

    是的,您可以(并且应该)使用现有的标记。请注意some elements come with special rules

    是的,您可以隐藏包含微数据的元素。理想情况下,您会为此目的使用metalink 元素(它们是allowed in the body exactly for this reason)。您也可以省略这些属性(Microdata 和 Schema.org 都没有定义必需的属性)。请注意,某些消费者(例如搜索引擎)可能不会考虑所有隐藏标记。

    【讨论】:

      猜你喜欢
      • 2020-06-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-30
      • 2020-09-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多