From 756bdc0fa1cccb88ec17e3c84d06f89a78a4a223 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Mon, 20 Feb 2023 22:36:30 -0500 Subject: [PATCH] Refactor RSS templates for either MySQL or SQLite --- templates/rss-hpr.tpl.xml | 2 +- templates/rss-hpr_total.tpl.xml | 2 +- ...pr.tpl.xml => rss-query-hpr-mysql.tpl.xml} | 0 templates/rss-query-hpr-sqlite.tpl.xml | 23 +++++++++++++++++++ ....xml => rss-query-hpr_total-mysql.tpl.xml} | 0 templates/rss-query-hpr_total-sqlite.tpl.xml | 22 ++++++++++++++++++ 6 files changed, 47 insertions(+), 2 deletions(-) rename templates/{rss-query-hpr.tpl.xml => rss-query-hpr-mysql.tpl.xml} (100%) create mode 100644 templates/rss-query-hpr-sqlite.tpl.xml rename templates/{rss-query-hpr_total.tpl.xml => rss-query-hpr_total-mysql.tpl.xml} (100%) create mode 100644 templates/rss-query-hpr_total-sqlite.tpl.xml diff --git a/templates/rss-hpr.tpl.xml b/templates/rss-hpr.tpl.xml index b07e0bb..e99aaad 100644 --- a/templates/rss-hpr.tpl.xml +++ b/templates/rss-hpr.tpl.xml @@ -1,5 +1,5 @@ - + diff --git a/templates/rss-hpr_total.tpl.xml b/templates/rss-hpr_total.tpl.xml index 830d61b..503a943 100644 --- a/templates/rss-hpr_total.tpl.xml +++ b/templates/rss-hpr_total.tpl.xml @@ -1,5 +1,5 @@ - + diff --git a/templates/rss-query-hpr.tpl.xml b/templates/rss-query-hpr-mysql.tpl.xml similarity index 100% rename from templates/rss-query-hpr.tpl.xml rename to templates/rss-query-hpr-mysql.tpl.xml diff --git a/templates/rss-query-hpr-sqlite.tpl.xml b/templates/rss-query-hpr-sqlite.tpl.xml new file mode 100644 index 0000000..53e32c2 --- /dev/null +++ b/templates/rss-query-hpr-sqlite.tpl.xml @@ -0,0 +1,23 @@ + + + + diff --git a/templates/rss-query-hpr_total.tpl.xml b/templates/rss-query-hpr_total-mysql.tpl.xml similarity index 100% rename from templates/rss-query-hpr_total.tpl.xml rename to templates/rss-query-hpr_total-mysql.tpl.xml diff --git a/templates/rss-query-hpr_total-sqlite.tpl.xml b/templates/rss-query-hpr_total-sqlite.tpl.xml new file mode 100644 index 0000000..1465690 --- /dev/null +++ b/templates/rss-query-hpr_total-sqlite.tpl.xml @@ -0,0 +1,22 @@ + + + +