From: Neil Date: Thu, 27 Apr 2023 19:23:41 +0000 (+0100) Subject: Initial commit X-Git-Url: https://git.mckillop.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=podcast-generator Initial commit --- 369f28c93963676b00b3a366d3df073745b5d5bd diff --git a/podcast-generator.php b/podcast-generator.php new file mode 100644 index 0000000..e212d4b --- /dev/null +++ b/podcast-generator.php @@ -0,0 +1,125 @@ + + $filename + $filename + $filename + $url/$dir_name/$filename + +"; +$all_items .= " ".date("r", strtotime("1 June 2018 21:00 +$number days")).""; +$all_items .= " + $author + 00:32:16 + no + $url$dir_name/$filename +"; + + $number++; +} + + +} else { + http_response_code(404); + die("File not found\n"); +} + + +function header_update($buffer) { + global $replace_array; + return(str_replace(array_keys($replace_array), $replace_array, $buffer)); +} + +ob_start("header_update"); +?> + + + +#TITLE# +#LINK# +en-us +#SUBTITLE# +#AUTHOR# +#SUMMARY# +#DESCRIPTION# + + #OWNER# + #OWNEREMAIL# + +no + + + + + + + +