From 6de749eb84ac95ed847979aa5306bd08ea6a361c Mon Sep 17 00:00:00 2001 From: ACC-Ricky <58411863+ACC-Ricky@users.noreply.github.com> Date: Wed, 14 Apr 2021 15:16:40 +1000 Subject: [PATCH 1/4] Added Attribute xmlns:media I was getting an error until I added this attribute to the existing list Error: error on multiple lines: Namespace prefix media on content is not defined Fixed error by adding: xmlns:media="http://search.yahoo.com/mrss/" --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 2ad40a43..684af8e0 100755 --- a/lib/index.js +++ b/lib/index.js @@ -115,6 +115,7 @@ function generateXML (data){ 'xmlns:dc': 'http://purl.org/dc/elements/1.1/', 'xmlns:content': 'http://purl.org/rss/1.0/modules/content/', 'xmlns:atom': 'http://www.w3.org/2005/Atom', + 'xmlns:media': 'http://search.yahoo.com/mrss/', version: '2.0' }; From 0be80dab2da2691c0c81fb8c1dd1090fe467367a Mon Sep 17 00:00:00 2001 From: ACC-Ricky <58411863+ACC-Ricky@users.noreply.github.com> Date: Mon, 20 Sep 2021 16:24:59 +1000 Subject: [PATCH 2/4] commented change for reference --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 684af8e0..5c3a1b0e 100755 --- a/lib/index.js +++ b/lib/index.js @@ -111,6 +111,7 @@ function generateXML (data){ }); //set up the attributes for the RSS feed. + //added media var _attr = { 'xmlns:dc': 'http://purl.org/dc/elements/1.1/', 'xmlns:content': 'http://purl.org/rss/1.0/modules/content/', From 567577c0d78c13a8c5f83eca99a97eb235fe3a48 Mon Sep 17 00:00:00 2001 From: ACC-Ricky <58411863+ACC-Ricky@users.noreply.github.com> Date: Thu, 4 Aug 2022 10:49:27 +1000 Subject: [PATCH 3/4] Update package.json --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 06c5e950..961c2472 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.2.2", "description": "RSS feed generator. Add RSS feeds to any project. Supports enclosures and GeoRSS.", "keywords": [ + "RH-Custom" "rss", "xml", "atom", @@ -24,6 +25,7 @@ "email": "dylang@gmail.com" }, "contributors": [ + "Ricky", "Dylan Greene ", "Xavier Damman ", "Michael R. Lange", From 55915c064a4cbd25c45f867f78d1cb8506eb1ee9 Mon Sep 17 00:00:00 2001 From: ACC-Ricky <58411863+ACC-Ricky@users.noreply.github.com> Date: Thu, 4 Aug 2022 11:18:04 +1000 Subject: [PATCH 4/4] repaired missing comma --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 961c2472..9dcd3ea9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.2.2", "description": "RSS feed generator. Add RSS feeds to any project. Supports enclosures and GeoRSS.", "keywords": [ - "RH-Custom" + "RH-Custom", "rss", "xml", "atom",