Google是否支持在一封电子邮件中添加多个加价?例如,我想为Gmail添加操作按钮标记,为收件箱添加突出显示标记。可以这样做吗?我没有找到任何文件。
答案 0 :(得分:2)
是的,支持多个标记。例如,对于flight reservation。
“到达时间”之前的所有代码都是基本航班确认的标准,但添加“checkinUrl”后,您需要添加“转到”操作以在Gmail中创建[登录]按钮。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "FlightReservation",
"reservationNumber": "RXJ34P",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "Eva Green"
},
"reservationFor": {
"@type": "Flight",
"flightNumber": "110",
"airline": {
"@type": "Airline",
"name": "United",
"iataCode": "UA"
},
"departureAirport": {
"@type": "Airport",
"name": "San Francisco Airport",
"iataCode": "SFO"
},
"departureTime": "2017-03-04T20:15:00-08:00",
"arrivalAirport": {
"@type": "Airport",
"name": "John F. Kennedy International Airport",
"iataCode": "JFK"
},
"arrivalTime": "2017-03-05T06:30:00-05:00"
},
"checkinUrl": "http://united.com/onlinecheckin.html",
"potentialAction": {
"@type": "CheckInAction",
"target": "http://united.com/onlinecheckin.html"
}
}
</script>