Publish your feed items to twitter
Feed2twitter updates a twitter account from a xml feed. It’s a free alternative to services like Twitterfeed.
To install feed2twitter:
- install python-twitter: http://code.google.com/p/python-twitter/
- install feedparser: http://www.feedparser.org/
Install it with: python setup.py install
- You need to set your feed and your twitter account.
- You need to create a configuration file. You can see a sample with the command feed2twitter -p. It will looks like:
[global] url = http://example.com/rss username = twitter_user password = twitter_password mode = text interval = 01:00 items = 5
The url is the url for the feed that you want to publish, mode can be ‘text’ (140 chars of your post text) or ‘title’ (your post title, with a link). The interval is the interval in which the feed2twitter will publish your last posts. In the sample, feed2twitter will check the provided feed each hour.
Run it with the command feed2twitter. It will update your twitter with your latest posts, in the interval that you have set.
Kudos to Gleicon da Silveira (http://zenmachine.wordpress.com/about/), that give me a idea of the code in a post of his blog.
You can contact me at firstname.lastname@example.org. Have fun!
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|feed2twitter-0.6.6-py2.4.egg (27.9 kB) Copy SHA256 hash SHA256||Egg||2.4|
|feed2twitter-0.6.6-py2.5.egg (27.8 kB) Copy SHA256 hash SHA256||Egg||2.5|
|feed2twitter-0.6.6.tar.gz (17.4 kB) Copy SHA256 hash SHA256||Source||None|