Fixed error where I would create a file called RSS_FEED_PATH

master
Aadhavan Srinivasan 5 months ago
parent dc61c92a4e
commit f1f5ab51b2

@ -236,7 +236,7 @@ gen_sorted_file_list() { # Generate a list of the HTMl files, sorted by when the
gen_rss_feed() { # Uses the sorted_file_list variable to generate an RSS feed gen_rss_feed() { # Uses the sorted_file_list variable to generate an RSS feed
echo "Generating RSS Feed..." echo "Generating RSS Feed..."
local RSS_FEED_PATH="${BASE_PATH}/output/rss.xml" local RSS_FEED_PATH="${BASE_PATH}/output/rss.xml"
touch "RSS_FEED_PATH" # Create the RSS file touch "$RSS_FEED_PATH" # Create the RSS file
local RSS_CONTENT="<rss version=\"2.0\">\n" local RSS_CONTENT="<rss version=\"2.0\">\n"
counter=0 counter=0
RSS_CONTENT+="<channel>\n" RSS_CONTENT+="<channel>\n"

Loading…
Cancel
Save