A quick and dirty RSS to StatusNet bot
Project description
# rss2sn
Quick and dirty RSS to StatusNet client.
## Usage
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.
## License
See COPYING.
## Authors
## 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rss2sn-1.0.1.tar.gz
.
File metadata
- Download URL: rss2sn-1.0.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae026e664fb70e4b5227e52f4fdd23884a028aef15662ea72f28710d43a6046 |
|
MD5 | 7e726d540071104253d0bf2c5d761e48 |
|
BLAKE2b-256 | 96c60e06c6f0b6a77cc4c37c23ca9e73f1820fb481523db8ffa7d567845db97a |