Publish your feed items to a microblog
Feed2mb updates a microblog account from a xml feed. It’s a free alternative to services like Twitterfeed.
To install feed2mb:
- install tweepy: http://github.com/joshthecoder/tweepy
- install feedparser: http://www.feedparser.org/
Install it with: python setup.py install or download and instal it with easy-install: easy-install feed2mb
- You need to set your feed and your microblog account.
- You need to create a configuration file. You can see a sample with the command feed2mbx -p. It will looks like:
[global] interval = 00:05 consumer_key = consumer_key consumer_secret = consumer_secret [twitter] url = http://example.com/rss oauth_token = oauth_token oauth_secret = oauth_secret mode = title items = 5 shortener = is.gd service = twitter
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 should be in the global section and is the interval in which the feed2mb will publish your last posts. In the sample, feed2mb will check the provided feed each hour. The shortener will let you choose the shortener service, and the options now are is.hd, migre.me and tinyurl. The default will be tinyurl.
Since the oauthcapylpse, you can’t use http basic auth to update itens on twitter. You should register a application on http://dev.twitter.com/ and get yout Oauth 1.0a access tokens.
You can add how many sections for services as you like.
Run it with the command feed2mb. It will update your microblog with your latest posts, in the interval that you have set.
You can contact me at firstname.lastname@example.org. Have fun!
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size feed2mb-0.9.1-py2.5.egg (34.6 kB)||File type Egg||Python version 2.5||Upload date||Hashes View|
|Filename, size feed2mb-0.9.1-py2.6.egg (34.6 kB)||File type Egg||Python version 2.6||Upload date||Hashes View|
|Filename, size feed2mb-0.9.1.tar.gz (19.6 kB)||File type Source||Python version None||Upload date||Hashes View|