A quick and dirty RSS to StatusNet bot
Quick and dirty RSS to StatusNet client.
You can use it straight from a Git clone, and run it like:
$ cp rss2sn.cfg.sample ~/.rss2sn.cfg $ $EDITOR ~/.rss2sn.cfg $ ./rss2sn.py -a AccountName
You may want to add it to your crontab.
If you prefer, you can use pip to install rss2sn and run it from your site-packages like:
$ python /usr/lib/python/site-packages/rss2sn.py -a AccountName
By using pip install rss2sn you make sure that you get the dependencies installed along with rss2sn.
## How it works
It fetches the RSS feed and checks each item’s pubDate against the local stored value of the last pushed item. If no local value is found, local time is stored, and nothing is posted.
This behavior can be changed by setting bootstrap = True in the feed’s configuration. When bootstrap is set, on missing last item’s date, a one year back date is saved and used as bootstrap “since” date. This way the first run will (most probably) post some notices.
## Get it
Clone it straight from the Git repo:
$ git clone http://git.tenak.net/rss2sn.git
Or grab it from the cheese shop:
$ pip install rss2sn
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash||File type||Python version||Upload date|
|rss2sn-1.0.1.tar.gz (15.8 kB) View hashes||Source||None|