Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts a3309148bc
Add filter web UI 2019-03-10 19:47:01 -04:00
1 changed files with 1 additions and 2 deletions

View File

@ -81,7 +81,6 @@ defmodule Frenzy.UpdateFeeds do
feed = Repo.preload(feed, :items)
Enum.map(rss.items, fn entry ->
# todo: use Repo.exists for this
if !Enum.any?(feed.items, fn item -> item.guid == entry.id end) do
create_item(feed, entry)
end
@ -101,7 +100,7 @@ defmodule Frenzy.UpdateFeeds do
{:err, reason} ->
Logger.warn("Unable to fetch article for #{url}: #{reason}")
entry.description
entry.content || entry.summary
end
changeset =