From e7de07a595a96d32b2cb26d499ca5296cb07030e Mon Sep 17 00:00:00 2001 From: Dave Morriss Date: Wed, 22 May 2024 17:34:48 +0100 Subject: [PATCH] Minor changes since 2023-10-12 --- query_next_available_episode.md | 4 ++-- templates.md | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/query_next_available_episode.md b/query_next_available_episode.md index cbcc7e8..cc5a128 100644 --- a/query_next_available_episode.md +++ b/query_next_available_episode.md @@ -16,8 +16,8 @@ The query contains two CTEs (Common Table Expressions). These are a relatively n CTEs are introduced by the `WITH` statement: ``` -WITH cte_1 (CTE definition 1), - cte_2 (CTE definition 2) +WITH cte_1 AS (CTE definition 1), + cte_2 AS (CTE definition 2) SELECT main query; ``` diff --git a/templates.md b/templates.md index a96996a..f0db332 100644 --- a/templates.md +++ b/templates.md @@ -270,7 +270,8 @@ TBA ## page.tpl.html -- Provides the main HTML template into which content is inserted. +- Provides the main HTML template into which content is inserted. Includes the + header and footer. - Uses templates: - `shared-utils.tpl.html` @@ -442,6 +443,8 @@ TBA ## rss.tpl.xml +- Produces the structure of the XML required for RSS feeds. Consists of the + `` definitions into which each `` is inserted. - Uses templates: - `shared-utils.tpl.html`