The rss2irc package

[Tags: bsd3, program]

This bot polls a single RSS or Atom feed and announces updates to an IRC channel, with options for customizing output and behavior. It aims to be a simple, dependable bot that does its job and creates no problems.

 Usage: rss2irc FEEDURL [BOTNAME@IRCSERVER/#CHANNEL] [OPTS]
 Options:

   -p PORT  --port=PORT                   irc server port (default 6667)
            --ident=STR                   set the bot's identity string (useful for contact info)
            --delay=N                     wait for N minutes before starting (helps avoid mass joins)
   -i N     --interval=N                  polling interval in minutes (default 5)
            --idle=N                      announce only when channel has been idle N minutes (default 0)
   -m N     --max-items=N                 announce at most N items per polling interval (default 5)
   -r N     --recent=N                    announce up to N recent items at startup (default 0)
            --announce=topnew|allnew|top  which items to announce (default: topnew)
            --no-title                    don't show title (title is announced by default, up to 100 chars)
   -a       --author                      show author (up to 50 chars)
   -d       --description                 show description (up to 300 chars)
   -l       --link                        show link URL (up to 200 chars)
   -t       --time                        show timestamp (up to 50 chars)
   -e       --email                       show email addresses (stripped by default)
   -h       --html                        show HTML tags and entities (stripped by default)
            --dupe-descriptions           show identical consecutive descriptions (elided by default)
            --replace="OLD/NEW"           replace OLD with NEW (regexpr patterns)
   -n N     --num-iterations=N            exit after N iterations
   -q       --quiet                       silence normal console output
            --debug                       do not connect to irc (same as no irc argument)
            --debug-irc                   show irc activity
            --debug-feed                  show feed items and polling stats
            --debug-xml                   show feed content
            --debug-http                  show feed fetching progress
 Options:

   -p PORT  --port=PORT          irc server port (default 6667)
            --ident=STR          set the bot's identity string (useful for contact info)
            --delay=N            wait for N seconds before starting (helps avoid mass joins)
   -i N     --interval=N         polling interval in minutes (default 5)
   -r N     --recent=N           announce up to N recent items at startup (default 0)
   -m N     --max-items=N        announce at most N items per polling interval (default 5)
            --no-title           don't show title (title is announced by default)
   -a       --author             show author
   -d       --description        show description
   -l       --link               show link URL
   -t       --time               show timestamp
   -e       --email              show email addresses (these are stripped by default)
   -h       --html               show HTML tags and entities (these are stripped by default)
            --replace="OLD/NEW"  replace OLD with NEW (regexpr patterns)
   -n N     --num-iterations=N   exit after N iterations
   -q       --quiet              silence normal console output
            --debug              do not connect to irc
            --debug-irc          show irc activity
            --debug-feed         show feed items and polling stats
            --debug-xml          show feed content
            --debug-http         show feed fetching progress

For example, to announce Hackage updates:

 rss2irc http://hackage.haskell.org/packages/archive/recent.rss mybot@irc.freenode.org/#haskell

Release notes for 0.4, 20090925:


Properties

Versions0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6
Dependenciesbase (>=3 && <5), extensible-exceptions (==0.1.*), feed (==0.3.*), haskell98, HTTP (>=4000.0.3 && <4000.1), irc (==0.4.*), mtl (==1.1.*), network (==2.2.*), parallel (==1.1.*), regexpr (==0.5.*), split (==0.1.*), strict-concurrency (==0.2.*), tagsoup (==0.6.*), time (==1.1.*)
LicenseBSD3
AuthorDon Stewart <dons@galois.com>, Simon Michael <simon@joyful.com>
MaintainerSimon Michael <simon@joyful.com>
Stabilityexperimental
CategoryNetwork
Home pagehttp://hackage.haskell.org/package/rss2irc
Source repositoryhead: darcs get http://joyful.com/repos/rss2irc
Executablesrss2irc
Upload dateSat Sep 26 23:13:10 UTC 2009
Uploaded bySimonMichael
DistributionsDebian:1.0.6
Downloads955 total (257 in last 30 days)

Downloads

Maintainers' corner

For package maintainers and hackage trustees