fixed rss again

This commit is contained in:
Alex Gentilucci 2020-09-03 09:20:58 -06:00
parent cb6d80d4af
commit d8f3c542d4
Signed by: nytpu
GPG Key ID: ECCDC07B337B8F5B
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ make_globals() {
gemlog_feed="feed.rss" # filename of the rss feed
number_of_feed_articles="50" # number of posts in rss feed
feed_base_url="https://nytpu.com/blog/" # base url that the feed is hosted at
feed_base_url="https://nytpu.com/files/" # base url that the feed is hosted at
index="index.gmi" # main page, not recommended to change
@ -54,7 +54,7 @@ make_rss() {
echo "<description>$global_description</description><language>en</language>"
echo "<lastBuildDate>$pubdate</lastBuildDate>"
echo "<pubDate>$pubdate</pubDate>"
echo "<atom:link href=\"$feed_base_url/$blog_feed\" rel=\"self\" type=\"application/rss+xml\" />"
echo "<atom:link href=\"$feed_base_url/$gemlog_feed\" rel=\"self\" type=\"application/rss+xml\" />"
n=0
while IFS='' read -r i; do