generated from MuckRock/documentcloud-scraper-addon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
51 lines (51 loc) · 1.26 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
title: RSS Document Fetcher
description: >-
Given an RSS feed where each entry's <link> element points to a document, upload those documents to DocumentCloud.
type: object
properties:
feed_name:
title: Feed Name
type: string
description: The name by which you'd like to refer to the feed (e.g., in notifications).
feed:
title: RSS/Atom Feed
type: string
format: uri
description: The URL of the feed to start scraping
project:
title: Project
type: string
description: >-
The DocumentCloud project title or ID of the project the documents should be uploaded to. If the project title does not exist, it will be created.
access:
title: Access Level
type: string
default: private
enum:
- private
- organization
- public
source:
title: Source
type: string
description: >-
A description or URL indicating the ultimate source of these documents.
notify:
title: Notify on new documents
type: boolean
slack_webhook:
title: Slack Webhook
type: string
format: uri
description: Enter a slack webhook to enable Slack notifications
required:
- feed
- feed_name
- project
- access
eventOptions:
name: feed_name
events:
- hourly
- daily
- weekly