1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?xml version="1.0" encoding="utf-8"?>
- <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:itunesu="http://www.itunesu.com/feed" version="2.0">
- <channel>
- <link><%= @podcast.link %></link>
- <language><%= @podcast.language %></language>
- <copyright>©2022</copyright>
- <webMaster><%= @podcast.webmaster %></webMaster>
- <managingEditor><%= @podcast.webmaster %></managingEditor>
- <image>
- <url><%= @podcast.image.url %></url>
- <title><%= @podcast.image.title %></title>
- <link><%= @podcast.image.link %></link>
- </image>
- <itunes:owner>
- <itunes:name><%= @podcast.owner.name %></itunes:name>
- <itunes:email><%= @podcast.owner.email %></itunes:email>
- </itunes:owner>
- <itunes:category text="<%= @podcast.category %>">
- <itunes:category text="<%= @podcast.category %>" />
- </itunes:category>
- <itunes:keywords><%= "FIXME!!!" %></itunes:keywords>
- <itunes:explicit><%= @podcast.explicit %></itunes:explicit>
- <itunes:image href="<%= @podcast.image.url %>" />
- <atom:link href="http://www.ape-alveare.it/podcast.xml" rel="self" type="application/rss+xml" />
- <pubDate><%= @podcast.pubDate |> Calendar.DateTime.Format.rfc2822 %></pubDate>
- <title><%= @podcast.title %></title>
- <itunes:author>College, school, or department owning the podcast</itunes:author>
- <description><%= @podcast.description %></description>
- <itunes:summary><%= @podcast.description %></itunes:summary>
- <itunes:subtitle><%= @podcast.description %></itunes:subtitle>
- <lastBuildDate><%= @podcast.pubDate |> Calendar.DateTime.Format.rfc2822 %></lastBuildDate>
- <%= for item <- @items do %>
- <item>
- <title><%= item.title %></title>
- <link><%= item.link %></link>
- <pubDate><%= item.pubDate |> Calendar.DateTime.Format.rfc2822 %></pubDate>
- <description><%= item.description %></description>
- <enclosure url="<%= item.link %>" length="<%= item.length %>" type="audio/mpeg"/>
- <guid><%= item.link %></guid>
- <itunes:duration><%= item.length |> format_length %></itunes:duration>
- <itunes:summary><%= item.summary %></itunes:summary>
- <itunes:keywords><%= item.keywords %></itunes:keywords>
- <itunes:explicit><%= item.explicit %></itunes:explicit>
- </item>
- <% end %>
- </channel>
- </rss>
|