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.5.tar.gz (16.6 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.5-py2.5.egg (24.7 kB view details)

Uploaded Egg

feed2twitter-0.5-py2.4.egg (24.8 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for feed2twitter-0.5.tar.gz
Algorithm Hash digest
SHA256 5149a5dbd43e2a29dd4a124bacab0d55d44af8265b17226a8f0d73044cefe40c
MD5 1bebd03c0181464ba2aa75728c280e36
BLAKE2b-256 ac71169d9b52a3a654a8c213eee437d9d680da6ffe9de44fd03396e8c5ab930a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feed2twitter-0.5-py2.5.egg
Algorithm Hash digest
SHA256 868197c4816fdc62cb128b2b8ca86227dd6c73fbac957dffe8f9d3012cc4b6c7
MD5 b00be17deae6b242f40c050ac505a096
BLAKE2b-256 f0b060f21d9b4d497f6a3c9c29725861f82843461a872925b010d750da9d9743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feed2twitter-0.5-py2.4.egg
Algorithm Hash digest
SHA256 87cc086053cbc42a216c438af547963677ec791efd5aaab6c0b6f7a8f1fd417d
MD5 0445288909cc8619895bd8dd03da4e55
BLAKE2b-256 4215bade930fa6f3ef1581d6db0e236331a8a47598ebfdf6614c935f52d481ad

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