Bumped RSS feed limit; fixed ordering (#241)

This commit is contained in:
Kieran
2024-05-15 10:15:00 -07:00
committed by GitHub
parent 2dfdb31aa4
commit d575548226
5 changed files with 23 additions and 4 deletions
@@ -11,7 +11,7 @@ defmodule PinchflatWeb.Podcasts.PodcastController do
def rss_feed(conn, %{"uuid" => uuid}) do
source = Repo.get_by!(Source, uuid: uuid)
url_base = url(conn, ~p"/")
xml = RssFeedBuilder.build(source, limit: 300, url_base: url_base)
xml = RssFeedBuilder.build(source, limit: 2_000, url_base: url_base)
conn
|> put_resp_content_type("application/rss+xml")