Skip to main content

Publish your feed items to a microblog

Project description

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!

Project details


Download files

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
feed2mb-0.9.1-py2.5.egg (34.6 kB) Copy SHA256 hash SHA256 Egg 2.5
feed2mb-0.9.1-py2.6.egg (34.6 kB) Copy SHA256 hash SHA256 Egg 2.6
feed2mb-0.9.1.tar.gz (19.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page