busybird_input_feed - command-line tool to import RSS/Atom feeds into BusyBird
$ busybird_input_feed [URL] [OPTIONS] ## Download a feed and output JSON statuses to STDOUT $ busybird_input_feed 'http://example.com/feed.rss' ## Input a feed file via STDIN and output JSON statuses to STDOUT $ busybird_input_feed < feed.rss ## Download a feed and post statuses to the BusyBird URL $ busybird_input_feed 'http://example.com/feed.rss' -p 'http://localhost:5000/timelines/home/statuses.json'
This script imports a RSS/Atom feed, converts it into BusyBird statuses and outputs the statuses in JSON format.
By default, it reads STDIN for a feed and writes statuses to STDOUT. If URL argument is set, the feed is downloaded from that URL.
URL
If set, the BusyBird statuses are sent to the specified URL by HTTP POST method. Usually, this is the post endpoint of BusyBird. See BusyBird::Manual::WebAPI for detail.
If set, it sets the statuses' levels to the specified LEVEL. LEVEL must be an integer.
LEVEL
Show this message.
Toshio Ito <toshioito [at] cpan.org>
<toshioito [at] cpan.org>
To install BusyBird::Input::Feed, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BusyBird::Input::Feed
CPAN shell
perl -MCPAN -e shell install BusyBird::Input::Feed
For more information on module installation, please visit the detailed CPAN module installation guide.