Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:PaulKinlan/WebIntents

  • Loading branch information...
commit a8038d79b074f4b8857172fead9a8f4cef33fadc 2 parents e86873d + 70e0b38
Paul Kinlan authored
View
2  examples/index.html
@@ -35,7 +35,7 @@
</ul>
<h2>Usage: Registration</h2>
- <p>A collection of examples that show you the different ways to register an intent.</p>
+ <p>A collection of examples that show you the different ways to register an intent</p>
<ul>
<li><a href="usage/declarativeRegister/index.html">Declaratively Register an action for an intent</a></li>
</ul>
View
23 examples/intents/discover/index.html
@@ -1,6 +1,8 @@
<!doctype html>
<html>
<head>
+ <link rel="stylesheet" href="/css/reset.css" />
+ <link rel="stylesheet" href="/css/base.css" />
<title>Intent: Discover</title>
<style>
body {
@@ -8,14 +10,27 @@
}
iframe {
- width: 45%;
+ width: 47%;
height: 80%;
}
</style>
</head>
<body>
- <h2>This is an example app that lets the user discover services that other API's offer</h2>
- <iframe src="register.html"></iframe>
- <iframe src="action.html"></iframe>
+ <header>
+ <h1>Discover intent example</h1>
+ <nav>
+ <a href="http://webintents.org/">Web Intents</a>
+ <a href="http://webintents.org/discover">Discover Intent documentation</a>
+ <a href="http://examples.webintents.org/">Examples</a>
+ </nav>
+ </header>
+ <section>
+ <p>This is an example app that lets the user discover services that other
+ APIs offer</p>
+ <div>
+ <iframe src="register.html"></iframe>
+ <iframe src="action.html"></iframe>
+ </div>
+ </section>
</body>
</html>
View
2  examples/intents/discover/register.html
@@ -15,7 +15,7 @@
<body>
<h1>Service</h1>
- <p>This is a service you use. It has registered it's intent to be able to handle the share action for "application/JSON" datatypes.</p>
+ <p>This is a service you use. It has registered its intent to be able to handle the discover action for "application/JSON" datatypes.</p>
<h2>Discover Intent Registration</h2>
<pre>&lt;intent
action="http://webintents.org/discover"
View
9 examples/intents/pick/index.html
@@ -14,10 +14,15 @@
</head>
<body>
<header>
- <h1>Intent Pick: example</h1>
+ <h1>Pick intent example</h1>
+ <nav>
+ <a href="http://webintents.org/">Web Intents</a>
+ <a href="http://webintents.org/pick">Pick Intent documentation</a>
+ <a href="http://examples.webintents.org/">Examples</a>
+ </nav>
</header>
<section>
- <p>This example demonstates a cloud-based file picker.</p>
+ <p>This example demonstrates a cloud-based file picker.</p>
<div>
<iframe src="register.html"></iframe>
<iframe src="action.html"></iframe>
View
4 examples/intents/pick/register.html
@@ -14,8 +14,8 @@
<body>
<h1>Service</h1>
- <p>This is a service you use. It has registered it's intent to be able to handle the share action for "image/*" datatypes.</p>
- <p>Imaging one of the services is a Picasa, or Flickr style image hosting service. We want to be able to select one of images to use in the application (think attach picture to gmail).</p>
+ <p>This is a service you use. It has registered its intent to be able to handle the pick action for "image/*" datatypes.</p>
+ <p>Imagine one of the services is a Picasa- or Flickr-style image hosting service. We want to be able to select one of images to use in the application (think attach picture to Gmail).</p>
<h2>Pick Intent Registration</h2>
<pre>&lt;intent
action="http://webintents.org/pick"
View
2  examples/intents/share/register.html
@@ -17,7 +17,7 @@
</head>
<body>
<h1>Service</h1>
- <p>This is a service you use. It has registered it's intent to be able to handle the share action for "image/*" and "text/uri-list" datatypes.</p>
+ <p>This is a service you use. It has registered its intent to be able to handle the share action for "image/*" and "text/uri-list" datatypes.</p>
<h2>Share Intent Registration</h2>
<pre>&lt;intent
action="http://webintents.org/share"
View
2  examples/intents/shorten/index.html
@@ -45,7 +45,7 @@
</head>
<body>
<header>
- <h1>Example: Shorten</h1>
+ <h1>Shorten intent example</h1>
<nav>
<a href="http://webintents.org/">Web Intents</a>
<a href="http://webintents.org/shorten">Shorten Intent documentation</a>
View
4 server/discover
@@ -11,7 +11,7 @@
</header>
<section>
<p>
- The discover intent is designed to let developers query the API's and services that might live on external services.
+ The discover intent is designed to let developers query the APIs and services that might live on external services.
</p>
<p>
The "Discover" protocol is intended to be a lightweight registry list.
@@ -28,7 +28,7 @@
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
+ <dd>Optional. If specified, it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
</dl>
<h2>Invocation</h2>
<pre>var intent = new Intent("http://webintents.org/discover");
View
6 server/edit
@@ -11,10 +11,10 @@
</header>
<section>
<p>
- The edit intent is designed to give applications the ability to offer a simple mechanism for to edit data from the current page.
+ The edit intent is designed to give applications the ability to offer a simple mechanism to edit data from the current page.
</p>
<p>
- An action that can handle edit could be anything that the user has installed, including and not limited to image maniupulation tools and text editors.
+ An action that can handle edit could be anything that the user has installed, including and not limited to image manipulation tools and text editors.
</p>
<p>
The "Edit" protocol is intended to be a lightweight edit facility.
@@ -31,7 +31,7 @@
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
+ <dd>Optional. If specified, it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
</dl>
<h2>Invocation</h2>
<pre>var intent = new Intent("http://webintents.org/edit");
View
14 server/index.html
@@ -35,7 +35,7 @@ <h2 id="introduction">Introduction</h2>
</p>
<p>
It is impossible for developers to anticipate every new service and to
- integrate with every existing external service that their users prefer
+ integrate with every existing external service that their users prefer,
and thus they must choose to integrate with a few select APIs at great
expense to the developer.
</p>
@@ -45,18 +45,18 @@ <h2 id="introduction">Introduction</h2>
their intention to be able to handle an action on the user's behalf.
Applications request to start an Action of a certain verb
(<a href="/share">share</a>, <a href="/edit">edit</a>,
- <a href="/view">view</a>, <a href="/pick">pick</a> etc) and the system
+ <a href="/view">view</a>, <a href="/pick">pick</a> etc.) and the system
will find the appropriate Services for the user to use based on the user's
preference.
</p>
<p>
Web Intents puts the user in control of service integrations and makes the
- developers life simple.
+ developer's life simple.
</p>
<h2 id="api">API</h2>
<p>
The Web Intent API is simple to use. Service developers define the
- intent they intend to support, and what to do with the data they receive.
+ intent they intend to support and what to do with the data they receive.
Client applications simply initiate a new action with the given parameters.
</p>
<h3 id="intentregistration">Intent Registration</h3>
@@ -71,7 +71,7 @@ <h3 id="intentregistration">Intent Registration</h3>
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded
+ <dd>Optional. If specified, it will point to the action that is loaded
when the user chooses the service. If undefined, use the current
page.</dd>
</dl>
@@ -85,7 +85,7 @@ <h3 id="invocation">Invocation</h3>
<h2 id="defaultintents">Default Intents</h2>
<p>
We are collating a suite of default intents that we believe the majority
- of applications and service will use. The schema URL used to define an
+ of applications and services will use. The schema URL used to define an
intent is designed to be self documenting.
</p>
<ul>
@@ -98,7 +98,7 @@ <h2 id="defaultintents">Default Intents</h2>
<h2 id="javascriptshim">JavaScript Shim</h2>
<p>
- This is fundamentally new platform feature, and as such has not been
+ This is a fundamentally new platform feature, and as such has not been
implemented in any browser. To compensate and to allow you to build rich
applications today, we have built an API compatible JavaScript shim.
</p>
View
2  server/pick
@@ -31,7 +31,7 @@
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
+ <dd>Optional. If specified, it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
</dl>
<h2>Invocation</h2>
<pre>var intent = new Intent("http://webintents.org/pick");
View
4 server/share
@@ -14,7 +14,7 @@
The share intent is designed to give applications the ability to offer a simple mechanism for sharing data from the current page.
</p>
<p>
- An action that can handle share could be anything that the user has installed, including and not limited to Social Networks and Email services.
+ An action that can handle share could be anything that the user has installed, including and not limited to social networks and email services.
</p>
<p>
The "Share" protocol is intended to be a lightweight sharing facility.
@@ -31,7 +31,7 @@
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
+ <dd>Optional. If specified, it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
</dl>
<h2>Invocation</h2>
<pre>var intent = new Intent("http://webintents.org/share");
View
2  server/view
@@ -31,7 +31,7 @@
<dt id="type">type</dt>
<dd>Optional. Types are a filter</dd>
<dt id="href">href</dt>
- <dd>Optional. If specified it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
+ <dd>Optional. If specified, it will point to the action that is loaded when the user chooses the service. If undefined, use the current page.</dd>
</dl>
<h2>Invocation</h2>
<pre>var intent = new Intent("http://webintents.org/view");
Please sign in to comment.
Something went wrong with that request. Please try again.