为什么GMail忽略餐厅预订的微数据?



这是我发给客户的每封电子邮件中附带的微数据的例子:

<div itemscope itemtype="http://schema.org/FoodEstablishmentReservation">
<meta itemprop="reservationNumber" content="123456"/>
<link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Test Tester"/>
<meta itemprop="email" content="test@example.org"/>
</div>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/FoodEstablishment">
<meta itemprop="name" content="My Venue" />
<meta itemprop="image" content="https://example.org/venues/images/1.jpg" />
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="123, My address, City, Country" />
<meta itemprop="addressLocality" content="City" />
<meta itemprop="addressRegion" content="City" />
<meta itemprop="addressCountry" content="Country" />
<meta itemprop="postalCode" content="12345" />
</div>
</div>
<meta itemprop="startTime" content="2021-10-12T17:00:00+02:00"/>
<meta itemprop="bookingTime" content="2021-10-05T00:08:00+02:00"/>
<meta itemprop="modifiedTime" content="2021-10-05T00:08:00+02:00"/>
<meta itemprop="partySize" content="2"/>
</div>

这在他们的测试中是有效的,但是它仍然没有显示打开电子邮件。有什么明显的错误吗?

TYIA

在广泛阅读文档后,我终于在他们的文档中找到了解释整个过程的页面。我们完成了每一步,我们的电子邮件现在被谷歌接受,现在当有人在GMail中打开我们的电子邮件时,可以正确地创建可视化。

所需的所有文档都可以在这里找到:https://developers.google.com/gmail/markup/registering-with-google

最重要的部分是你需要完成以下步骤:

  • 请填写登记表,我们会给您回复。

正确填写表格后,您将不得不等待大约48小时,然后谷歌的代表才会与您联系。

最新更新