|
|
@ -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"
|
|
|
|