Yug*_*dle 6 android facebook android-app-indexing applinks google-search-platform
urls向本机应用程序添加概念的方法Android App Indexing表示可以将应用程序编入索引以在Web上映射相应的内容
在哪里
应用程序链接表示app-to-app链接特定内容
两者都表明,有一个url-like结构可以定位应用程序上的特定内容以从应用程序外部定位(可能是另一个应用程序或Web)
我想知道的是:
你可以实现这两个. AppIndexing现在也会影响个性化搜索排名,因此它可能会为您的Android用户带来更好的结果.
如果链接腐烂,请从上面的页面引用:
从今天开始,我们将开始使用索引应用中的信息作为安装应用的已登录用户的排名因素.因此,我们现在可以在搜索中更突出地显示索引应用程序中的内容.
如果你在Android上有很多观众,我建议使用AppIndexing.如果您在Facebook上有很多用户,我建议您使用App Links.如果你有两个,那么两个都做!
要直接回答您的问题,您不能依赖App Links来实现AppIndexing,但您可以在最少的额外工作量的同时完成工作.
编辑
为了更好地回答您的问题,您应该能够将两者的预期URI结构相同.这将使Android客户端中的Intent处理能够支持传入的AppLink URI和AppIndexing URI.
编辑2
支持AppIndexing和AppLinks的示例URI结构.
假设您有一个名为SuperLinks的Android应用程序,其软件包名称为com.example.superlinks,您希望创建一个模式来寻址特定资源,名为examplelink#1234.您的URI架构将是超级链接:// examplelink/1234,您可以实现Android客户端处理一次,同时将2个不同的部分添加到网页的头部.
您的AndroidManifest.xml将包含Intent过滤器来处理您创建的模式(参考):
...
<activity android:name=".YourActivity"
android:label="@string/app_name" >
...
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="superlinks" />
</intent-filter>
</activity>
...
注意当用户尝试打开其中一个时,应用程序作为选项列出的选项需要操作和类别标记.您的架构链接.
要支持AppIndexing,您需要将以下内容添加到页面的头部(参考):
<head>
...
<link rel="alternate" href="android-app://com.example.superlinks/superlinks/examplelink/1234" />
...
</head>
要支持AppLink,您需要将以下内容添加到页面的头部参考:
<head>
...
<meta property="al:android:url" content="superlinks://examplelink/1234">
<meta property="al:android:package" content="com.example.superlinks">
<meta property="al:android:app_name" content="SuperLinks">
...
</head>
| 归档时间: |
|
| 查看次数: |
1121 次 |
| 最近记录: |