RSS feed generator (


See my announcement:


This program generates [RSS 2.0 http:\/\/\/rss-2-0-1-rv-6] 
feeds based on command line arguments.  Use it to create and update feeds
from shell scripts, build scripts, cron jobs, CGIs, or other programs instead
of using an RSS or Atom library.

Commands and args:

new-item: -iFILE (required, or -u): The feed to add this item to
          -oFILE (optional): otherwise, stdout
          -tTitle (required)
          -dDescription (required, or -D, or --pipe-mode)
          --pipe-mode: read description from STDIN
          -l (optional): Item link
          -DFILE: read description from a file
          -uFILE (optional): Update this file, not valid with -i or -o. Same as -iFILE == -oFILE
          --limit (optional): Keep the number of items fixed. Drop the last item when adding a new item. Doesn't compare dates yet. Taken from the front since that's how we add them.
          --limit=NUM (optional): keep only the last NUM items.

new-feed: -oFILE (optional): otherwise, stdout
          -tTitle (required): feed title
          -dDescription (required): feed description
          -l (required): Feed link


See also the patterns directory.

# create an empty feed:
./feed-cli new-feed -tTitleOfFeed -d"Feed Description" -o/tmp/feed.xml  -l

# add an item to that feed 
./feed-cli new-item -t"entry of the day" -d"This is a description of <b>this feed item</b>." -u/tmp/feed.xml  -l

# pipe a command into a feed item
ls -l | ./feed-cli new-item --pipe-mode --pre -t"another entry of the day" -u/tmp/feed.xml  -l