簡體   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