Page MenuHomePhabricator

Support for Google's app-indexing annotation
Closed, ResolvedPublic

Description

Author: jhlee

Description:
Will Wiki add support for App-Indexing? This will allow the Google search result of the wiki pages to include a deeplink into the application directly. This can be done fairly easily by adding one line into the html.

<link rel="alternate" href="android-app://<android-package-name>/http/url"/>

More details here: https://developers.google.com/app-indexing/webmasters/details


Version: unspecified
Severity: enhancement
Platform: Smartphone

Details

Reference
bz60537

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:51 AM
bzimport set Reference to bz60537.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jan 28 2014, 5:59 PM

Which "application" does this refer to?

jhlee wrote:

For wikipedia, for example, it would be wikipedia's app. ( org.wikipedia ). It should be configurable, so that it can point to the site's application.

Google might already be special casing Wikipedia - we are included in the list of apps that work right out at http://android-developers.blogspot.in/2013/10/making-your-app-content-more-accessible.html although I had no idea that was coming.

jhlee wrote:

Yes, Wikipedia app has been special cased. Adding support onto wikimedia would ensure that deeplinking is supported directly from the data provided within the webpage annotations. It should also make it easier for other users of wikimedia to benefit from app-indexing.

Change 112921 had a related patch set uploaded by Denny Vrandecic:
(bug 60537) Adds a deep link to a mobile app if so configured

https://gerrit.wikimedia.org/r/112921

Do we need to put this link only on mobile site or on desktop too?

jhlee wrote:

It should be put into both mobile and desktop page. As this functionality is for mobile environment, having this information on mobile pages is important. It is also important to have this on the desktop pages since the desktop URLs are often cases the canonical URLs.

Change 112921 had a related patch set uploaded by Denny Vrandecic:
(bug 60537) Adds a deep link to a mobile app if so configured

https://gerrit.wikimedia.org/r/112921

Change 112921 had a related patch set uploaded by Brion VIBBER:
Adds a deep link to a mobile app if so configured

https://gerrit.wikimedia.org/r/112921

Change 112921 merged by jenkins-bot:
Adds a deep link to a mobile app if so configured

https://gerrit.wikimedia.org/r/112921

Change 118220 had a related patch set uploaded by Catrope:
Set up configuration for App indexing

https://gerrit.wikimedia.org/r/118220

Change 118220 merged by jenkins-bot:
Set up configuration for App indexing

https://gerrit.wikimedia.org/r/118220

Ok it's on. :D

Ji, Denny, please confirm it's looking correct on your end! (Note some pages may be cached still, so try logging in if you don't see the links in the HTML source.)