@peertube/feed 5.2.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/podcast.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.default = (function (ins) {
|
|
|
23
23
|
rss: {
|
|
24
24
|
_attributes: {
|
|
25
25
|
version: "2.0",
|
|
26
|
-
"xmlns:podcast": "https://
|
|
26
|
+
"xmlns:podcast": "https://podcastindex.org/namespace/1.0",
|
|
27
27
|
"xmlns:itunes": "http://www.itunes.com/dtds/podcast-1.0.dtd",
|
|
28
28
|
"xmlns:dc": "http://purl.org/dc/elements/1.1/",
|
|
29
29
|
"xmlns:content": "http://purl.org/rss/1.0/modules/content/",
|
|
@@ -62,15 +62,7 @@ exports.default = (function (ins) {
|
|
|
62
62
|
base.rss.channel["podcast:guid"] = { _text: options.guid };
|
|
63
63
|
}
|
|
64
64
|
if (options.author && options.author.name) {
|
|
65
|
-
|
|
66
|
-
base.rss.channel["podcast:person"] = {
|
|
67
|
-
_attributes: { href: (0, utils_1.sanitize)(options.author.link) },
|
|
68
|
-
_text: options.author.name
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
base.rss.channel["podcast:person"] = { _text: options.author.name };
|
|
73
|
-
}
|
|
65
|
+
base.rss.channel["itunes:author"] = { _text: options.author.name };
|
|
74
66
|
}
|
|
75
67
|
if (options.person) {
|
|
76
68
|
var personTags = options.person.map(function (_a) {
|
|
@@ -291,6 +283,9 @@ var makePodcastItemJSON = function (entry) {
|
|
|
291
283
|
});
|
|
292
284
|
});
|
|
293
285
|
}
|
|
286
|
+
if (entry.duration) {
|
|
287
|
+
item["itunes:duration"] = { _text: entry.duration };
|
|
288
|
+
}
|
|
294
289
|
var defaultEnclosure = entry.media[0];
|
|
295
290
|
item.enclosure = {
|
|
296
291
|
_attributes: {
|
package/lib/podcast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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MAAG,CAAC;oBAA9B,CAA8B,CAAC;yBACvD,IAAI,CAAC,IAAI,CAAC;iBACd;aACF,CAAA;SACF;KACF;IAED,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAA;IAElE,IAAI,KAAK,CAAC,UAAU,EAAE;QACpB,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAA;KAC9C;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,IAAM,uBAAuB,GAAG,UAAC,KAAsB;IACrD,IAAI,IAAI,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAErC,IAAI,CAAC,WAAW,uBACd,MAAM,EAAE,KAAK,CAAC,MAAM,IACjB,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,GACvC,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CACrC,CAAA;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA"}
|
package/lib/typings/index.d.ts
CHANGED
package/lib/typings/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typings/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typings/index.ts"],"names":[],"mappings":";;;AAgIA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+BAAa,CAAA;IACb,iCAAe,CAAA;AACjB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAmCD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,+CAA8B,CAAA;AAChC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`podcast should generate a valid feed 1`] = `
|
|
4
4
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
5
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
5
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
6
6
|
<channel>
|
|
7
7
|
<title>Feed Title</title>
|
|
8
8
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -13,7 +13,7 @@ exports[`podcast should generate a valid feed 1`] = `
|
|
|
13
13
|
<description>This is my personnal feed!</description>
|
|
14
14
|
<language>en</language>
|
|
15
15
|
<ttl>60</ttl>
|
|
16
|
-
<
|
|
16
|
+
<itunes:author>John Doe</itunes:author>
|
|
17
17
|
<itunes:explicit>false</itunes:explicit>
|
|
18
18
|
<image>
|
|
19
19
|
<title>Feed Title</title>
|
|
@@ -30,14 +30,14 @@ exports[`podcast should generate a valid feed 1`] = `
|
|
|
30
30
|
|
|
31
31
|
exports[`podcast should generate a valid feed author no link 1`] = `
|
|
32
32
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
33
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
33
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
34
34
|
<channel>
|
|
35
35
|
<title>Feed Title</title>
|
|
36
36
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
37
37
|
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
|
|
38
38
|
<generator>https://github.com/jpmonette/feed</generator>
|
|
39
39
|
<podcast:medium>podcast</podcast:medium>
|
|
40
|
-
<
|
|
40
|
+
<itunes:author>John Doe</itunes:author>
|
|
41
41
|
<itunes:explicit>false</itunes:explicit>
|
|
42
42
|
<copyright>All rights reserved 2013, John Doe</copyright>
|
|
43
43
|
</channel>
|
|
@@ -46,7 +46,7 @@ exports[`podcast should generate a valid feed author no link 1`] = `
|
|
|
46
46
|
|
|
47
47
|
exports[`podcast should generate a valid feed guid 1`] = `
|
|
48
48
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
49
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
49
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
50
50
|
<channel>
|
|
51
51
|
<title>Feed Title</title>
|
|
52
52
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -62,7 +62,7 @@ exports[`podcast should generate a valid feed guid 1`] = `
|
|
|
62
62
|
|
|
63
63
|
exports[`podcast should generate a valid feed locked 1`] = `
|
|
64
64
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
65
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
65
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
66
66
|
<channel>
|
|
67
67
|
<title>Feed Title</title>
|
|
68
68
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -78,7 +78,7 @@ exports[`podcast should generate a valid feed locked 1`] = `
|
|
|
78
78
|
|
|
79
79
|
exports[`podcast should generate a valid feed managingEditor 1`] = `
|
|
80
80
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
81
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
81
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
82
82
|
<channel>
|
|
83
83
|
<title>Feed Title</title>
|
|
84
84
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -94,14 +94,14 @@ exports[`podcast should generate a valid feed managingEditor 1`] = `
|
|
|
94
94
|
|
|
95
95
|
exports[`podcast should generate a valid feed medium music 1`] = `
|
|
96
96
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
97
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
97
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
98
98
|
<channel>
|
|
99
99
|
<title>Feed Title</title>
|
|
100
100
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
101
101
|
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
|
|
102
102
|
<generator>https://github.com/jpmonette/feed</generator>
|
|
103
103
|
<podcast:medium>music</podcast:medium>
|
|
104
|
-
<
|
|
104
|
+
<itunes:author>John Doe</itunes:author>
|
|
105
105
|
<itunes:explicit>false</itunes:explicit>
|
|
106
106
|
<copyright>All rights reserved 2013, John Doe</copyright>
|
|
107
107
|
</channel>
|
|
@@ -110,7 +110,7 @@ exports[`podcast should generate a valid feed medium music 1`] = `
|
|
|
110
110
|
|
|
111
111
|
exports[`podcast should generate a valid feed not locked 1`] = `
|
|
112
112
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
113
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
113
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
114
114
|
<channel>
|
|
115
115
|
<title>Feed Title</title>
|
|
116
116
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -126,7 +126,7 @@ exports[`podcast should generate a valid feed not locked 1`] = `
|
|
|
126
126
|
|
|
127
127
|
exports[`podcast should generate a valid feed person 1`] = `
|
|
128
128
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
129
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
129
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
130
130
|
<channel>
|
|
131
131
|
<title>Feed Title</title>
|
|
132
132
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -148,7 +148,7 @@ exports[`podcast should generate a valid feed person 1`] = `
|
|
|
148
148
|
|
|
149
149
|
exports[`podcast should generate a valid feed webMaster 1`] = `
|
|
150
150
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
151
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
151
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
152
152
|
<channel>
|
|
153
153
|
<title>Feed Title</title>
|
|
154
154
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -164,7 +164,7 @@ exports[`podcast should generate a valid feed webMaster 1`] = `
|
|
|
164
164
|
|
|
165
165
|
exports[`podcast should generate a valid feed with a podcast item 1`] = `
|
|
166
166
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
167
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
167
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
168
168
|
<channel>
|
|
169
169
|
<title>Feed Title</title>
|
|
170
170
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -175,7 +175,7 @@ exports[`podcast should generate a valid feed with a podcast item 1`] = `
|
|
|
175
175
|
<description>This is my personnal feed!</description>
|
|
176
176
|
<language>en</language>
|
|
177
177
|
<ttl>60</ttl>
|
|
178
|
-
<
|
|
178
|
+
<itunes:author>John Doe</itunes:author>
|
|
179
179
|
<itunes:explicit>false</itunes:explicit>
|
|
180
180
|
<image>
|
|
181
181
|
<title>Feed Title</title>
|
|
@@ -211,7 +211,7 @@ exports[`podcast should generate a valid feed with a podcast item 1`] = `
|
|
|
211
211
|
|
|
212
212
|
exports[`podcast should generate a valid feed with a podcast item enclosure integrity 1`] = `
|
|
213
213
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
214
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
214
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
215
215
|
<channel>
|
|
216
216
|
<title>Feed Title</title>
|
|
217
217
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -222,7 +222,7 @@ exports[`podcast should generate a valid feed with a podcast item enclosure inte
|
|
|
222
222
|
<description>This is my personnal feed!</description>
|
|
223
223
|
<language>en</language>
|
|
224
224
|
<ttl>60</ttl>
|
|
225
|
-
<
|
|
225
|
+
<itunes:author>John Doe</itunes:author>
|
|
226
226
|
<itunes:explicit>false</itunes:explicit>
|
|
227
227
|
<image>
|
|
228
228
|
<title>Feed Title</title>
|
|
@@ -402,7 +402,7 @@ exports[`podcast should generate a valid feed with a podcast item enclosure inte
|
|
|
402
402
|
|
|
403
403
|
exports[`podcast should generate a valid feed with a podcast item explicit 1`] = `
|
|
404
404
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
405
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
405
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
406
406
|
<channel>
|
|
407
407
|
<title>Feed Title</title>
|
|
408
408
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -430,7 +430,7 @@ exports[`podcast should generate a valid feed with a podcast item explicit 1`] =
|
|
|
430
430
|
|
|
431
431
|
exports[`podcast should generate a valid feed with a podcast item guid 1`] = `
|
|
432
432
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
433
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
433
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
434
434
|
<channel>
|
|
435
435
|
<title>Feed Title</title>
|
|
436
436
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -441,7 +441,7 @@ exports[`podcast should generate a valid feed with a podcast item guid 1`] = `
|
|
|
441
441
|
<description>This is my personnal feed!</description>
|
|
442
442
|
<language>en</language>
|
|
443
443
|
<ttl>60</ttl>
|
|
444
|
-
<
|
|
444
|
+
<itunes:author>John Doe</itunes:author>
|
|
445
445
|
<itunes:explicit>false</itunes:explicit>
|
|
446
446
|
<image>
|
|
447
447
|
<title>Feed Title</title>
|
|
@@ -505,7 +505,7 @@ exports[`podcast should generate a valid feed with a podcast item guid 1`] = `
|
|
|
505
505
|
|
|
506
506
|
exports[`podcast should generate a valid feed with a podcast item guid enclosure 1`] = `
|
|
507
507
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
508
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
508
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
509
509
|
<channel>
|
|
510
510
|
<title>Feed Title</title>
|
|
511
511
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -516,7 +516,7 @@ exports[`podcast should generate a valid feed with a podcast item guid enclosure
|
|
|
516
516
|
<description>This is my personnal feed!</description>
|
|
517
517
|
<language>en</language>
|
|
518
518
|
<ttl>60</ttl>
|
|
519
|
-
<
|
|
519
|
+
<itunes:author>John Doe</itunes:author>
|
|
520
520
|
<itunes:explicit>false</itunes:explicit>
|
|
521
521
|
<image>
|
|
522
522
|
<title>Feed Title</title>
|
|
@@ -620,7 +620,7 @@ exports[`podcast should generate a valid feed with a podcast item guid enclosure
|
|
|
620
620
|
|
|
621
621
|
exports[`podcast should generate a valid feed with a podcast item images 1`] = `
|
|
622
622
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
623
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
623
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
624
624
|
<channel>
|
|
625
625
|
<title>Feed Title</title>
|
|
626
626
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -631,7 +631,7 @@ exports[`podcast should generate a valid feed with a podcast item images 1`] = `
|
|
|
631
631
|
<description>This is my personnal feed!</description>
|
|
632
632
|
<language>en</language>
|
|
633
633
|
<ttl>60</ttl>
|
|
634
|
-
<
|
|
634
|
+
<itunes:author>John Doe</itunes:author>
|
|
635
635
|
<itunes:explicit>false</itunes:explicit>
|
|
636
636
|
<image>
|
|
637
637
|
<title>Feed Title</title>
|
|
@@ -749,7 +749,7 @@ exports[`podcast should generate a valid feed with a podcast item images 1`] = `
|
|
|
749
749
|
|
|
750
750
|
exports[`podcast should generate a valid feed with a podcast item multiple enclosures 1`] = `
|
|
751
751
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
752
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
752
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
753
753
|
<channel>
|
|
754
754
|
<title>Feed Title</title>
|
|
755
755
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -760,7 +760,7 @@ exports[`podcast should generate a valid feed with a podcast item multiple enclo
|
|
|
760
760
|
<description>This is my personnal feed!</description>
|
|
761
761
|
<language>en</language>
|
|
762
762
|
<ttl>60</ttl>
|
|
763
|
-
<
|
|
763
|
+
<itunes:author>John Doe</itunes:author>
|
|
764
764
|
<itunes:explicit>false</itunes:explicit>
|
|
765
765
|
<image>
|
|
766
766
|
<title>Feed Title</title>
|
|
@@ -907,7 +907,7 @@ exports[`podcast should generate a valid feed with a podcast item multiple enclo
|
|
|
907
907
|
|
|
908
908
|
exports[`podcast should generate a valid feed with a podcast item multiple sources 1`] = `
|
|
909
909
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
910
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
910
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
911
911
|
<channel>
|
|
912
912
|
<title>Feed Title</title>
|
|
913
913
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -918,7 +918,7 @@ exports[`podcast should generate a valid feed with a podcast item multiple sourc
|
|
|
918
918
|
<description>This is my personnal feed!</description>
|
|
919
919
|
<language>en</language>
|
|
920
920
|
<ttl>60</ttl>
|
|
921
|
-
<
|
|
921
|
+
<itunes:author>John Doe</itunes:author>
|
|
922
922
|
<itunes:explicit>false</itunes:explicit>
|
|
923
923
|
<image>
|
|
924
924
|
<title>Feed Title</title>
|
|
@@ -1083,7 +1083,7 @@ exports[`podcast should generate a valid feed with a podcast item multiple sourc
|
|
|
1083
1083
|
|
|
1084
1084
|
exports[`podcast should generate a valid feed with a podcast item person 1`] = `
|
|
1085
1085
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1086
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1086
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1087
1087
|
<channel>
|
|
1088
1088
|
<title>Feed Title</title>
|
|
1089
1089
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1094,7 +1094,7 @@ exports[`podcast should generate a valid feed with a podcast item person 1`] = `
|
|
|
1094
1094
|
<description>This is my personnal feed!</description>
|
|
1095
1095
|
<language>en</language>
|
|
1096
1096
|
<ttl>60</ttl>
|
|
1097
|
-
<
|
|
1097
|
+
<itunes:author>John Doe</itunes:author>
|
|
1098
1098
|
<itunes:explicit>false</itunes:explicit>
|
|
1099
1099
|
<image>
|
|
1100
1100
|
<title>Feed Title</title>
|
|
@@ -1290,7 +1290,7 @@ exports[`podcast should generate a valid feed with a podcast item person 1`] = `
|
|
|
1290
1290
|
|
|
1291
1291
|
exports[`podcast should generate a valid feed with a podcast item socialInteract 1`] = `
|
|
1292
1292
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1293
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1293
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1294
1294
|
<channel>
|
|
1295
1295
|
<title>Feed Title</title>
|
|
1296
1296
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1301,7 +1301,7 @@ exports[`podcast should generate a valid feed with a podcast item socialInteract
|
|
|
1301
1301
|
<description>This is my personnal feed!</description>
|
|
1302
1302
|
<language>en</language>
|
|
1303
1303
|
<ttl>60</ttl>
|
|
1304
|
-
<
|
|
1304
|
+
<itunes:author>John Doe</itunes:author>
|
|
1305
1305
|
<itunes:explicit>false</itunes:explicit>
|
|
1306
1306
|
<image>
|
|
1307
1307
|
<title>Feed Title</title>
|
|
@@ -1352,7 +1352,7 @@ exports[`podcast should generate a valid feed with a podcast item socialInteract
|
|
|
1352
1352
|
|
|
1353
1353
|
exports[`podcast should generate a valid feed with a podcast item stun servers 1`] = `
|
|
1354
1354
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1355
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1355
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1356
1356
|
<channel>
|
|
1357
1357
|
<title>Feed Title</title>
|
|
1358
1358
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1363,7 +1363,7 @@ exports[`podcast should generate a valid feed with a podcast item stun servers 1
|
|
|
1363
1363
|
<description>This is my personnal feed!</description>
|
|
1364
1364
|
<language>en</language>
|
|
1365
1365
|
<ttl>60</ttl>
|
|
1366
|
-
<
|
|
1366
|
+
<itunes:author>John Doe</itunes:author>
|
|
1367
1367
|
<itunes:explicit>false</itunes:explicit>
|
|
1368
1368
|
<image>
|
|
1369
1369
|
<title>Feed Title</title>
|
|
@@ -1575,7 +1575,7 @@ exports[`podcast should generate a valid feed with a podcast item stun servers 1
|
|
|
1575
1575
|
|
|
1576
1576
|
exports[`podcast should generate a valid feed with a podcast item trackers 1`] = `
|
|
1577
1577
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1578
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1578
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1579
1579
|
<channel>
|
|
1580
1580
|
<title>Feed Title</title>
|
|
1581
1581
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1586,7 +1586,7 @@ exports[`podcast should generate a valid feed with a podcast item trackers 1`] =
|
|
|
1586
1586
|
<description>This is my personnal feed!</description>
|
|
1587
1587
|
<language>en</language>
|
|
1588
1588
|
<ttl>60</ttl>
|
|
1589
|
-
<
|
|
1589
|
+
<itunes:author>John Doe</itunes:author>
|
|
1590
1590
|
<itunes:explicit>false</itunes:explicit>
|
|
1591
1591
|
<image>
|
|
1592
1592
|
<title>Feed Title</title>
|
|
@@ -1814,7 +1814,7 @@ exports[`podcast should generate a valid feed with a podcast item trackers 1`] =
|
|
|
1814
1814
|
|
|
1815
1815
|
exports[`podcast should generate a valid feed with a podcast item transcript 1`] = `
|
|
1816
1816
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1817
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1817
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1818
1818
|
<channel>
|
|
1819
1819
|
<title>Feed Title</title>
|
|
1820
1820
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1825,7 +1825,7 @@ exports[`podcast should generate a valid feed with a podcast item transcript 1`]
|
|
|
1825
1825
|
<description>This is my personnal feed!</description>
|
|
1826
1826
|
<language>en</language>
|
|
1827
1827
|
<ttl>60</ttl>
|
|
1828
|
-
<
|
|
1828
|
+
<itunes:author>John Doe</itunes:author>
|
|
1829
1829
|
<itunes:explicit>false</itunes:explicit>
|
|
1830
1830
|
<image>
|
|
1831
1831
|
<title>Feed Title</title>
|
|
@@ -1956,7 +1956,7 @@ exports[`podcast should generate a valid feed with a podcast item transcript 1`]
|
|
|
1956
1956
|
|
|
1957
1957
|
exports[`podcast should generate a valid feed with a podcast item with custom tags 1`] = `
|
|
1958
1958
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
1959
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
1959
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
1960
1960
|
<channel>
|
|
1961
1961
|
<title>Feed Title</title>
|
|
1962
1962
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -1967,7 +1967,7 @@ exports[`podcast should generate a valid feed with a podcast item with custom ta
|
|
|
1967
1967
|
<description>This is my personnal feed!</description>
|
|
1968
1968
|
<language>en</language>
|
|
1969
1969
|
<ttl>60</ttl>
|
|
1970
|
-
<
|
|
1970
|
+
<itunes:author>John Doe</itunes:author>
|
|
1971
1971
|
<itunes:explicit>false</itunes:explicit>
|
|
1972
1972
|
<image>
|
|
1973
1973
|
<title>Feed Title</title>
|
|
@@ -2059,7 +2059,7 @@ exports[`podcast should generate a valid feed with a podcast item with custom ta
|
|
|
2059
2059
|
|
|
2060
2060
|
exports[`podcast should generate a valid feed with a podcast liveItem 1`] = `
|
|
2061
2061
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2062
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2062
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
2063
2063
|
<channel>
|
|
2064
2064
|
<title>Feed Title</title>
|
|
2065
2065
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -2070,7 +2070,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem 1`] = `
|
|
|
2070
2070
|
<description>This is my personnal feed!</description>
|
|
2071
2071
|
<language>en</language>
|
|
2072
2072
|
<ttl>60</ttl>
|
|
2073
|
-
<
|
|
2073
|
+
<itunes:author>John Doe</itunes:author>
|
|
2074
2074
|
<itunes:explicit>false</itunes:explicit>
|
|
2075
2075
|
<image>
|
|
2076
2076
|
<title>Feed Title</title>
|
|
@@ -2332,7 +2332,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem 1`] = `
|
|
|
2332
2332
|
|
|
2333
2333
|
exports[`podcast should generate a valid feed with a podcast liveItem ended 1`] = `
|
|
2334
2334
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2335
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2335
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
2336
2336
|
<channel>
|
|
2337
2337
|
<title>Feed Title</title>
|
|
2338
2338
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -2343,7 +2343,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem ended 1`]
|
|
|
2343
2343
|
<description>This is my personnal feed!</description>
|
|
2344
2344
|
<language>en</language>
|
|
2345
2345
|
<ttl>60</ttl>
|
|
2346
|
-
<
|
|
2346
|
+
<itunes:author>John Doe</itunes:author>
|
|
2347
2347
|
<itunes:explicit>false</itunes:explicit>
|
|
2348
2348
|
<image>
|
|
2349
2349
|
<title>Feed Title</title>
|
|
@@ -2621,7 +2621,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem ended 1`]
|
|
|
2621
2621
|
|
|
2622
2622
|
exports[`podcast should generate a valid feed with a podcast liveItem pending 1`] = `
|
|
2623
2623
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2624
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2624
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\" xmlns:atom=\\"http://www.w3.org/2005/Atom\\">
|
|
2625
2625
|
<channel>
|
|
2626
2626
|
<title>Feed Title</title>
|
|
2627
2627
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -2632,7 +2632,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem pending 1`
|
|
|
2632
2632
|
<description>This is my personnal feed!</description>
|
|
2633
2633
|
<language>en</language>
|
|
2634
2634
|
<ttl>60</ttl>
|
|
2635
|
-
<
|
|
2635
|
+
<itunes:author>John Doe</itunes:author>
|
|
2636
2636
|
<itunes:explicit>false</itunes:explicit>
|
|
2637
2637
|
<image>
|
|
2638
2638
|
<title>Feed Title</title>
|
|
@@ -2876,7 +2876,7 @@ exports[`podcast should generate a valid feed with a podcast liveItem pending 1`
|
|
|
2876
2876
|
|
|
2877
2877
|
exports[`podcast should generate a valid feed with custom channel tags 1`] = `
|
|
2878
2878
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2879
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2879
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\" xmlns:biz=\\"http://example.com/biz-xmlns\\">
|
|
2880
2880
|
<channel>
|
|
2881
2881
|
<title>Feed Title</title>
|
|
2882
2882
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -2900,7 +2900,7 @@ exports[`podcast should generate a valid feed with custom channel tags 1`] = `
|
|
|
2900
2900
|
|
|
2901
2901
|
exports[`podcast should generate a valid feed with stun servers 1`] = `
|
|
2902
2902
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2903
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2903
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\">
|
|
2904
2904
|
<channel>
|
|
2905
2905
|
<title>Feed Title</title>
|
|
2906
2906
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
|
@@ -2918,7 +2918,7 @@ exports[`podcast should generate a valid feed with stun servers 1`] = `
|
|
|
2918
2918
|
|
|
2919
2919
|
exports[`podcast should generate a valid feed with trackers 1`] = `
|
|
2920
2920
|
"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
|
2921
|
-
<rss version=\\"2.0\\" xmlns:podcast=\\"https://
|
|
2921
|
+
<rss version=\\"2.0\\" xmlns:podcast=\\"https://podcastindex.org/namespace/1.0\\" xmlns:itunes=\\"http://www.itunes.com/dtds/podcast-1.0.dtd\\" xmlns:dc=\\"http://purl.org/dc/elements/1.1/\\" xmlns:content=\\"http://purl.org/rss/1.0/modules/content/\\">
|
|
2922
2922
|
<channel>
|
|
2923
2923
|
<title>Feed Title</title>
|
|
2924
2924
|
<lastBuildDate>Sat, 13 Jul 2013 23:00:00 GMT</lastBuildDate>
|
package/src/podcast.ts
CHANGED
|
@@ -16,7 +16,7 @@ export default (ins: Feed) => {
|
|
|
16
16
|
rss: {
|
|
17
17
|
_attributes: {
|
|
18
18
|
version: "2.0",
|
|
19
|
-
"xmlns:podcast": "https://
|
|
19
|
+
"xmlns:podcast": "https://podcastindex.org/namespace/1.0",
|
|
20
20
|
"xmlns:itunes": "http://www.itunes.com/dtds/podcast-1.0.dtd",
|
|
21
21
|
"xmlns:dc": "http://purl.org/dc/elements/1.1/",
|
|
22
22
|
"xmlns:content": "http://purl.org/rss/1.0/modules/content/",
|
|
@@ -71,14 +71,7 @@ export default (ins: Feed) => {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
if (options.author && options.author.name) {
|
|
74
|
-
|
|
75
|
-
base.rss.channel["podcast:person"] = {
|
|
76
|
-
_attributes: { href: sanitize(options.author.link) },
|
|
77
|
-
_text: options.author.name
|
|
78
|
-
}
|
|
79
|
-
} else {
|
|
80
|
-
base.rss.channel["podcast:person"] = { _text: options.author.name }
|
|
81
|
-
}
|
|
74
|
+
base.rss.channel["itunes:author"] = { _text: options.author.name }
|
|
82
75
|
}
|
|
83
76
|
|
|
84
77
|
if (options.person) {
|
|
@@ -364,6 +357,10 @@ const makePodcastItemJSON = (entry: PodcastItem) => {
|
|
|
364
357
|
}))
|
|
365
358
|
}
|
|
366
359
|
|
|
360
|
+
if (entry.duration) {
|
|
361
|
+
item["itunes:duration"] = { _text: entry.duration }
|
|
362
|
+
}
|
|
363
|
+
|
|
367
364
|
const defaultEnclosure = entry.media[0]
|
|
368
365
|
|
|
369
366
|
item.enclosure = {
|