{- | Module : Shakebook.Feed Copyright : Copyright (C) 2020 Daniel Firth Maintainer : Daniel Firth Text -> Text -> [Entry] -> Path b File -> m () buildFeed title baseUrl xs out = do let t = nullFeed baseUrl (TextString title) $ entryUpdated (head xs) case textFeed (t { feedEntries = xs }) of Just a -> writeFile' out $ LT.toStrict a Nothing -> return ()