Hacker News new | ask | show | jobs
by Margh 4035 days ago
> It's hard to deep-link into an app.

Disagree. Case in point: steam://friends https://www.iana.org/assignments/uri-schemes/prov/steam

/s/ steam for news://home or news://business/26-05-2015-oil-prices

The content could (and definitely should) still be html, obviously not everybody you link to is going to want to install the news app and it should fall back to opening in a browser, but if you want to wrap a fancy interface around what should just be text there's your solution.

3 comments

Which newspaper's app would the newspaper:// URL link to? It's certainly possible to do this, but it's often done badly. And if the app doesn't display its URLs, and they're not made available nicely in its "share" functionality, then the user isn't going to be able to work out how to refer to the article.

Also from that link: "Security considerations: Unknown, use with care." Great!

(news:// is already taken by Usenet NNTP to refer to articles by ID)

They didn't say it was impossible, they said it was hard. And it is. Deep linking into an app requires a link handling implementation and knowledge of the operating system's procedures for registering that you can handle certain protocols. The web gives it to you for free.
Links into native apps are great!... Until someone doesn't have it installed

The few successful native apps with linking (iTunes, Spotify) go via the web.