Sha256: 98918d55936cf984a467346d82287099cae259bee834f9cd6614229fce4a4048

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

<!DOCTYPE html>
<html lang="<%= h(language) %>">
<head>
	<meta charset="utf-8"/>
	<title><%= h(title) %></title>
	<meta name="generator" content="Dropcaster <%= Dropcaster::VERSION%>"/>
	<meta name="keywords" content="<%= keywords.map{|k| h(k)}.join(', ') %>"/>
  <% unless copyright.blank? %>
	<meta name="copyright" content="<%= h(copyright) %>"/>
  <% end %>
  <link rel="canonical" href="<%= h(url) %>"/>
  <link rel="alternate" type="application/rss+xml" title="<%= h(title) %> Podcast Feed" href="<%= h(url) %>">
</head>

<body id="home">
	<h1><%= h(title) %></h1>
	<% unless subtitle.blank? %>
  <h2><%= h(subtitle) %></h2>
  <% end %>
  
  <% unless image_url.blank? %>
  <img src="<%= image_url %>"/>
  <% end %>
  <p><%= h(description) %></p>

  <h1>Episodes</h1>
  <% items.each{|item| %>
    <div class="item" id="<%= h(item.uuid) %>">
      <h1><%= h(item.tag.title || item.file_path.to_s) %></h1>
    <% unless item.tag2.TT3.blank? && item.tag2.TIT3.blank? %>
      <p><%= h(item.tag2.TT3 || item.tag2.TIT3) %></p>
    <% end %>
      <img src="<%= item.image_url %>"/>
      <p>Download: <a href="<%= item.url %>">MP3</a> (<%= humanize_time(item.duration.to_i) %>, <%= humanize_size(item.file_size) %>)</p>
      <p>Published <%= h(item.pub_date.to_formatted_s(:rfc822)) %></p>
    <% unless item.keywords.blank? %>
      <p><%= item.keywords.map{|k| h(k)}.join(',') %></p>
    <% end %>
    </div>
  <% } %>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dropcaster-1.2.0 templates/channel.html.erb
dropcaster-1.1.0 templates/channel.html.erb