WebActions
Definition: Web Actions are actions that a user takes from one web page across to another web page.
For background and analysis, read this first:
I'm organizing current thinking on web actions towards the development of conventions, standards and perhaps APIs for implementing web actions.
- Tantek
Contents
actors
There are three actors involved with web actions:
- Publisher - the site that publishes various web action buttons. Examples: media/news sites, blogs etc.
- Provider - sites that have URLs or other APIs for supporting (providing) web actions to do something on those sites. Examples: Twitter, Facebook, Tumblr, Readability. (often social or content hosting sites)
- User - the human, they see a web action button on one site, click it expecting some interaction to occur and action to take place on a second site.
Others: There are web action aggregators/delegators/middlemen like AddThis and ShareThis, which provide generic action buttons for publishers to use which the middlemen then route to specific web action providers.
challenges
The challenges that any attempt to provide generic web actions, web action buttons, etc. will face:
- Why should publishers use it? What is the incentive for the publisher to use a generic web action button on their site instead of a site specific web action such as a Tweet button?
- Why should providers support it? What is the incentive for a web action provider to support a generic web action format / API instead of just providing their own proprietary APIs?
- Will users use it? Users are familiar with brands that they know, have established a relationship with, and trust or otherwise know what to expect, e.g. Twitter, Facebook, Tumblr, etc. Why would a user trust or want to use a generic web action button such as a generic "share" button?
pieces to standardize
Based on the common flows (to be documented, currently in a written diagram) here are some interactions that could be standardized:
- discovery of a web action provider. See Open Web Apps discovery. no need to reinvent this. certainly not worthy of a new element <cough><intent></cough>.
- web action button markup (alternatively, the browser provides a native web action button UI)
- browser to provider: user did an action with a page
- provider -> here is a UI for the user to interact with to:
- authenticate (e.g. with BrowserID, or with site-specific id)
- provide additional info, e.g. commentary, tags etc., and confirmation
- provider->browser: whether the action succeeded or not
- browser->publisher: whether the action succeeded or not
articles and posts
Articles and blog posts about web actions:
- Web Actions: Identifying A New Building Block For The Web
- comments in G+ on that post: https://plus.google.com/109182513536739786206/posts/TC7sqHXvDg2
- Button Sluts and Web Actions
- comments in G+ on that post: https://plus.google.com/117061143938499069950/posts/FgXUxsrbt6g
- more related G+ posts:
- 2011-08-08 https://plus.google.com/117061143938499069950/posts/FgXUxsrbt6g
- 2011-08-08 https://plus.google.com/104753156470151028358/posts/MKJiDi2GfBF
- 2011-08-09 https://plus.google.com/107572871207229463900/posts/P7Y3wFo9FuN
- 2011-08-11 https://plus.google.com/102034052532213921839/posts/h9GsdbYMuCN
- 2011-08-11 https://plus.google.com/114723964985237592593/posts/VsjcHiHjdrp
- 2011-08-13 https://plus.google.com/113701541741306361978/posts/DqyAsC3oixP
- 2011-08-13 https://plus.google.com/102034052532213921839/posts/VZaZL9yKfs4
- 2011-08-13 https://plus.google.com/103083839483416907301/posts/NDP8zvHVHiJ
- 2011-08-31 https://plus.google.com/102034052532213921839/posts/fyW1mjQ6rob
- 2011-09-22 https://plus.google.com/111832530347449196055/posts/9UBRGLKNPyF
- 2011-10-07 https://plus.google.com/102034052532213921839/posts/ZSS4q9dYyGm (has specific criticisms of existing invalid made-up <g:plusone> tags, non-semantic <div>s, and a hypothetical <intent> tag)
- 2012-02-09 Ben Adida: a simpler, webbier approach to Web Intents (or Activities)
- 2012-03-26 Jonas Sicking: "WebIntents is the new XML. Have a problem? Just use WebIntents and it'll be solved."
- 2012-05-09 WIRED: "WebKit Offers Early Preview of ‘Web Intents’"
- unfortunately has old / out-of-date / false assertion that errantly claims that "Mozilla and several other companies have joined forces" with a link to an almost year old article that's subsequently been debunked: http://benlog.com/articles/2012/02/09/a-simpler-webbier-approach-to-web-intents-or-activities/ (see 2012-02-09 above)
- 2012-05-15 Chromium Blog: Connect with Web Intents
- 2012-06-28 Open Source Bridge conference session: Web Actions: A New Building Block for the Web
- 2012-09-23 Barnaby Walters: Web Actions (blog post, UI flows, diagrams)
good examples
- Twitter Tweet Actions
- "All our embed codes are hyperlinks."
-
<a class="twitter-follow-button" href="http://twitter.com/t">
bad examples
Google Plus Buttons
- G+ +1 button
- invalid/non-semantic
<g:>
or<div>
markup - 1.5 MB memory heap usage per button!
- invalid/non-semantic
Facebook Like Buttons
- 2012-06-01 Forbes: Facebook Outage Slowed 1000s Of Retail, Content Sites
- "The culprit: the rapid spread of the Like button."
- WebAPI
- WebActivities - Web Actions can hopefully evolve to eventually support more fully fledged Web Activities (including the lessons we learn by doing / shipping / iterating the simple stuff first)
- SocialAPI
- some abstract use-cases https://gist.github.com/1222633
see also
- IndieWebCamp: WebActions - includes key sections documenting criticisms like this one: Drop Social Buttons