Files @ 956f8c6fdaad
Branch filter:

Location: website/conservancy/podjango/templates/podjango/feed_links.inc.html

bsturmfels
podjango: Add "Podcast" model to support multiple podcasts

Each Cast (episode) can belong to one or more Podcast, allowing episodes to be
shared between podcasts. This enables us introductory episodes to be delivered
in their own feed, but also included in the main "The Corresponding Source"
feed.

This required adding an additional `podcast_slug` argument to most views. The
date archive views were dropped because they're not linked to from anywhere.

Added a `podcasts` view as an index of all available Podcasts.
1
2
3
4
5
6
7
8
{% load static %}

<a href="{% url 'podjango:feed-ogg' podcast_slug=podcast.slug %}" class="feedlink">
  <img src="{% static 'podjango/img/cast/rss-audioogg.png' %}" alt="[Ogg/Vorbis Audio RSS]"/>
</a>
<a href="{% url 'podjango:feed-mp3' podcast_slug=podcast.slug %}" class="feedlink">
  <img src="{% static 'podjango/img/cast/rss-audiomp3.png' %}" alt="[MP3 Audio RSS]"/>
</a>