1 {% extends
"base.html" %}
9 {% block mainmenu %}{{
"/publisher/"|main_menu }}{% endblock %}
10 {% block sectionmenu %}{{
"/publisher/podcast/"|section_menu:podcast.title }}{% endblock %}
12 {% block title %}{{ podcast.title|default:
"Unnamed Podcast"|striptags }}{% endblock %}
15 {% if timeline_data %}
16 {{ timeline_data|timeline }}
21 {% if podcast.logo_url %}
22 <div id=
"podcastlogo">{{ podcast|podcast_logo_big }}
</div>
25 <h1>{% if podcast.title %}{{ podcast.title|striptags }}{% else %}{% trans
"Unnamed Podcast" %}{%endif%}
<small>{% trans
"Publisher Pages" %}
</small></h1>
26 <small class=
"description">
27 {% if podcast.author %}{% trans
"by" %}
28 {{ podcast.author|striptags }}
30 {% if podcast.twitter %}
31 <a href=
"https://twitter.com/{{ podcast.twitter|striptags }}"><i class=
"icon-twitter"></i></a>
33 <a href=
"{{podcast.url}}" title=
"{% trans "Feed
" %}">
34 <i class=
"icon-rss"></i>
36 {% if podcast.link %}
·
37 <a href=
"{{podcast.link}}" title=
"{% trans "Website
" %}">
38 <i class=
"icon-external-link"></i>
41 {% if podcast.subscriber_count %}
·
42 {{ podcast.subscriber_count }} {% trans
"subscribers" %}
50 <p>{% trans
"The podcast information is regularly retrieved from the podcast feed" %}
</p>
51 <pre><a href=
"{{ podcast.url }}">{{ podcast.url }}
</a></pre>
52 <p>{% trans
"Last update: " %}{{ podcast.last_update|naturaltime }}
</p>
54 <form action=
"{% podcast_link_target podcast "podcast-publisher-update
" %}" method=
"post">
56 <button class=
"btn" type=
"submit">{% trans
"Update now" %}
</button>
59 <h2>Additional Data
</h2>
61 <form class=
"form-horizontal" action=
"{% podcast_link_target podcast "podcast-publisher-save
" %}" method=
"post">
63 <div class=
"control-group">
64 <label class=
"control-label" for=
"inputTwitter">
65 <i class=
"icon-twitter"></i> {% trans
"Twitter" %}
67 <div class=
"controls">
68 <div class=
"input-prepend">
69 <span class=
"add-on">@
</span>
70 <input type=
"text" id=
"inputTwitter" placeholder=
"username" value=
"{{ podcast.twitter }}">
74 <div class=
"control-group">
75 <div class=
"controls">
76 <button type=
"submit" class=
"btn">Save
</button>
82 <p>View and edit
<a href=
"{% podcast_link_target podcast "podcast-publisher-episodes
" %}">episode
</a> data.
</p>
85 <h2>{% trans
"Link" %}
</h2>
86 <p>{% blocktrans with url as sitename %}You can paste this code on your website, so users of {{ sitename }} can directly subscribe to your podcast.{% endblocktrans %}
</p>
87 <textarea style=
"width: 100%;" rows=
"2"><a href=
"http://{{ site.domain }}{% url subscribe-by-url %}?url={{ feedurl_quoted }}"><img src=
"http://{{ site.domain }}/media/author_subscribe.png" /></a></textarea>
88 <p><a href=
"http://{{ site.domain }}{% url subscribe-by-url %}?url={{ feedurl_quoted }}"><img src=
"http://{{ site.domain }}/media/author_subscribe.png" /></a></p>
93 <a href=
"{% podcast_group_link_target group "group-publisher
" %}">{% trans
"Show Group Stats" %}
</a>
96 {% if timeline_data %}
97 <h3>Listener Timeline
</h3>
98 <div id=
"chart_div" style=
"width: 700px; height: 240px;"></div>
102 {% if subscriber_data %}
103 <h3>Subscriptions
</h3>
104 <p>Please note that the chart shows subscriptions per user and device, so a single user subscribing to this podcast on
5 devices acccounts for
5 subscriptions.
</p>
105 {{ subscriber_data|bar_chart }}
111 {% trans
"This diagram shows which parts of the podcast's episodes are listened the most by users." %}
112 {% trans
"Red parts are often skipped, green parts never." %}
114 {{ heatmap|episode_heatmap_visualization }}