This has been a lengthy tour, but the basic point should be clear enough: except perhaps for the simplest of one-program websites, every endeavour with Inweb will likely benefit from being organised into a colony. To sum up:
- A colony has 1 or more members, each declared by
member:, unless it is from a different colony entirely, in which caseexternal:. - Each member has a name, and can optionally supply one or more of:
- a location using
at, - a website path using
to, - a choice of navigation links using
navigation, - a choice of breadcrumb links using
breadcrumbs, and/or - a weaving pattern using
pattern.
- a location using
- A line reading
default:and then some of these clauses sets some default values fornavigation,breadcrumbsand/orpatternwhich apply to subsequent members until cancelled by a change ofdefault:. - A colony can also contain declarations of:
- single pages of commentary with
Page "name" { ... }, - contents pages for a whole web with
Web "name" { ... }, - language declarations with
Language "name" { ... }, - notation declarations with
Notation "name" { ... }, and/or - conventions to apply to colony members with
Conventions { ... }.
- single pages of commentary with
- The command
inweb map COLONYshows a sitemap, andinweb map -fuller COLONYa more extensive one.COLONYneed not be specified if the current working directory contains the relevantcolony.inwebfile. - Other Inweb commands can refer to members of a colony as
COLONY::MEMBERor, if again Inweb can see the colony in the cwd, simply::MEMBER. inweb weaveandinweb tanglecan be applied to a colony instead of a web, in which case they act on each (internal) member of the colony in turn.