From 7851bc424b7050d999133437935ce267a5f7a907 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sun, 16 Jun 2013 16:34:44 +0200 Subject: [PATCH] add "Feed Checker" to podcast publisher page --- mygpo/publisher/templates/publisher/podcast.html | 112 +++++++++++++++++------ 1 file changed, 82 insertions(+), 30 deletions(-) diff --git a/mygpo/publisher/templates/publisher/podcast.html b/mygpo/publisher/templates/publisher/podcast.html index 55532ece..de4d1c52 100644 --- a/mygpo/publisher/templates/publisher/podcast.html +++ b/mygpo/publisher/templates/publisher/podcast.html @@ -83,43 +83,95 @@ -

{% trans "Flattr" %}

-

- {% blocktrans with site.domain as sitename %}{{ sitename }} supports Flattr. When you provide payment URLs in your podcast feed, your listeners can support you financially by flattring your content.{% endblocktrans %} -

- - {% if podcast.flattr_url %} -
- {% blocktrans %} We discovered payment URLs in your pdocast feed. Your listeners can automatically flattr your content!{% endblocktrans %} -
- {% else %} -
- {% blocktrans %}We did not find payment URLs in your pdocast feed. Add them so your listeners can support you!{% endblocktrans %} -
+
+

{% trans "Feed Check" %}

+
+ + - {% endif %} +
+
+

+ {% blocktrans with site.domain as sitename %}{{ sitename }} supports Flattr. When you provide payment URLs in your podcast feed, your listeners can support you financially by flattring your content.{% endblocktrans %} +

+ {% if podcast.flattr_url %} +
+ {% blocktrans %} We discovered payment URLs in your pdocast feed. Your listeners can automatically flattr your content!{% endblocktrans %} +
+ {% else %} +
+ {% blocktrans %}We did not find payment URLs in your pdocast feed. Add them so your listeners can support you!{% endblocktrans %} +
+ {% endif %} +
+
+ + + -

{% trans "PubSubHubbub" %}

-

- {% blocktrans with site.domain as sitename %}If you publish your podcast feed through a PubSubHubbu hub, {{ sitename }} can immediatelly update your podcast when a new episode is released.{% endblocktrans %} -

+
+
+

+ {% blocktrans with site.domain as sitename %}If you publish your podcast feed through a PubSubHubbu hub, {{ sitename }} can immediatelly update your podcast when a new episode is released.{% endblocktrans %} +

+ {% if pubsubscription and pubsubscription.mode == 'subscribe' %} + {% if pubsubscription.verified %} +
+ {% blocktrans with podcast.hub as hub %}Your podcast is published through {{ hub }} and should update immediatelly for each new episode.{% endblocktrans %} +
+ {% else %} +
+ {% blocktrans with podcast.hub as hub %}Your podcast is published through {{ hub }} but our subscription has not yet been verified.{% endblocktrans %} +
+ {% endif %} + {% else %} +
+ {% 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 %} +
+ {% endif %} +
+
+ - {% if pubsubscription and pubsubscription.mode == 'subscribe' %} - {% if pubsubscription.verified %} -
- {% blocktrans with podcast.hub as hub %}Your podcast is published through {{ hub }} and should update immediatelly for each new episode.{% endblocktrans %} + - {% else %} -
- {% blocktrans with podcast.hub as hub %}Your podcast is published through {{ hub }} but our subscription has not yet been verified.{% endblocktrans %} + + +
+
+

+ {% 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 %} +

+ {% if podcast.license %} +
+ {% blocktrans with podcast.license as license %}We found the following license in your podcast: {{ license }}{% endblocktrans %} +
+ {% else %} +
+ {% blocktrans %}We did not find a license in your podcast feed. Refer to gPodder Podcast Feed Best Practice on how to include license information.{% endblocktrans %} +
+ {% endif %} +
- {% endif %} - {% else %} -
- {% 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 %} + +
- {% endif %} +

Episodes

-- 2.11.4.GIT