fixed rss again
This commit is contained in:
parent
cb6d80d4af
commit
d8f3c542d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue