gpt4 book ai didi

google-schemas - gmail 架构 : rsvp action not validating

转载 作者:行者123 更新时间:2023-12-04 04:56:31 24 4
gpt4 key购买 nike

我假设这与验证工具是早期版本有关。 RSVP 操作未得到很好的验证。下面的标记也没有显示在 gmail 中,我不知道为什么。

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="application/ld+json">
{
"@context": "schema.org",
"@type": "Event",
"name": "3pm April 21st",
"startDate": "2013-05-05T15:00:00",
"endDate": "2013-05-05T16:00:00",
"location": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"name": "XXXX",
"streetAddress": "999 West Adams",
"addressLocality": "Chicago",
"addressRegion": "IL",
"postalCode": "60607",
"addressCountry": "USA"
}
},
"action": [
{
"@type": "RsvpAction",
"handler": {
"@type": "HttpActionHandler",
"url": "http://foobar.net/1"
},
"attendance": "http://schema.org/RsvpAttendance/Yes"
},
{
"@type": "RsvpAction",
"handler": {
"@type": "HttpActionHandler",
"url": "http://foobar.net/2"
},
"attendance": "http://schema.org/RsvpAttendance/No"
},
{
"@type": "RsvpAction",
"handler": {
"@type": "HttpActionHandler",
"url": "http://foobar.net/3"
},
"attendance": "http://schema.org/RsvpAttendance/Maybe"
}
]
}
</script><img alt="Open_tracker" src="http://localhost:3000/invitations/14157/open_tracker"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
</div>
</body>
</html>
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
<script type="application/ld+json">
5
{
6
"@context": "schema.org",
7
"@type": "Event",
8
"name": "3pm April 21st",
9
"startDate": "2013-05-05T15:00:00",
10
"endDate": "2013-05-05T16:00:00",
11
"location": {
12
"@type": "Place",
13
"address": {
14
"@type": "PostalAddress",
15
"name": "XXX",
16
"streetAddress": "999 West Adams",
17
"addressLocality": "Chicago",
18
"addressRegion": "IL",
19
"postalCode": "60607",
20
"addressCountry": "USA"
21
}
22
},
23
"action": [
24
{
25
"@type": "RsvpAction",
26
"handler": {
27
"@type": "HttpActionHandler",
28
"url": "http://foobar.net/1"
29
},
30
"attendance": "http://schema.org/RsvpAttendance/Yes"
31
},
32
{

Extracted structured data
Item1
Type:
RsvpAction
Unknown type RsvpAction
Properties:
attendance
http://schema.org/RsvpAttendance/No
Unknown property http://schema.org/attendance
The property attendance cannot be used with the RsvpAction type
handler
Item3
Unknown property http://schema.org/handler
The property handler cannot be used with the RsvpAction type
Item2
Type:
Place
Properties:
address
Item9
Item3
Type:
HttpActionHandler
Unknown type HttpActionHandler
Properties:
url
http://foobar.net/2
Item4
Type:
HttpActionHandler
Unknown type HttpActionHandler
Properties:
url
http://foobar.net/3
Item5
Type:
HttpActionHandler
Unknown type HttpActionHandler
Properties:
url
http://foobar.net/1
Item6
Type:
Event
Properties:
startDate
2013-05-05T15:00:00
Not a valid DateTime value
Not a valid Date value
endDate
2013-05-05T16:00:00
Not a valid DateTime value
Not a valid Date value
name
3pm April 21st
location
Item2
action
Item8
Item1
Item7
Item8
Item1
Item7
Item8
Item1
Item7
The property action cannot be used with the Event type
The property action cannot be used with the Event type
The property action cannot be used with the Event type
Item7
Type:
RsvpAction
Unknown type RsvpAction
Properties:
attendance
http://schema.org/RsvpAttendance/Maybe
Unknown property http://schema.org/attendance
The property attendance cannot be used with the RsvpAction type
handler
Item4
Unknown property http://schema.org/handler
The property handler cannot be used with the RsvpAction type
Item8
Type:
RsvpAction
Unknown type RsvpAction
Properties:
attendance
http://schema.org/RsvpAttendance/Yes
Unknown property http://schema.org/attendance
The property attendance cannot be used with the RsvpAction type
handler
Item5
Unknown property http://schema.org/handler
The property handler cannot be used with the RsvpAction type

最佳答案

文档中的验证工具处于 alpha 阶段,尚不支持所有新类型。此外,Gmail 目前不支持 RSVP 和 Review 操作,如引用指南中所述:https://developers.google.com/gmail/schemas/reference/rsvp-action

关于google-schemas - gmail 架构 : rsvp action not validating,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16691086/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com