mirror of
https://github.com/jgonyea/grav-plugin-podcast.git
synced 2025-12-05 16:00:02 +01:00
v2.1.6 Various fixes to RSS feed fields.
This commit is contained in:
12
CHANGELOG.md
12
CHANGELOG.md
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -14,7 +14,7 @@ form:
|
||||
ordering@: 0
|
||||
title: Podcast Page Content
|
||||
fields:
|
||||
uploads:
|
||||
header.media_order:
|
||||
unset@: true
|
||||
header.title:
|
||||
type: text
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -14,7 +14,7 @@ form:
|
||||
ordering@: 0
|
||||
title: Podcast Series Content
|
||||
fields:
|
||||
uploads:
|
||||
header.media_order:
|
||||
unset@: true
|
||||
header.title:
|
||||
type: text
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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, " ", "…")}}</itunes:summary>
|
||||
|
||||
Reference in New Issue
Block a user