|
@@ -1,13 +1,6 @@
|
|
|
defmodule PodcastFeedWeb.FeedController do
|
|
|
use PodcastFeedWeb, :controller
|
|
|
|
|
|
- def apeMilano(conn, _params) do
|
|
|
- %{podcast: podcast, items: items} = PodcastFeed.archive("incontri-a-piano-terra")
|
|
|
- conn
|
|
|
- |> put_resp_content_type("text/xml")
|
|
|
- |> render("feed.xml", podcast: podcast, items: items)
|
|
|
- end
|
|
|
-
|
|
|
def by_identifier(conn, %{"identifier" => identifier}) do
|
|
|
%{podcast: podcast, items: items} = PodcastFeed.archive(identifier)
|
|
|
conn
|