Clean up the feed and add an example

This commit is contained in:
R Tyler Croy 2021-03-20 15:19:03 -07:00
parent 2b0d3d7aed
commit 96220174af
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,9 @@
# This file contains an array of the podcast picks
---
picks:
-
- title: 'Versteisch du Schwiizerdütsch?'
description: |
German is not one language and speech-to-text programs have trouble with dialects or variants of German. This "Alltags Deutsch" <a href="https://www.dw.com/de/versteisch-du-schwiizerdütsch/l-54542550?maca=de-DKpodcast_alltagsdeutsch_de-2283-xml-mrss">episode</a> introduces the challenges Siri, etc have with understanding Swiss-german.
enclosure:
url: 'https://radiodownloaddw-a.akamaihd.net/Events/podcasts/de/2283_DKpodcast_alltagsdeutsch_de/0F310235_2-podcast-2283-54542550.mp3'
type: 'audio/mp3'

View File

@ -10,7 +10,15 @@ layout:
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<ttl>120</ttl>
{% for episode in site.podcast.picks %}
{% for e in site.data.podcast.picks %}
<item>
<title>{{e.title}}</title>
<description>
{{e.description | xml_escape}}
</description>
<enclosure url="{{e.enclosure.url}}"
type="{{e.enclosure.type}}"/>
</item>
{% endfor %}
</channel>
</rss>