3

我正在通过将架构数据添加到确认电子邮件中来测试 Google Now 中的事件卡。目前我正在使用铁路旅程信息填充事件卡,因为不支持铁路旅程模式。不幸的是,我只能获得一小部分提供的信息以显示在 Google Now 的卡片中。

这是我在电子邮件中添加的内容:

<html>
  <body>
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EventReservation",
  "reservationNumber": "123456789",
  "reservationStatus": "http://schema.org/Confirmed",
  "url": "http://www.eastcoast.co.uk",
  "underName": {
    "@type": "Person",
    "name": "Conor Marron"
  },
  "bookingAgent": {
   "@type": "Organization",
   "name": "East Coast",
   "url": "http://www.eastcoast.co.uk",
   "image": "http://losttrack.co.uk/wp-content/uploads/2013/09/cr-1-may-30-img-East-Coast-Logo.jpg" 
  },
  "modifyReservationUrl": "http://www.eastcoast.co.uk",
  "reservationFor": {
    "@type": "Event",
    "name": "Train to London King's Cross",
    "description": "Leaving at 16:00. Coach B, seat 12",
    "image": "http://static.guim.co.uk/sys-images/Observer/Pix/pictures/2012/3/24/1332602521578/new-concourse-kings-cross-008.jpg",
    "startDate": "2014-02-25T16:00:00+00:00",
    "endDate": "2014-02-25T19:00:00+00:00",
    "location": {
      "@type": "Place",
      "name": "Newcastle Central Station",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "Neville Street",
        "addressLocality": "Newcastle Upon Tyne",
        "addressRegion": "Tyne and Wear",
        "postalCode": "NE1 5DL",
        "addressCountry": "UK"
      }
    }
  },
  "numSeats": "1",
  "venueSeat": "12",
  "venueSection": "Coach B",
  "ticketNumber": "1257250214-1",
  "modifiedTime": "2014-02-25T15:15:00+00:00",
  "additionalTicketText": "Collect tickets at the station. Ref: ABCD1234"
}
</script>

    <p>
      Full Event Schema Example. 
    </p>
  </body>
</html>

不幸的是,我从中得到的只是:

到伦敦的火车

所以你可以看到没有图像,没有导航提示,没有额外的注释,没有预订信息。

有什么办法可以增加默认显示的信息量?

事件卡的 Google 示例看起来要好得多。我想要获取信息链接、图像和导航提示等项目。

预期的

有什么想法吗?

4

1 回答 1

1

预订代理的图像可能未显示在卡中。不如为表演者或活动设置图像呢?

从您提供的屏幕截图中,看起来恐龙是表演者,并且来自文档

reservationFor.performer.image URL(推荐用于 Google Now/Search Answers)人物图像的 URL。

于 2014-08-21T21:38:52.787 回答