Magazine
SECTION 15 — MAGAZINE DOCUMENT WORKFLOW
15.1 What a Magazine Is
A Magazine is a single aggregated document covering a full calendar month of data. It is assembled from all four weekly Compilation archives for that month.15.2 Trigger Mechanism
Automatic (Cron-Based)
- Google Cloud Scheduler triggers a backend job on the last day of each calendar month at the configured trigger time (default: 6:00 PM IST, GMT +5:30). The trigger time is configurable by the Editor.
- Aggregates all four Compilation documents for that month.
- Supports multilingual aggregation in parallel as configured by the Teacher or triggered by the Editor.
Manual (Editor On-Demand Override)
- Same on-demand creation capability as Compilation (see Section 14.2).
- Editor selects specific Compilation documents or defines a custom date range.
15.3 Magazine Creation Pipeline
- Aggregation: Backend collects all Compilation documents for the month.
- Structure Assembly: Backend builds the Magazine document structure from Compilation data.
- Image Folder: A single image folder with sub-folders per news category:
IMG-MMMYY/CATEGORY1/, etc. - Editor Review: Magazine document enters Editor’s queue.
- PDF Generation: WeasyPrint generates Magazine PDF using themed magazine template.
- Proofreading Check: Editor completes verification.
- Drive Upload: Final PDF uploaded to:
YYYY/MMMYY/MONTHLY/FINAL/MAGAZINE-MMMYY.pdf.