v2.1.6 Various fixes to RSS feed fields.

This commit is contained in:
Jeremy Gonyea
2020-09-18 15:45:01 -04:00
parent 15e6ac2b84
commit fee2bbc316
7 changed files with 55 additions and 28 deletions

View File

@@ -1,3 +1,15 @@
# v2.1.6
## 09/20/2020
1. [](#new)
* Added podcast episode number to feed.
2. [](#improved)
* Updated News category options
3. [](#bugfix)
* Updated field name to disable page media upload field on channels, series, and episodes.
# v2.1.5
## 01/28/2020

View File

@@ -1,5 +1,5 @@
name: Podcast
version: 2.1.5
version: 2.1.6
description: Creates Podcast page types and related podcast RSS feeds
icon: microphone
author:

View File

@@ -14,7 +14,7 @@ form:
ordering@: 0
title: Podcast Page Content
fields:
uploads:
header.media_order:
unset@: true
header.title:
type: text

View File

@@ -11,19 +11,23 @@ form:
fields:
content:
type: tab
ordering@: 0
title: Podcast
fields:
uploads:
unset@: true
header.title:
ordering@: 0
ordering@: 1
type: text
label: Episode Title
header.subtitle:
ordering@: 1
ordering@: 2
type: text
label: Episode subtitle
header.podcast.episode_number:
ordering@: 3
type: text
label: Episode number
size: x-small
header.media_order:
unset@: true
podcastAudio:
type: tab
title: Podcast Audio

View File

@@ -14,7 +14,7 @@ form:
ordering@: 0
title: Podcast Series Content
fields:
uploads:
header.media_order:
unset@: true
header.title:
type: text

View File

@@ -39,7 +39,14 @@ Kids & Family:
- Kids & Family
Music:
- Music
News & Politics:
News:
- Business News
- Daily News
- Entertainment News
- News Commentary
- Politics
- Sports News
- Tech News
Religion & Spirituality:
- Buddhism
- Christianity

View File

@@ -9,7 +9,7 @@
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>{{ channel.title }}</title>
<link>{{ page.url(true) }}</link>
<link>{{ header.podcast.link }}</link>
<language>{{ channel.header.podcast.channelLanguage }}</language>
<copyright>{{ channel.header.podcast.copyright }}</copyright>
<itunes:subtitle>{{ channel.header.podcast.itunes.subtitle }}</itunes:subtitle>
@@ -30,6 +30,10 @@
{% if episode.header.podcast.audio.meta %}
<item>
<title>{{ episode.title }}</title>
<link>{{ episode.url(true) }}</link>
{% if episode.header.podcast.episode_number %}
<itunes:episode>{{ episode.header.podcast.episode_number }}</itunes:episode>
{% endif %}
<itunes:author>{{ episode.header.podcast.itunes.author }}</itunes:author>
<itunes:subtitle>{{ episdoe.header.podcast.subtitle }}</itunes:subtitle>
<itunes:summary>{{episode.content|striptags|truncate(120, true, " ", "&#x2026;")}}</itunes:summary>