|
|
@ -14,6 +14,19 @@ import (
|
|
14
|
14
|
feed "github.com/SlyMarbo/rss"
|
|
15
|
15
|
)
|
|
16
|
16
|
|
|
|
17
|
// store posts somewhere (reverse chronical ordering, text file)
|
|
|
18
|
// - title, url, timestamp, via
|
|
|
19
|
// - periodically (or triggered if fetches get new posts, but with a delay?)
|
|
|
20
|
// periodic fetching
|
|
|
21
|
// - once per hour
|
|
|
22
|
// - at most n connections at a time
|
|
|
23
|
// web frontend
|
|
|
24
|
// - simple list with links
|
|
|
25
|
// - filterable with query params
|
|
|
26
|
// - support "live" search if i want to be fancy (not right now)
|
|
|
27
|
// - support json and edn output (and transit?)
|
|
|
28
|
// test (see feeds_test.go)
|
|
|
29
|
|
|
17
|
30
|
func main() {
|
|
18
|
31
|
feeds, err := ReadConfig("config.txt")
|
|
19
|
32
|
if err != nil {
|