email - Gmail 事件注册标记不起作用
问题描述
我正在尝试从google dev docs测试 gmail 事件注册电子邮件标记,但它没有在 google 日历上添加任何事件。
为了测试我正在使用google app script。我正在使用我的个人 gmail ID,其中包含 @gmail.com
以下是由Email Markup Tester验证的脚本标签
<!DOCTYPE html>
<html>
<head>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EventReservation",
"reservationNumber": "E123456789",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationFor": {
"@type": "Event",
"name": "Foo Fighters Concert",
"startDate": "2027-03-06T19:30:00-08:00",
"performer": {
"@type": "Organization",
"name": "The Foo Fighters",
"image": "http://www.amprocktv.com/wp-content/uploads/2027/01/foo-fighters-1-680x383.jpg"
},
"location": {
"@type": "Place",
"name": "AT&T Park",
"address": {
"@type": "PostalAddress",
"streetAddress": "24 Willie Mays Plaza",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94107",
"addressCountry": "US"
}
}
},
"modifiedTime": "2027-05-01T08:00:00-08:00",
"modifyReservationUrl": "http://united.com/modifyreservation.html"
}
</script>
</head>
<body>
<p>Event Reservation Example</p>
</body>
</html>
请帮助我找出我在哪里犯了错误,或者模式标记是否有任何问题。或者我在使用谷歌应用脚本时是否需要向谷歌注册。
解决方案
推荐阅读
- c - C将文本文件中的数字读入数组并将数字用于其他功能
- unity3d - 在 Unity 中将非增强现实游戏转换为增强现实
- node.js - NodeJS 服务器在 AWS 中使用 Multer 上传大文件
- connection - 子模块如何通信
- android - 数据库被锁定(代码 5):,编译时:PRAGMA journal_mode MULTIPLE DATABASES
- android - 如何取消另一个应用程序的正在进行的通知?
- python-2.7 - 用于使用表单的 Python 脚本
- maven - 从基于 maven 的项目中提取所有 jar 依赖项并将它们添加到 tomcat lib
- mongodb - mongodb 4.0 对 node.js 的事务支持
- mysql - 未登录的用户可以看到由carrierwave保存的文件