mirror of
https://github.com/nkanaev/yarr.git
synced 2025-11-07 09:59:38 +00:00
remove feed hacks from storage
This commit is contained in:
@@ -46,7 +46,7 @@ func ParseJSON(data io.Reader) (*Feed, error) {
|
||||
}
|
||||
for _, srcitem := range srcfeed.Items {
|
||||
dstfeed.Items = append(dstfeed.Items, Item{
|
||||
GUID: srcitem.ID,
|
||||
GUID: firstNonEmpty(srcitem.ID, srcitem.URL),
|
||||
Date: dateParse(firstNonEmpty(srcitem.DatePublished, srcitem.DateModified)),
|
||||
URL: srcitem.URL,
|
||||
Title: srcitem.Title,
|
||||
|
||||
Reference in New Issue
Block a user