comparison gpp/templates/podcast/base.html @ 403:6e425c9b9d16

In support of #161; improve query performance of the feed view; also cache the feed view in urls.py.
author Brian Neal <bgneal@gmail.com>
date Sun, 27 Mar 2011 18:22:48 +0000
parents daa2916f5b34
children
comparison
equal deleted inserted replaced
402:9175392da056 403:6e425c9b9d16
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %} 2 {% load url from future %}
3 {% block custom_head %}
4 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 Podcast" href="{% url 'podcast-feed' %}" />
5 {% endblock %}
3 {% block content %} 6 {% block content %}
4 <h2><a href="{% url 'podcast-main' %}">SurfGuitar101 Podcast</a></h2> 7 <h2><a href="{% url 'podcast-main' %}">SurfGuitar101 Podcast</a></h2>
5 <img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" /> 8 <img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" />
6 <p> 9 <p>
7 Welcome to the <strong>Surfguitar101 Podcast</strong>! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes. 10 Welcome to the <strong>Surfguitar101 Podcast</strong>! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes.
13 <p> 16 <p>
14 In addition to the forum, you can contact us by email at 17 In addition to the forum, you can contact us by email at
15 <a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>. 18 <a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>.
16 </p> 19 </p>
17 <p> 20 <p>
18 Subscribe to the podcast via RSS: <a href="{% url 'podcast.views.feed' %}">Feed</a> 21 <a href="{% url 'podcast-feed' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="RSS Feed" title="RSS Feed" /></a> <a href="{% url 'podcast-feed' %}">Subscribe to the podcast via RSS</a>.
19 </p> 22 </p>
20 <p> 23 <p>
21 <strong>Hey iTunes users!</strong> Here is our <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=284928526">listing in iTunes</a>. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you. 24 <strong>Hey iTunes users!</strong> Here is our <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=284928526">listing in iTunes</a>. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you.
22 </p> 25 </p>
23 <br clear="all" /> 26 <br clear="all" />