sloonz / maildir-feed

Daemon which put RSS feeds into a maildir
ISC License
12 stars 3 forks source link

Add support for YAML config #7

Closed vlevit closed 9 years ago

vlevit commented 9 years ago

YAML configs are better suited for humans than JSON. Also YAML support comments. In this pull request we first try to read feeds.yaml, and if that fails fallback to feeds.json.

I'm sorry if the code in PR looks very silly (it's my first lines of code in Go).

sloonz commented 9 years ago

Merged, thanks for your contribution.

FYI however, I do not plan to maintain maildir-feed anymore (except accepting external pull requests), since https://github.com/sloonz/ua does the job better. I think I should put a notice in the README file of this project.