/ Published in: Haskell
HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs. In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice). The feed parsing and filtering is done in haskell using the Text.Feed and Text.Regex libraries.
Note: if you decide to use this in real life, be sure to respect your feed's time to live (ttl) in your crontab.
Note: if you decide to use this in real life, be sure to respect your feed's time to live (ttl) in your crontab.