繁体   English   中英

EventReservation的电子邮件标记不起作用

[英]Email markup for EventReservation not working

我正在尝试使用Gmail电子邮件标记在Google日历中创建自动事件。 在官方指南中,我使用以下代码:

<html>
  <body>
<script type="application/ld+json">
{
  "@context":              "http://schema.org",
  "@type":                 "EventReservation",
  "reservationNumber":     "IO12345",
  "underName": {
    "@type":               "Person",
    "name":                "John Smith"
  },
  "reservationFor": {
    "@type":               "Event",
    "name":                "Google I/O 2013",
    "startDate":           "2017-11-16T08:30:00-08:00",
    "location": {
      "@type":             "Place",
      "name":              "Moscone Center",
      "address": {
        "@type":           "PostalAddress",
        "streetAddress":   "800 Howard St.",
        "addressLocality": "San Francisco",
        "addressRegion":   "CA",
        "postalCode":      "94103",
        "addressCountry":  "US"
      }
    }
  }
}
</script>
<p>
  Dear John, thanks for booking your Google I/O ticket with us.
</p>
<p>
  BOOKING DETAILS<br/>
  Reservation number: IO12345<br/>
  Order for: John Smith<br/>
  Event: Google I/O 2013<br/>
  Start time: Nov 16th 2017 8:00am PST<br/>
  Venue: Moscone Center, 800 Howard St., San Francisco, CA 94103<br/>
</p>

但这是行不通的。 它不是在创建事件。 知道为什么吗? 另外,我在日历设置中启用了来自Gmail的自动事件添加功能。 我的日历上还有其他的航班预订自动事件。

提前致谢!

也许您使用的是教育帐户(学校/大学)。 尝试使用常规的Gmail帐户。

暂无
暂无

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

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