1 {% extends
"base.html" %}
10 {% block mainmenu %}{{
"/publisher/"|main_menu }}{% endblock %}
11 {% block sectionmenu %}{{
"/publisher/podcast/"|section_menu:podcast.title }}{% endblock %}
13 {% block title %}{{ podcast.title|default:
"Unnamed Podcast"|striptags }}{% endblock %}
16 {% if timeline_data %}
17 {{ timeline_data|timeline }}
22 {% if podcast.logo_url %}
23 <div id=
"podcastlogo">{{ podcast|podcast_logo_big }}
</div>
26 <h1>{% if podcast.title %}{{ podcast.title|striptags }}{% else %}{% trans
"Unnamed Podcast" %}{%endif%}
<small>{% trans
"Publisher Pages" %}
</small></h1>
27 <small class=
"description">
28 {% if podcast.author %}{% trans
"by" %}
29 {{ podcast.author|striptags }}
31 {% if podcast.twitter %}
32 <a href=
"https://twitter.com/{{ podcast.twitter|striptags }}"><i class=
"icon-twitter"></i></a>
34 <a href=
"{{podcast.url}}" title=
"{% trans "Feed
" %}">
35 <i class=
"icon-rss"></i>
37 {% if podcast.link %}
·
38 <a href=
"{{podcast.link}}" title=
"{% trans "Website
" %}">
39 <i class=
"icon-external-link"></i>
42 {% if podcast.subscriber_count %}
·
43 {{ podcast.subscriber_count }} {% trans
"subscribers" %}
47 <div class=
"description">
48 {% blocktrans with podcast.title as ptitle %}This is the publisher page of
<strong>{{ ptitle }}
</strong>. You can see some stats and provide additional data for the podcast page.{% endblocktrans %}
49 <a class=
"btn btn-default" href=
"{% podcast_link_target podcast %}">{% trans
"Go to Podcast Page" %}
</a>
56 <p>{% trans
"The podcast information is regularly retrieved from the podcast feed" %}
</p>
57 <pre><a href=
"{{ podcast.url }}">{{ podcast.url }}
</a></pre>
59 <h3>{% trans
"Timing" %}
</h3>
61 <li>{% trans
"Last update:" %} {{ podcast.last_update|naturaltime }}
</li>
62 <li>{% trans
"Update interval:" %} {{ podcast.update_interval|hours_to_str }}
</li>
63 <li>{% trans
"Next update:" %} {{ podcast.next_update|naturaltime }}
</li>
66 <form class=
"form-inline" action=
"{% podcast_link_target podcast "podcast-publisher-update
" %}" method=
"post">
68 <button class=
"btn btn-default" type=
"submit">{% trans
"Update now" %}
</button>
72 <h2>Additional Data
</h2>
74 <form class=
"form-horizontal" action=
"{% podcast_link_target podcast "podcast-publisher-save
" %}" method=
"post">
77 <div class=
"form-group">
78 <label class=
"col-lg-2 control-label" for=
"inputTwitter">
79 <i class=
"icon-twitter"></i> {% trans
"Twitter" %}
82 <div class=
"input-group col-lg-10">
83 <span class=
"input-group-addon">@
</span>
84 <input type=
"text" class=
"form-control" id=
"inputTwitter" name=
"twitter" placeholder=
"username" value=
"{{ podcast.twitter }}">
89 <div class=
"form-group">
90 <div class=
"col-lg-offset-2 col-lg-10">
91 <button type=
"submit" class=
"btn btn-default">{% trans
"Save" %}
</button>
97 <h2>{% trans
"Feed Check" %}
</h2>
99 <div class=
"panel-group" id=
"accordion">
100 <div class=
"panel panel-default">
101 <div class=
"panel-heading">
102 <h4 class=
"panel-title">
103 <a class=
"accordion-toggle" data-toggle=
"collapse" data-parent=
"#accordion" href=
"#collapseFlattr">
104 <i class=
"icon-check{% if not podcast.flattr_url %}-empty{% endif %}"></i>
110 <div id=
"collapseFlattr" class=
"panel-collapse collapse in">
111 <div class=
"panel-body">
113 {% blocktrans with site.domain as sitename %}{{ sitename }} supports
<a href=
"https://flattr.com/">Flattr
</a>. When you provide
<a href=
"http://developers.flattr.net/feed/">payment URLs
</a> in your podcast feed, your listeners can support you financially by flattring your content.{% endblocktrans %}
115 {% if podcast.flattr_url %}
116 <div class=
"alert alert-success">
117 {% blocktrans %} We discovered payment URLs in your pdocast feed. Your listeners can automatically flattr your content!{% endblocktrans %}
120 <div class=
"alert alert-warning">
121 {% blocktrans %}We did not find
<a href=
"http://developers.flattr.net/feed/">payment URLs
</a> in your podcast feed. Add them so your listeners can support you!
</a>{% endblocktrans %}
128 <div class=
"panel panel-default">
129 <div class=
"panel-heading">
130 <h4 class=
"panel-title">
131 <a class=
"accordion-toggle" data-toggle=
"collapse" data-parent=
"#accordion-check" href=
"#collapsePubSub">
132 <i class=
"icon-check{% if not pubsubscription %}-empty{% endif %}"></i>
133 {% trans
"PubSubHubbub" %}
139 <div id=
"collapsePubSub" class=
"panel-collapse collapse">
140 <div class=
"panel-body">
142 {% blocktrans with site.domain as sitename %}If you publish your podcast feed through a
<a href=
"https://code.google.com/p/pubsubhubbub/">PubSubHubbu
</a> hub, {{ sitename }} can immediatelly update your podcast when a new episode is released.{% endblocktrans %}
144 {% if pubsubscription and pubsubscription.mode == 'subscribe' %}
145 {% if pubsubscription.verified %}
146 <div class=
"alert alert-success">
147 {% blocktrans with podcast.hub as hub %}Your podcast is published through
<a href=
"{{ hub }}">{{ hub }}
</a> and should update immediatelly for each new episode.{% endblocktrans %}
150 <div class=
"alert alert-warning">
151 {% blocktrans with podcast.hub as hub %}Your podcast is published through
<a href=
"{{ hub }}">{{ hub }}
</a> but our subscription has not yet been verified.{% endblocktrans %}
155 <div class=
"alert alert-warning">
156 {% blocktrans %}We did not find a hub in your podcast feed. Your feed is updated regularly, but there might be some delay until a new episode shows up on {{ sitename }}.{% endblocktrans %}
163 <div class=
"panel panel-default">
164 <div class=
"panel-heading">
165 <h4 class=
"panel-title">
166 <a class=
"accordion-toggle" data-toggle=
"collapse" data-parent=
"#accordion-check" href=
"#collapseLicense">
167 <i class=
"icon-check{% if not podcast.license %}-empty{% endif %}"></i>
168 {% trans
"License Information" %}
173 <div id=
"collapseLicense" class=
"panel-collapse collapse">
174 <div class=
"panel-body">
176 {% blocktrans with site.domain as sitename %}You should include license information in your feed so that users and {{ sitename }} can know, under which conditions your content can be used.{% endblocktrans %}
178 {% if podcast.license %}
179 <div class=
"alert alert-success">
180 {% blocktrans with podcast.license as license %}We found the following license in your podcast:
<a href=
"{{ license }}">{{ license }}
</a>{% endblocktrans %}
183 <div class=
"alert alert-warning">
184 {% blocktrans %}We did not find a license in your podcast feed. Refer to
<a href=
"https://github.com/gpodder/podcast-feed-best-practice/blob/master/podcast-feed-best-practice.md#license"> gPodder Podcast Feed Best Practice
</a> on how to include license information.{% endblocktrans %}
195 <p>View and edit
<a href=
"{% podcast_link_target podcast "podcast-publisher-episodes
" %}">episode
</a> data.
</p>
198 <h2>{% trans
"Link" %}
</h2>
199 <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>
200 <textarea style=
"width: 100%;" rows=
"2"><a href=
"http://{{ site.domain }}{% url "subscribe-by-url
" %}?url={{ feedurl_quoted }}"><img src=
"http://{{ site.domain }}{% static "author_subscribe.png
" %}" /></a></textarea>
201 <p><a href=
"http://{{ site.domain }}{% url "subscribe-by-url
" %}?url={{ feedurl_quoted }}"><img src=
"http://{{ site.domain }}{% static "author_subscribe.png
" %}" /></a></p>
206 <a href=
"{% podcast_group_link_target group "group-publisher
" %}">{% trans
"Show Group Stats" %}
</a>
209 {% if timeline_data %}
210 <h3>Listener Timeline
</h3>
211 <div id=
"chart_div" style=
"width: 700px; height: 240px;"></div>
215 {% if subscriber_data %}
216 <h3>Subscriptions
</h3>
217 <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>
218 {{ subscriber_data|bar_chart }}
224 {% trans
"This diagram shows which parts of the podcast's episodes are listened the most by users." %}
225 {% trans
"Red parts are often skipped, green parts never." %}
227 {{ heatmap|episode_heatmap_visualization }}