openvibers/openvibe.search Commits
Search: front-page cards for OpenVibe.Video (media-hub, through the owner API) and OpenVibe.Host; Games names its worlds (#66)
Changes
@@@ -46,7 +46,10 @@ const DEFAULT_EVENT_OWNERS = ['wiki', 'blog', 'news', 'reviews', 'deals', 'coupo'community', 'live', 'media', 'codes', 'games', 'tools', 'sources',// Record products (openvibe-publishing/search-feed, contracts 0.128.0): job listings, rental listings, help// articles, item definitions and quests; the hosting catalog's plans and providers (contracts 0.145.0).-- 'work', 'rent', 'help', 'inventory', 'quest', 'host'];++ 'work', 'rent', 'help', 'inventory', 'quest', 'host',++ // OpenVibe.Video's uploads (MediaHub, service id media-hub) come through the owner API, not Events (an event++ // type has no hyphen); listed so its front-page card and ?owner= filter exist.++ 'media-hub'];function load(env = process.env) {const nodeEnv = env.NODE_ENV || 'development';@@@ -196,7 +196,7 @@ const SOURCES = {live: ['OpenVibe.Live', 'Channels, streams and clips.'],media: ['OpenVibe.Media', 'Public videos, clips and files.'],codes: ['OpenVibe.Codes', 'The developer docs and API reference.'],-- games: ['OpenVibe.Games', 'Browser games.'],++ games: ['OpenVibe.Games', 'Browser games and the worlds players build.'],tools: ['OpenVibe.Tools', 'Every online tool, by what it does.'],sources: ['OpenVibe.Sources', 'The registry of news and data sources.'],work: ['OpenVibe.Work', 'Job listings from open boards, each linked to the original.'],@@@ -204,8 +204,10 @@ const SOURCES = {help: ['OpenVibe.Help', 'Answers about every OpenVibe site.'],inventory: ['OpenVibe.Inventory', 'Items, badges and effects you can earn and wear.'],quest: ['OpenVibe.Quest', 'Quests across the network and the badges they give.'],++ host: ['OpenVibe.Host', 'Hosting plans and offers, compared by price.'],++ 'media-hub': ['OpenVibe.Video', 'Videos people upload and record, with AI captions.'],};--const ICON_OF = { sources: 'docs' };++const ICON_OF = { sources: 'docs', 'media-hub': 'video' };// The front page's kit sections sit in this page's 760 px column, which already has its gutter.const FRONT_CSS = `<style>main .sc-hero, main .sc-sec { padding-left: 0; padding-right: 0; }
@@ -46,7 +46,10 @@ const DEFAULT_EVENT_OWNERS = ['wiki', 'blog', 'news', 'reviews', 'deals', 'coupo
@@ -46,7 +46,10 @@ const DEFAULT_EVENT_OWNERS = ['wiki', 'blog', 'news', 'reviews', 'deals', 'coupo
'community', 'live', 'media', 'codes', 'games', 'tools', 'sources',
'community', 'live', 'media', 'codes', 'games', 'tools', 'sources',
// Record products (openvibe-publishing/search-feed, contracts 0.128.0): job listings, rental listings, help
// Record products (openvibe-publishing/search-feed, contracts 0.128.0): job listings, rental listings, help
// articles, item definitions and quests; the hosting catalog's plans and providers (contracts 0.145.0).
// articles, item definitions and quests; the hosting catalog's plans and providers (contracts 0.145.0).
- 'work', 'rent', 'help', 'inventory', 'quest', 'host'];
+ 'work', 'rent', 'help', 'inventory', 'quest', 'host',
+ // OpenVibe.Video's uploads (MediaHub, service id media-hub) come through the owner API, not Events (an event
+ // type has no hyphen); listed so its front-page card and ?owner= filter exist.
+ 'media-hub'];
function load(env = process.env) {
function load(env = process.env) {
const nodeEnv = env.NODE_ENV || 'development';
const nodeEnv = env.NODE_ENV || 'development';
@@ -196,7 +196,7 @@ const SOURCES = {
@@ -196,7 +196,7 @@ const SOURCES = {
live: ['OpenVibe.Live', 'Channels, streams and clips.'],
live: ['OpenVibe.Live', 'Channels, streams and clips.'],
media: ['OpenVibe.Media', 'Public videos, clips and files.'],
media: ['OpenVibe.Media', 'Public videos, clips and files.'],
codes: ['OpenVibe.Codes', 'The developer docs and API reference.'],
codes: ['OpenVibe.Codes', 'The developer docs and API reference.'],
- games: ['OpenVibe.Games', 'Browser games.'],
+ games: ['OpenVibe.Games', 'Browser games and the worlds players build.'],
tools: ['OpenVibe.Tools', 'Every online tool, by what it does.'],
tools: ['OpenVibe.Tools', 'Every online tool, by what it does.'],
sources: ['OpenVibe.Sources', 'The registry of news and data sources.'],
sources: ['OpenVibe.Sources', 'The registry of news and data sources.'],
work: ['OpenVibe.Work', 'Job listings from open boards, each linked to the original.'],
work: ['OpenVibe.Work', 'Job listings from open boards, each linked to the original.'],
@@ -204,8 +204,10 @@ const SOURCES = {
@@ -204,8 +204,10 @@ const SOURCES = {
help: ['OpenVibe.Help', 'Answers about every OpenVibe site.'],
help: ['OpenVibe.Help', 'Answers about every OpenVibe site.'],
inventory: ['OpenVibe.Inventory', 'Items, badges and effects you can earn and wear.'],
inventory: ['OpenVibe.Inventory', 'Items, badges and effects you can earn and wear.'],
quest: ['OpenVibe.Quest', 'Quests across the network and the badges they give.'],
quest: ['OpenVibe.Quest', 'Quests across the network and the badges they give.'],
+ host: ['OpenVibe.Host', 'Hosting plans and offers, compared by price.'],
+ 'media-hub': ['OpenVibe.Video', 'Videos people upload and record, with AI captions.'],
};
};
-const ICON_OF = { sources: 'docs' };
+const ICON_OF = { sources: 'docs', 'media-hub': 'video' };
// The front page's kit sections sit in this page's 760 px column, which already has its gutter.
// The front page's kit sections sit in this page's 760 px column, which already has its gutter.
const FRONT_CSS = `<style>
const FRONT_CSS = `<style>
main .sc-hero, main .sc-sec { padding-left: 0; padding-right: 0; }
main .sc-hero, main .sc-sec { padding-left: 0; padding-right: 0; }