mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
use rdf description
This commit is contained in:
parent
f8455236dc
commit
e54df07a40
@ -42,7 +42,7 @@ func ParseRDF(r io.Reader) (*Feed, error) {
|
|||||||
URL: srcitem.Link,
|
URL: srcitem.Link,
|
||||||
Date: dateParse(srcitem.DublinCoreDate),
|
Date: dateParse(srcitem.DublinCoreDate),
|
||||||
Title: srcitem.Title,
|
Title: srcitem.Title,
|
||||||
Content: srcitem.ContentEncoded,
|
Content: firstNonEmpty(srcitem.ContentEncoded, srcitem.Description),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return dstfeed, nil
|
return dstfeed, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user