Fired 'new-item' if 'title' has changed
ga2mer opened this issue · comments
Nikita Savyolov commented
If title has changed, 'new-item' fired.
Why not use 'guid' in RSS or 'id' in Atom if exists?
Like:
return _.find( feed.items, item.guid || item.id ? {
[ item.guid ? 'guid' : 'id' ]: item.guid || item.id
} : {
link: item.link,
title: item.title
} );
Filipe Deschamps commented
@ga2mer awesome!
The logic seems fuzzy, would you mind to make a PR implementing it with a more stepped logic?