我想改进我的产品搜索引擎优化页面,所以我阅读了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>
和......其他信息怎么样,可以隐藏吗?或者我应该添加全部信息?因为所有这些数据都会让我改变我们网页的设计,它不会适合它
谢谢!
答案 0 :(得分:2)
是的,您可以(并且应该)使用现有标记。请注意some elements come with special rules。
是的,您可以隐藏包含微数据的元素。理想情况下,您为此目的使用meta
和link
元素(它们是allowed in the body
exactly for this reason)。您也可以省略这些属性(Microdata和Schema.org都没有定义必需的属性)。请注意,某些消费者(如搜索引擎)可能不会考虑所有隐藏标记。