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`