serial/config.rec
2025-05-19 22:56:40 -06:00

42 lines
1.2 KiB
Plaintext

%rec: doc
%doc: a document
%key: id
%type: id,iter,progress,minutes int
%type: title,author,file,delivery line
%type: created,updated date
%auto: id created updated
# Further details:
# id : just an id
# title, author : you know what to do
# file : the path and filename
# iter (iteration) : how many times the file has been processed; how many emails have been sent. default = 1
# progress : the "current index" or paragraph number; where to start the next serial. default = 0
# delivery : must be a json array of days of the week, capitalized (so it matched `date +'%A'`)
# minutes : how many minutes you want each serial to be (multiplied by
# 240 which I read on the internet is roughly how many words
# per minute a person reads)
# created, updated : timestamps
id: 1
title: Bleak House
author: Charles Dickens
file: src/bleak.txt
iter: 2
progress: 10
delivery: [ "Monday", "Wednesdsay", "Thursday" ]
minutes: 5
created: 2025-05-14
updated: 2025-05-19
id: 2
title: Moby Dick
author: Herman Melville
file: src/mobydick.txt
iter: 1
progress: 0
delivery: [ "Friday" ]
minutes: 15
created: 2025-05-16
updated: 2025-05-16