diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-06 12:35:17 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-06 12:35:17 +0000 |
commit | 2c437f4ca76e107ce3eb3c93ae2fc183caf6caab (patch) | |
tree | 5c9875b7a0580a95d35e72f1b9afb74df2e6b86c | |
parent | fixed rss validator errors except atom error (diff) | |
download | blog-2c437f4ca76e107ce3eb3c93ae2fc183caf6caab.tar.gz blog-2c437f4ca76e107ce3eb3c93ae2fc183caf6caab.zip |
more fixes for the rss feed
-rwxr-xr-x | server.js | 1 | ||||
-rw-r--r-- | views/rss_feed_v2.pug | 9 |
2 files changed, 5 insertions, 5 deletions
@@ -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() |