The rss2irc package
rss2irc is an IRC bot that polls an RSS or Atom feed and announces updates to an IRC channel, with options for customizing output and behavior. It aims to be an easy-to-use, reliable, well-behaved bot.
Usage: rss2irc FEEDURL [BOTNAME@IRCSERVER/#CHANNEL] [OPTS]
For example, to announce Hackage uploads (like hackagebot):
$ rss2irc http://hackage.haskell.org/packages/archive/recent.rss mybot@irc.freenode.org/#haskell
1.0 (2013215)
New: * more robust item detection and duplicate announcement protection, with simpler options * easier irc address syntax, drop -p/--port option * can poll urls with semicolon parameter separator (eg darcsweb's) * can poll https feeds * can poll from stdin (-) * can poll a file containing multiple copies of a feed (eg for testing) * can announce item urls containing percent * --cache-control option sets a HTTP Cache-Control header * --use-actions announces with CTCP ACTIONs (like the /me command)
Fixed:
updated for GHC 7.6 & current libs * initialises http properly on microsoft windows * builds threaded and optimised by default * thread and error handling is more robust, eg don't ignore exceptions in the irc writer thread * no longer adds stray upload: to IRC messages * renamed --dupe-descriptions to --allow-duplicates * dropped --debug flag * new item detection and announcing is more robust * announcements on console are clearer * a simulated irc connection is not logged unless --debug-irc is used
Properties
| Versions | 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 1.0, 1.0.1, 1.0.2, 1.0.3 |
|---|---|
| Dependencies | base (4.*), bytestring, cabal-file-th, cmdargs, containers, deepseq, feed (≥0.3.8 & <0.4), http-conduit (1.8.*), http-types (≥0.6.4 & <0.9), io-storage (0.3.*), irc (0.5.*), network (2.4.*), old-locale, parsec, regexpr (0.5.*), safe (≥0.2 & <0.4), split (0.2.*), text (0.11.*), time (≥1.1 & <1.5), transformers (≥0.2 & <0.4), utf8-string |
| License | BSD3 |
| Author | Don Stewart <dons@galois.com>, Simon Michael <simon@joyful.com> |
| Maintainer | Simon Michael <simon@joyful.com> |
| Stability | beta |
| Category | IRC |
| Home page | http://hackage.haskell.org/package/rss2irc |
| Source repository | darcs get http://joyful.com/repos/rss2irc |
| Executables | rss2irc |
| Upload date | Fri Feb 15 20:01:38 UTC 2013 |
| Uploaded by | SimonMichael |
| Distributions | Debian: 1.0.3 |
Downloads
- rss2irc-1.0.tar.gz (Cabal source package)
- package description (included in the package)