Fix for Issue #3 Typo in Readme. Also fixes the GUID generation

This commit is contained in:
Jeremy Gonyea
2017-07-11 16:17:01 -04:00
parent e15f4cf678
commit 49c6fb0184
5 changed files with 37 additions and 20 deletions

View File

@@ -1,5 +1,19 @@
# v0.9.2
## 07/11/2017
1. [](#new)
2. [](#improved)
* GUID now properly defined
3. [](#bugfix)
* Fixed typo in README file
* Spacing issue on rss feed item tag
* Updated blueprints.yaml to match correct version
* Added sub categories underneath some of the entries in iTunesCategories.yaml
# v0.9.1
## 07/06/2017
1. [](#new)
* Language selection now follows the codes found [here](http://www.loc.gov/standards/iso639-2/php/code_list.php)
2. [](#improved)
@@ -9,6 +23,7 @@
# v0.9.0
## 07/05/2017
1. [](#new)
* Groundwork for calculating episode duration.
* CSS striping added to podcast_archive_list.html.twig partial.

View File

@@ -57,7 +57,7 @@ If a podcast channel is created at at http://www.example.com/mypodcast, then th
A partial is included for use on a podcast channel page. Place the following:
```
{{ include 'partials/podcast_archive_list.html.twig' }}
{% include 'partials/podcast_archive_list.html.twig' %}
```
in a podcast channel page's markdown for a listing of that channel's latest podcasts. Ensure to add the following to the header of the podcast channel:
```
@@ -80,7 +80,5 @@ These should be created as child pages of a podcast channel. Note: Episodes won
- [ID3 integration](http://getid3.sourceforge.net/)
- Better media player integration (playlist?)
- GUID must be a full URL to the episode, not randomly generated
- Fix incorrect <itunes:duration> and partials length calculation
- Add podcast meta field validations as required
- Set podcast meta field validations as required

View File

@@ -1,5 +1,5 @@
name: Podcast
version: 0.1.0
version: 0.9.2
description: Creates a Podcast Content type and podcast RSS feed
icon: microphone
author:

View File

@@ -12,6 +12,7 @@ Business:
- Management &amp; Marketing
- Shopping
Comedy:
- Comedy
Education:
- Educational Technology
- Higher Education
@@ -35,16 +36,18 @@ Health:
- Self-Help
- Sexuality
Kids &amp; Family:
- Kids &amp; Family
Music:
- Music
News &amp; Politics:
Religion &amp; Spirituality:
- Buddhism
- Christianity
- Hinduism
- Islam
- Judaism
- Other
- Spirituality
- Buddhism
- Christianity
- Hinduism
- Islam
- Judaism
- Other
- Spirituality
Science &amp; Medicine:
- Medicine
- Natural Sciences
@@ -64,4 +67,5 @@ Technology:
- Tech News
- Podcasting
- Software How-To
TV &amp; Film:
TV &amp; Film:
- TV &amp; Film

View File

@@ -20,10 +20,10 @@
<itunes:category text="{{ header.podcast.itunes.subcategory }}" />
</itunes:category>
<itunes:explicit>{{ header.podcast.itunes.explicit }}</itunes:explicit>
{% for episode in page.collection %}
{% if episode.header.podcast.audio %}
{% set length = (episode.header.podcast.audio | first).size %}
{% set epImage = (uri.base ~ '/' ~ (episode.header.podcast.itunes.image | first).path) %}
{% for episode in page.collection %}
{% if episode.header.podcast.audio %}
{% set length = (episode.header.podcast.audio | first).size %}
{% set epImage = (uri.base ~ '/' ~ (episode.header.podcast.itunes.image | first).path) %}
<item>
<title>{{ episode.title }}</title>
<itunes:author>{{ episode.header.podcast.itunes.author }}</itunes:author>
@@ -31,12 +31,12 @@
<itunes:summary>{{ episode.summary|striptags }}</itunes:summary>
<itunes:image href ="{{ (uri.base ~ '/' ~ (episode.header.podcast.itunes.image | first).path) }}"/>
<enclosure length="{{ length }}" url="{{ (uri.base ~ '/' ~ (episode.header.podcast.audio | first).path) }}" type="audio/mpeg" />
<guid>{{ episode.header.podcast.guid }}</guid>
<guid>{{ uri.base ~ episode.url }}</guid>
<itunes:duration>{{ ((episode.header.podcast.audio)|first).duration }}</itunes:duration>
<pubDate>{{ (episode.header.publish_date ?: episode.header.date)|date('D, d M Y H:i:s O') }}</pubDate>
</item>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
<atom:link href="{{ uri.base ~ base_url ~ page.route ~ '.rss' }}" rel="self" type="application/rss+xml" />
</channel>
</rss>