A single exported constant naming Tuesday, Thursday and Saturday as the publish days, with a matching human-readable string. The planner fills only those days, the writing routine runs the day before each of them so a post and its hero exist before the slot arrives, and the daily publisher only ever finds work on them.
Also called: three posts a week · publishing cadence · Tuesday Thursday Saturday
- 1PUBLISH_DAYS = [2, 4, 6] with Sunday as 0.
- 2planContentWindow() only creates slots on those weekdays inside the horizon.
- 3The writing routine is scheduled Monday, Wednesday and Friday so the work is finished before its slot.
- 4The publisher runs daily and picks up anything due, so a slow hero simply publishes on a later pass.
- 5PUBLISH_DAY_NAMES carries the same fact in prose for anything that has to explain the schedule.
Quoted directly in the code: "THE PUBLISHING WEEK (Keith 08-24: 'let's make sure that 3 blogs go out a week. Tuesday, Thursday, Saturday.') One constant, because three parts of the system have to agree about it." A cadence expressed three times in three files is a cadence that will eventually be three different cadences.
- Publishing cadence was informal and drifted.
- The planner, the writer and the publisher each had their own idea of the schedule.
See it on your own jobs
Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.
or keep browsing features →