W3C home > Mailing lists > Public > public-web-intents@w3.org > November 2011

Re: Resource-driven, standard hyperlinks

From: Paul Kinlan <paulkinlan@google.com>
Date: Mon, 28 Nov 2011 09:53:40 +0000
Message-ID: <CADGdg3B8bxt+cgdfXmhqO8Fu+PZW3vBsOicwe+t978q7-KM1Pw@mail.gmail.com>
To: Tony Evans <mail.tony.evans@gmail.com>
Cc: public-web-intents@w3.org
Hi Tony,

Thanks for joining, we have had discussions about using anchors to be
able to initiate the intents, but not on this list so it would be good
to document these and the use-cases.

The questions I had with using anchors are:
- does the href become redundant?  What is encoded in the href, is it
the intent url (webintents.org/share), or the data? I suspect the
data, so if the intent system isn't in the browser the user would just
open the data.
- do we just have data attributes or define new attributes on the
DOMAnchorElement?
- it is one way, you can only start an action but not receive a
response.  Or would you define a new attribute that is the event for
the callback?  Something like "onintentresponse"

There are positives as well:
- it is declarative
- might not require javascript to be enabled

Thanks,
P

On Sun, Nov 27, 2011 at 2:38 AM, Tony Evans <mail.tony.evans@gmail.com> wrote:
> Paul Kinlan asked me to join the discussion here and share my thoughts.
> I'll start by sharing a web site I put together a while ago, based
> onan idea I had related to sharing and similar activities on the
> web.Hopefully it documents my idea as well as some of the history
> andthoughts behind it.  I went for a resource-driven approach, trying
> to reuse existing technologies where possible.
> http://intended-action.appspot.com/
> (The demo portion needs more work, but it should at least
> illustratethe process for when user agents catch up and can work with
> these resources.)
> I'm still playing catch-up with this list and related works.
> Has there been any previous discussion about using standard <a> href
> tags to link to intents/actions? And meta data on thelinks that
> indicate it points to an intent/action?
>
> --
> Tony Evans
> @aevans
>
>
>



-- 
Paul Kinlan
Developer Advocate @ Google for Chrome and HTML5
G+: http://plus.ly/paul.kinlan
t: +447730517944
tw: @Paul_Kinlan
LinkedIn: http://uk.linkedin.com/in/paulkinlan
Blog: http://paul.kinlan.me
Skype: paul.kinlan
Received on Monday, 28 November 2011 09:54:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:14:45 UTC