Skip to content

Commit 8d5ab1c

Browse files
committed
Add the columns to the config.
1 parent 9839c1d commit 8d5ab1c

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The ingredients:
66

77
* The `config.yml` has the configuration for generating the CSV file. Specifically:
88
* it has a URL to a Youtube RSS feed for our channel.
9+
* it has the column names the CSV file should have.
910
* it has some some default metadata values for each videos
1011
* it also has some specific metadata values for each video (identified by title)
1112
* It has an action that then generates and commits the `youtube.csv` file on each commit.
@@ -15,4 +16,4 @@ The ingredients:
1516

1617
The output: `youtube.csv`, which can be pointed at through a `Material CSV` source in TeSS.
1718

18-
TODO: maybe make the action smart enough that it only runs on changes to `config.yml`.
19+
TODO: maybe make the action smart enough that it only runs on changes to `config.yml`.

config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
url: https://www.youtube.com/feeds/videos.xml?channel_id=UCERhES8Kh7n29qtkoEl9MSQ
22

3+
# Note: URL, Title, and Description are mandatory.
4+
columns:
5+
- URL
6+
- Title
7+
- Description
8+
- Licence
9+
- Status
10+
- Author
11+
- Published
12+
- Keywords
13+
- Types
14+
- Competency
15+
- Prerequisites
16+
317
defaults:
418
licence: CC-BY-NC-SA-4.0
519
status: active

0 commit comments

Comments
 (0)