use rdf description
This commit is contained in:
parent
f8455236dc
commit
e54df07a40
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue