package page→ /event-sources.md
pages/event-sources.md
40 lines, 1.5 KB. As a page.
- ---
- type: Collection
- title: "Places and sources"
- icon: "🧾"
- description: "Where the collector agent takes events from: listings, venue sites, social networks. A venue with a listing is a source too."
- itemType: EventSource
- items: {mode: path, path: /event-sources, recursive: false}
- writeTo: /event-sources
- properties:
- url: {kind: url, label: "Address", required: true}
- kind:
- kind: select
- label: "Kind"
- options:
- - {name: aggregator, label: "Listing", color: blue}
- - {name: venue, label: "Venue", color: green}
- - {name: social, label: "Social networks", color: purple}
- - {name: search, label: "Search", color: gray}
- use:
- kind: select
- label: "Do we use it"
- options:
- - {name: active, label: "Use", color: green}
- - {name: paused, label: "Do not use", color: gray}
- address: {kind: text, label: "Venue address"}
- checked: {kind: date, label: "When the agent looked"}
- views:
- - id: event-sources--table
- name: All sources
- layout: table
- fields: {}
- properties:
- - {name: title, visible: true, width: 280}
- - {name: kind, visible: true}
- - {name: use, visible: true}
- - {name: url, visible: true}
- - {name: checked, visible: true}
- ---
- A source is a page where the collector agent looks for events. The agent opens only the sources marked "Use" (`use: active`) and sets the date in "When the agent looked". To turn a source off, set `use: paused`. A new source is a new page: `title`, `url`, `kind`, `use`.