Google 电子邮件标记将如何支持应用程序深度链接?
How will Google email markup support application deeplinking?
通读 Google 电子邮件标记文档 (https://developers.google.com/gmail/markup/overview) 我没有找到有关如何深入链接到本机应用程序的信息。
既然电子邮件包含 LD+JSON 并包含 URL,为什么架构不能支持到 Android 或 iOS 应用程序的本机深层链接?
我原以为这是最明显的用例,其中一键式可操作内容是有意义的。
如果您查看 Schema.org 上 EntryPoint 的 JSON-LD 示例,您会注意到它允许 android-app://
和其他类型的深层链接为每个平台提供深度链接的一种非常明确的方式:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Restaurant",
"name": "Tartine Bakery",
"potentialAction": {
"@type": "ViewAction",
"target": [
"http://www.urbanspoon.com/r/6/92204",
{
"@type": "EntryPoint",
"urlTemplate": "http://api.urbanspoon.com/r/6/92204",
"contentType": "application/json+ld"
},
"android-app://com.urbanspoon/http/www.urbanspoon.com/r/6/92204",
{
"@type": "EntryPoint",
"urlTemplate": "urbanspoon://r/6/92204",
"application": {
"@type": "SoftwareApplication",
"@id": "284708449",
"name": "Urbanspoon iPhone & iPad App",
"operatingSystem": "iOS"
}
},
{
"@type": "EntryPoint",
"urlTemplate": "urbanspoon://r/6/92204",
"application": {
"@type": "SoftwareApplication",
"@id": "5b23b738-bb64-4829-9296-5bcb59bb0d2d",
"name": "Windows Phone App",
"operatingSystem": "Windows Phone 8"
}
}
]
}
}
</script>
最终,一旦深度链接融入到 Google 的所有产品中,这些映射就可以从您的网页中抓取并自动应用正确的链接,无论您是否在 Gmail 中查看突出显示Chrome 或本机移动应用程序之一。
通读 Google 电子邮件标记文档 (https://developers.google.com/gmail/markup/overview) 我没有找到有关如何深入链接到本机应用程序的信息。
既然电子邮件包含 LD+JSON 并包含 URL,为什么架构不能支持到 Android 或 iOS 应用程序的本机深层链接?
我原以为这是最明显的用例,其中一键式可操作内容是有意义的。
如果您查看 Schema.org 上 EntryPoint 的 JSON-LD 示例,您会注意到它允许 android-app://
和其他类型的深层链接为每个平台提供深度链接的一种非常明确的方式:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Restaurant",
"name": "Tartine Bakery",
"potentialAction": {
"@type": "ViewAction",
"target": [
"http://www.urbanspoon.com/r/6/92204",
{
"@type": "EntryPoint",
"urlTemplate": "http://api.urbanspoon.com/r/6/92204",
"contentType": "application/json+ld"
},
"android-app://com.urbanspoon/http/www.urbanspoon.com/r/6/92204",
{
"@type": "EntryPoint",
"urlTemplate": "urbanspoon://r/6/92204",
"application": {
"@type": "SoftwareApplication",
"@id": "284708449",
"name": "Urbanspoon iPhone & iPad App",
"operatingSystem": "iOS"
}
},
{
"@type": "EntryPoint",
"urlTemplate": "urbanspoon://r/6/92204",
"application": {
"@type": "SoftwareApplication",
"@id": "5b23b738-bb64-4829-9296-5bcb59bb0d2d",
"name": "Windows Phone App",
"operatingSystem": "Windows Phone 8"
}
}
]
}
}
</script>
最终,一旦深度链接融入到 Google 的所有产品中,这些映射就可以从您的网页中抓取并自动应用正确的链接,无论您是否在 Gmail 中查看突出显示Chrome 或本机移动应用程序之一。