From deb20fdfca35c64066fe4e375099350dc77ea408 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 22 May 2023 15:18:52 -0500 Subject: initial commit --- _functions/loadJSON.php | 111 +++++++++++++++++++++++++++++++++++++++++++ _functions/loadRSS.php | 51 ++++++++++++++++++++ _functions/parseMarkdown.php | 21 ++++++++ _functions/submitComment.php | 25 ++++++++++ 4 files changed, 208 insertions(+) create mode 100644 _functions/loadJSON.php create mode 100644 _functions/loadRSS.php create mode 100644 _functions/parseMarkdown.php create mode 100644 _functions/submitComment.php (limited to '_functions') diff --git a/_functions/loadJSON.php b/_functions/loadJSON.php new file mode 100644 index 0000000..c8540dc --- /dev/null +++ b/_functions/loadJSON.php @@ -0,0 +1,111 @@ +published == 'Yes') { + // Add relevant metadata to the output template + $year = date_format(date_create($postObject->created), "Y"); + if (!in_array($year, $stack)) { + // If any posts have been created in a list, close the existing