diff --git a/server.py b/server.py
index 1c3c9ad..33a34e5 100644
--- a/server.py
+++ b/server.py
@@ -634,8 +634,9 @@ def now_old():
@app.route("/now.rss")
def now_rss():
- host = request.scheme + "://" + request.host
- print(host)
+ host = "https://" + request.host
+ if ":" in request.host:
+ host = "http://" + request.host
# Generate RSS feed
now_pages = os.listdir("templates/now")
now_pages = [
@@ -647,7 +648,7 @@ def now_rss():
link = page.strip(".html")
date = datetime.datetime.strptime(link, "%y_%m_%d")
date = date.strftime("%A, %B %d, %Y")
- rss += f'- {date}{host}/now/{link}{date}{host}/now/{link}
'
+ rss += f'- What\'s Happening {date}{host}/now/{link}Latest updates for {date}{host}/now/{link}
'
rss += ""
return make_response(rss, 200, {"Content-Type": "application/rss+xml"})