1

如何正确添加属于业务对象属性的 Facebook Open Graph 元标记一部分的营业时间标记?

例如,我将如何表示以下工作时间:周一至周五:上午 9 点至下午 5 点?

4

1 回答 1

5

要将Mon-Fri: 9am-5pm包含在 Open Graph 元标记中,您需要在自己的组中标记每一天,如下所示:

<meta property="business:hours:day" content="monday" />
<meta property="business:hours:start" content="09:00" />
<meta property="business:hours:end" content="17:00" />
<meta property="business:hours:day" content="tuesday" />
<meta property="business:hours:start" content="09:00" />
<meta property="business:hours:end" content="17:00" />
<meta property="business:hours:day" content="wednesday" />
<meta property="business:hours:start" content="09:00" />
<meta property="business:hours:end" content="17:00" />
<meta property="business:hours:day" content="thursday" />
<meta property="business:hours:start" content="09:00" />
<meta property="business:hours:end" content="17:00" />
<meta property="business:hours:day" content="friday" />
<meta property="business:hours:start" content="09:00" />
<meta property="business:hours:end" content="17:00" />

小时 (business:hours:startbusiness:hours:end) 的属性标签可以写成以下任何一种格式:

下午 1 点的示例

  • 13:00(24 小时制)
  • 1:00 PM(12 小时制,句点为大写)
  • 1:00 pm(12 小时制,句点小写)

一天必须至少包含三个字段:

  • business:hours:day
  • business:hours:start
  • business:hours:end
于 2013-09-15T16:47:12.413 回答