aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xserver.js1
-rw-r--r--views/rss_feed_v2.pug9
2 files changed, 5 insertions, 5 deletions
diff --git a/server.js b/server.js
index b609018..eea4695 100755
--- a/server.js
+++ b/server.js
@@ -25,7 +25,6 @@ const morgan = require("morgan");
const model = require("./model");
model.dbInit();
-// model.populateDB(model.blogPost);
const app = express();
app.disable("x-powered-by");
diff --git a/views/rss_feed_v2.pug b/views/rss_feed_v2.pug
index b680cb9..261f054 100644
--- a/views/rss_feed_v2.pug
+++ b/views/rss_feed_v2.pug
@@ -1,11 +1,12 @@
doctype xml
-rss(version='2.0')
+rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom" rel="nofollow">http://www.w3.org/2005/Atom</a>')
channel
title deviblog
- link https://blog.terminaldweller.com
+ link <a href="https://blog.terminaldweller.com" rel="nofollow">https://blog.terminaldweller.com</a>
+ atom:link(href='<a href="https://blog.terminaldweller.com/feed/rss" rel="nofollow">https://blog.terminaldweller.com/feed/rss</a>', rel='self', type='application/rss+xml')
description I talk about software here.
- managingEditor devi@terminaldweller.com
- webMaster devi@terminaldweller.com
+ managingEditor devi@terminaldweller.com (Farzad Sadeghi)
+ webMaster devi@terminaldweller.com (Farzad Sadeghi)
language en-US
if posts.length
lastBuildDate= new Date(posts[0].lastUpdatedAt).toUTCString()