Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

feed2twitter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feed2twitter

Publish your feed items to twitter

  • 0.6.6
  • PyPI
  • Socket score

Maintainers
1

============ Feed2Twitter

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/

  2. 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!

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc