The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

busybird_input_feed - command-line tool to import RSS/Atom feeds into BusyBird

SYNOPSIS

    $ 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'

DESCRIPTION

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.

OPTIONS

-p, --post POST_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.

-l, --level LEVEL

If set, it sets the statuses' levels to the specified LEVEL. LEVEL must be an integer.

-h, --help

Show this message.

AUTHOR

Toshio Ito <toshioito [at] cpan.org>