Skip to main content

Publish your feed items to twitter

Project description

Feed2twitter updates a twitter account from a xml feed. It’s a free alternative to services like Twitterfeed.

To install feed2twitter:

  1. install python-twitter: http://code.google.com/p/python-twitter/

  1. install feedparser: http://www.feedparser.org/

Install it with: python setup.py install

Running:

  • 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 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

feed2twitter-0.6.6.tar.gz (17.4 kB view details)

Uploaded Source

Built Distributions

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

feed2twitter-0.6.6-py2.5.egg (27.8 kB view details)

Uploaded Egg

feed2twitter-0.6.6-py2.4.egg (27.9 kB view details)

Uploaded Egg

File details

Details for the file feed2twitter-0.6.6.tar.gz.

File metadata

  • Download URL: feed2twitter-0.6.6.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for feed2twitter-0.6.6.tar.gz
Algorithm Hash digest
SHA256 8908d29bfc211cd88efa6184a675d994ab4fce54b8aa820bce5d0b7e9e2f2805
MD5 26394298caef351fd1d8921fe8358cab
BLAKE2b-256 0c047b36e4cc38ecd1f1d40651c54589cde74ab8556935005333d5b41e311a6f

See more details on using hashes here.

File details

Details for the file feed2twitter-0.6.6-py2.5.egg.

File metadata

File hashes

Hashes for feed2twitter-0.6.6-py2.5.egg
Algorithm Hash digest
SHA256 a79e8a8eef549e21ccbfe1b29f2c40423f7ab11ddd79fa9d509ac0048e293a7b
MD5 37b54cc9e24e46ebb73329807d859aa7
BLAKE2b-256 01460317e43921ccb9a8ef96a001ab873a8281faf3a68f58349a43a8218eb2a7

See more details on using hashes here.

File details

Details for the file feed2twitter-0.6.6-py2.4.egg.

File metadata

File hashes

Hashes for feed2twitter-0.6.6-py2.4.egg
Algorithm Hash digest
SHA256 98fed8bedb5287c6053b13a0b862fe87556abf45b4fe9a94a8b6d2bf7a749f55
MD5 a8caccdd1ad88a1fa7cd33f33b917816
BLAKE2b-256 93069ac0c9c41066d3acc9c6b915b59fdf5c2772f444a37345e621ce4273ce81

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