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.

Source Distribution

feed2mb-0.9.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

feed2mb-0.9.1-py2.6.egg (34.6 kB view details)

Uploaded Egg

feed2mb-0.9.1-py2.5.egg (34.6 kB view details)

Uploaded Egg

File details

Details for the file feed2mb-0.9.1.tar.gz.

File metadata

  • Download URL: feed2mb-0.9.1.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for feed2mb-0.9.1.tar.gz
Algorithm Hash digest
SHA256 168fafe7bbfd29f617e7c61b8da7b438182a6b32a9f8b0104df9ab8e00ecbe05
MD5 4836f1dc1002a83cf5baf7937ca60e69
BLAKE2b-256 6da234dc75b030addef809e38b9def8b05b41939a6e3a9ee3c995433ceb9ecc6

See more details on using hashes here.

File details

Details for the file feed2mb-0.9.1-py2.6.egg.

File metadata

  • Download URL: feed2mb-0.9.1-py2.6.egg
  • Upload date:
  • Size: 34.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for feed2mb-0.9.1-py2.6.egg
Algorithm Hash digest
SHA256 2c8bb6c1c0f8418c51a8c765d8b7404734c9d0b3d5dad4caae4d444ada76973f
MD5 ee9ac11a466de9d61bf7ca95ffb7ca26
BLAKE2b-256 7d12429bad015766f63b83a60f4dd37118bc52843f8d2d8becae8aeb17a49171

See more details on using hashes here.

File details

Details for the file feed2mb-0.9.1-py2.5.egg.

File metadata

  • Download URL: feed2mb-0.9.1-py2.5.egg
  • Upload date:
  • Size: 34.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for feed2mb-0.9.1-py2.5.egg
Algorithm Hash digest
SHA256 b269227ad7ea426a428f6d843dcb2b5eb9d956b658f67bf6de411a1aec2711fc
MD5 883111ce108cfc035f1e0286463f140c
BLAKE2b-256 2ec25f1a4214969a3b9a57a0fea666de772c2d59cf698d328d4062ff3701755b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page