mail based rss feed aggregator
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

reverse order that fetcher publishes feed items in; so they show up in the order they were posted

ollie ad9dfcca 8258ea7e

+5 -2
+1 -1
README.md
··· 24 24 - [x] (pub-sub) send feeds to user actors 25 25 - [x] incremental timeouts on failure 26 26 - [ ] test that 27 - - [ ] make sure they get published in the order they were posted in 27 + - [x] make sure they get published in the order they were posted in 28 28 - [x] `sender_factory`_supervisor 29 29 - [x] `sender` actor per user 30 30 - [x] spawn on startup
+4 -1
src/eater/fetcher.gleam
··· 191 191 192 192 case feed { 193 193 Ok(feed) -> { 194 - list.map(feed.channel.items, fn(item) { 194 + feed.channel.items 195 + // reverse so we publish the oldest items first 196 + |> list.reverse 197 + |> list.map(fn(item) { 195 198 pubsub.feed_update( 196 199 update: rss.FeedUpdate(item, feed.channel.details), 197 200 for: state.feed,