博客发布架构有什么建议吗?

时间:2014-06-22 18:26:55

标签: blogs schema.org posting

是否可以使用blogposting schema.org ...你认为有错误吗?...任何建议......谢谢

<div id="blog_post" itemscope="" itemtype="http://schema.org/BlogPosting">
<div style="float: left;">
<a href="image link is here">
<img itemprop="image" src="image source link is here" width="150px" alt="image description is here"/></a></div>
<div style="font-size: 10pt; font-weight: bold; margin-bottom: 10px;" itemprop="name">
<a href="item link is here" itemprop="url">item title is here</a></div>
<div id="description" style="font-family: Arial, Helvetica, sans-serif;margin-bottom: 10px;">
<span style="font-size: 11pt; font-weight: bold;" itemprop="description">item description is here</span></div></div>

1 个答案:

答案 0 :(得分:0)

删除与Microdata无关的任何内容,您有:

<div itemscope itemtype="http://schema.org/BlogPosting">
  <img itemprop="image" src="…" />
  <div itemprop="name">
    <a href="…" itemprop="url">…</a>
  </div>
  <span itemprop="description">…</span>
</div>

从Microdata和Schema.org的角度来看,这很好。

相关问题