Tree
- Tree:
70756f22b5cbd722b67cc65df8cee701dee62cea
- Date:
- Message:
- rss: handle valid empty fields Ran into a problem when trying to parse the feed at https://hnrss.org/frontpage. That feed's channel has no pubdate element set; UnmarshalXML errors on timestamp parsing with as it gets an empty string. Reading the spec I found very few fields are actually required. Funnily enough testdata/empty.xml is a valid RSS feed - I even verified using the official RSS validator at https://www.rssboard.org/rss-validator !
.gitignore | commits | blame |
README.md | commits | blame |
atom/ | |
cmd/ | |
go.mod | commits | blame |
go.sum | commits | blame |
internal/ | |
opml/ | |
rss/ | |
web/ |
README.md
## RSS Search RSS feeds and collate a feed. ### Build Run `go run cmd/rss/rss.go` or build `go build cmd/rss/rss.go`