+
Feed will be {{ demoFeedUrl }}
+
+
Warning: Most podcast apps will require the RSS feed URL is using HTTPS
+
Warning: 1 or more of your episodes do not have a Pub Date. Some podcast apps require this.
+
Note: RSS feed URLs are not authenticated
Close RSS Feed
Open RSS Feed
@@ -85,6 +89,15 @@ export default {
},
demoFeedUrl() {
return `${window.origin}/feed/${this.newFeedSlug}`
+ },
+ isHttp() {
+ return window.origin.startsWith('http://')
+ },
+ episodes() {
+ return this.media.episodes || []
+ },
+ hasEpisodesWithoutPubDate() {
+ return this.episodes.some((ep) => !ep.pubDate)
}
},
methods: {
diff --git a/client/pages/item/_id/index.vue b/client/pages/item/_id/index.vue
index 473e32d8..1097de37 100644
--- a/client/pages/item/_id/index.vue
+++ b/client/pages/item/_id/index.vue
@@ -383,7 +383,8 @@ export default {
return this.$store.getters['user/getUserCanDownload']
},
showRssFeedBtn() {
- if (!this.showExperimentalFeatures) return false
+ if (!this.rssFeedUrl && !this.podcastEpisodes.length) return false // Cannot open RSS feed with no episodes
+
// If rss feed is open then show feed url to users otherwise just show to admins
return this.isPodcast && (this.userIsAdminOrUp || this.rssFeedUrl)
}