open-pod/lib/podcast_feed_web/templates/feed/feed.xml.eex

49 lines
2.4 KiB
Elixir
Raw Normal View History

2020-05-22 22:04:15 +02:00
<?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>http://www.ape-alveare.it/</link>
<language>en-us</language>
<copyright>&#xA9;2022</copyright>
<webMaster>your@email.com (Your Name)</webMaster>
<managingEditor>your@email.com (Your Name)</managingEditor>
<image>
<url>http://www.ape-alveare.it/wp-content/themes/yootheme/cache/2018_logo_Ape_righe_trasparenza-d1aae6b9.png</url>
<title>Ape-Milano-logo</title>
<link>http://www.ape-alveare.it/</link>
</image>
<itunes:owner>
<itunes:name>Ape Milano</itunes:name>
<itunes:email>your@email.com</itunes:email>
</itunes:owner>
<itunes:category text="Education">
<itunes:category text="Higher Education" />
</itunes:category>
<itunes:keywords>separate, by, comma, and, space</itunes:keywords>
<itunes:explicit>no</itunes:explicit>
<itunes:image href="http://www.ape-alveare.it/wp-content/themes/yootheme/cache/2018_logo_Ape_righe_trasparenza-d1aae6b9.png" />
<atom:link href="http://www.ape-alveare.it/podcast.xml" rel="self" type="application/rss+xml" />
<pubDate>Sun, 01 Jan 2012 00:00:00 EST</pubDate>
<title>Verbose title of the podcast</title>
<itunes:author>College, school, or department owning the podcast</itunes:author>
<description>Verbose description of the podcast.</description>
<itunes:summary>Duplicate of above verbose description.</itunes:summary>
<itunes:subtitle>Short description of the podcast - 255 character max.</itunes:subtitle>
<lastBuildDate>Thu, 02 Feb 2012 00:00:00 EST</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>