简体   繁体   English

Schema.org的Microdata日期类型

[英]Schema.org's Microdata date type

In what format should I represent the DATE type? 我应以哪种格式表示DATE类型? Schema.org nor Google clarify this. Schema.org或Google均未对此进行澄清。

How does search engines expect it to be? 搜索引擎对它的期望如何? Literal ( April 3rd, 2013 )? 文字( April 3rd, 2013 )? 04/03/2013 ? 04/03/2013

Any information about which (and why) format is preferred will be appreciated. 关于哪种(以及为什么)格式是首选的任何信息将不胜感激。

In ISO 8601 format! ISO 8601格式!

Source: http://schema.org/Date 资料来源: http : //schema.org/Date
Info: http://en.wikipedia.org/wiki/ISO_8601 信息: http : //en.wikipedia.org/wiki/ISO_8601

If you follow microformats.org : http://microformats.org/code/hcalendar/creator 如果你遵循microformats.org: http://microformats.org/code/hcalendar/creator

Should be : 应该 :

<time datetime="2013-07-08">Example Event</time>

Or : 要么 :

<span class="vevent">
 <span class="summary">The microformats.org site was launched</span>
 on <span class="dtstart">2005-06-20</span> 
 at the Supernova Conference 
 in <span class="location">San Francisco, CA, USA</span>.
</span>

The microformats.org site was launched on 2005-06-20 at the Supernova Conference in San Francisco, CA, USA. microformats.org网站于2005-06-20在美国加利福尼亚州旧金山举行的超新星会议上启动。

Read more information about microformats: http://microformats.org/wiki/hcalendar 阅读有关微格式的更多信息: http : //microformats.org/wiki/hcalendar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM