skip to navigation
skip to content

feed2mb 0.9.1

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:

  1. install tweepy: http://github.com/joshthecoder/tweepy
  1. install feedparser: http://www.feedparser.org/

Install it with: python setup.py install or download and instal it with easy-install: easy-install feed2mb

Running:

  • 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 walter@waltercruz.com. Have fun!

 
File Type Py Version Uploaded on Size
feed2mb-0.9.1-py2.5.egg (md5) Python Egg 2.5 2010-10-19 33KB
feed2mb-0.9.1-py2.6.egg (md5) Python Egg 2.6 2010-10-19 33KB
feed2mb-0.9.1.tar.gz (md5) Source 2010-10-19 19KB