Skip to content
Permalink
Browse files
Added Youtube template for the continuous import plugin
  • Loading branch information
ralsina committed Jul 9, 2017
1 parent 117b7ae commit 32008cb5d2bb0d7b2e4ab28e70856fd5e257d07d
@@ -4,7 +4,7 @@ module = continuous_import

[Documentation]
author = Roberto Alsina
version = 0.1
version = 0.2
website = https://plugins.getnikola.com/continuous_import
description = Seamlessly merge other feeds into your blog

@@ -0,0 +1,27 @@
<div>
<table>
<tr>
<td valign="top">
<img class='img-thumbnail' src="{{ item['book_medium_image_url'] }}">
</td>
<td valign="top">
<div class=panel>
<ul class="list-group">
<li class="list-group-item">
<b>Author:</b> {{ item['author_name'] }}</br>
<li class="list-group-item">
<b>Rating:</b>
{% for i in range(int(item['user_rating'])) %}
<span class="glyphicon glyphicon-star"></span>
{% endfor %}
<li class="list-group-item">
<a href="{{ item['link'] }}">See in goodreads</a>
<li class="list-group-item">
{% if item['user_review'] %}
<h3>Review:</h3>
<p>{{ item['user_review'] }}</p>
</ul>
</div>
</table>
{% endif %}
</div>
@@ -0,0 +1,9 @@
<h2>{{ item['title'] }}</h2>

{{% media url={{ item['media_content'][0]['url'] }} %}}

{% if 'summary_detail' in item %}
<p>
{{ item['summary_detail']['value'] }}
</p>
{% endif %}
@@ -0,0 +1,9 @@
<h2>${item['title']}</h2>

{{% media url=${item['media_content'][0]['url']} %}}

% if 'summary_detail' in item:
<p>
${item['summary_detail']['value']}
</p>
% endif

0 comments on commit 32008cb

Please sign in to comment.