~chrisppy/beagles

0ab55f5893ab3cff0128655700bb1a2504f901c5 — Chris Palmer 1 year, 5 months ago a87f6a4
Use GUID if link is missing in items for update
1 files changed, 4 insertions(+), 1 deletions(-)

M db/rss.go
M db/rss.go => db/rss.go +4 -1
@@ 45,7 45,10 @@ func findNewItems(f *model.Feed) ([]*model.Item, error) {
it:
	for _, item := range feed.Items {
		for _, location := range f.Items {
			if item.Link == location {
			switch location {
			case item.Link:
				continue it
			case item.GUID:
				continue it
			}
		}