diff --git a/lib/pinchflat_web/controllers/sources/source_html.ex b/lib/pinchflat_web/controllers/sources/source_html.ex index d9673eb..02c42c0 100644 --- a/lib/pinchflat_web/controllers/sources/source_html.ex +++ b/lib/pinchflat_web/controllers/sources/source_html.ex @@ -43,6 +43,10 @@ defmodule PinchflatWeb.Sources.SourceHTML do url(conn, ~p"/sources/#{source.uuid}/feed") <> ".xml" end + def opml_feed_url(conn) do + url(conn, ~p"/podcasts/opml") <> ".xml" + end + def output_path_template_override_placeholders(media_profiles) do media_profiles |> Enum.map(&{&1.id, &1.output_path_template}) diff --git a/lib/pinchflat_web/controllers/sources/source_html/index.html.heex b/lib/pinchflat_web/controllers/sources/source_html/index.html.heex index 7add60d..1742faf 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/index.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/index.html.heex @@ -3,7 +3,7 @@