openvibers/openvibe.watch Commits
Watch: the text index, description and README name webhooks and events (#43)
Changes
@@@ -1,6 +1,6 @@# OpenVibe.Watch--> Persistent, user-defined observations and conditions over pages, feeds and APIs: define what to++> Persistent, user-defined observations and conditions over pages, feeds, APIs, webhooks and OpenVibe events: define what to> watch, get told when it changes or fires — cheaply, because a Watch never polls when an event or> the site's own ETag will do.@@@ -32,7 +32,7 @@ const PUBLIC_DIR = path.join(__dirname, '..', 'public');/** The text index non-HTML clients get for `/`; the site itself is at the same address for browsers. */const TEXT_INDEX = [-- 'OpenVibe.Watch: persistent user-defined observations and conditions over pages, feeds and APIs.',++ 'OpenVibe.Watch: persistent user-defined observations and conditions over pages, feeds, APIs, webhooks and OpenVibe events.','A watch states what it observes (source), how often or what pushes to it (cadence / event pattern),','what value it takes (extraction), how that value is compared and when the condition fires, and what','it wakes. A watch never polls when an event or a webhook will do, and it never fabricates a value:',@@@ -14,7 +14,7 @@ const seo = require('openvibe-shared/seo');const cache = require('openvibe-shared/cache-policy');const SITE_NAME = 'OpenVibe.Watch';--const DESCRIPTION = 'OpenVibe.Watch — get told when a page, a feed or an API changes. Define what to watch and the condition that fires; Watch checks each source on the cadence you pick and records every check.';++const DESCRIPTION = 'OpenVibe.Watch — get told when a page, a feed or an API changes, or when a webhook arrives. Define what to watch and the condition that fires; Watch checks on the cadence you pick (or the moment it is called) and records every check.';const DISALLOW = ['/auth/', '/watches'];const PAGE_TEXT = {
@@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
# OpenVibe.Watch
# OpenVibe.Watch
-> Persistent, user-defined observations and conditions over pages, feeds and APIs: define what to
+> Persistent, user-defined observations and conditions over pages, feeds, APIs, webhooks and OpenVibe events: define what to
> watch, get told when it changes or fires — cheaply, because a Watch never polls when an event or
> watch, get told when it changes or fires — cheaply, because a Watch never polls when an event or
> the site's own ETag will do.
> the site's own ETag will do.
@@ -32,7 +32,7 @@ const PUBLIC_DIR = path.join(__dirname, '..', 'public');
@@ -32,7 +32,7 @@ const PUBLIC_DIR = path.join(__dirname, '..', 'public');
/** The text index non-HTML clients get for `/`; the site itself is at the same address for browsers. */
/** The text index non-HTML clients get for `/`; the site itself is at the same address for browsers. */
const TEXT_INDEX = [
const TEXT_INDEX = [
- 'OpenVibe.Watch: persistent user-defined observations and conditions over pages, feeds and APIs.',
+ 'OpenVibe.Watch: persistent user-defined observations and conditions over pages, feeds, APIs, webhooks and OpenVibe events.',
'A watch states what it observes (source), how often or what pushes to it (cadence / event pattern),',
'A watch states what it observes (source), how often or what pushes to it (cadence / event pattern),',
'what value it takes (extraction), how that value is compared and when the condition fires, and what',
'what value it takes (extraction), how that value is compared and when the condition fires, and what',
'it wakes. A watch never polls when an event or a webhook will do, and it never fabricates a value:',
'it wakes. A watch never polls when an event or a webhook will do, and it never fabricates a value:',
@@ -14,7 +14,7 @@ const seo = require('openvibe-shared/seo');
@@ -14,7 +14,7 @@ const seo = require('openvibe-shared/seo');
const cache = require('openvibe-shared/cache-policy');
const cache = require('openvibe-shared/cache-policy');
const SITE_NAME = 'OpenVibe.Watch';
const SITE_NAME = 'OpenVibe.Watch';
-const DESCRIPTION = 'OpenVibe.Watch — get told when a page, a feed or an API changes. Define what to watch and the condition that fires; Watch checks each source on the cadence you pick and records every check.';
+const DESCRIPTION = 'OpenVibe.Watch — get told when a page, a feed or an API changes, or when a webhook arrives. Define what to watch and the condition that fires; Watch checks on the cadence you pick (or the moment it is called) and records every check.';
const DISALLOW = ['/auth/', '/watches'];
const DISALLOW = ['/auth/', '/watches'];
const PAGE_TEXT = {
const PAGE_TEXT = {