Parse rss feed and tweet new posts to Twitter
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs add cache_limit parameter in doc Jan 6, 2017
feed2tweet user-define the length of the cache queue. fixes #43 Jan 6, 2017
scripts
.gitignore add ignore on .bck files Dec 30, 2016
AUTHORS add AUTHORS Jan 5, 2016
CHANGELOG improve description of influxdb support announcement Jan 4, 2017
LICENSE update copyright May 2, 2016
README.md bump version Jan 6, 2017
feed2tweet.py
hashtags.txt rename special hashtags list to a shorter name Dec 16, 2016
requirements.txt bump persistentlist version Dec 9, 2016
setup.py bump version Jan 6, 2017

README.md

Feed2tweet

Feed2tweet automatically parses rss feeds, identifies new posts and posts them on Twitter. For the full documentation, read it online.

Quick Install

  • Install Feed2tweet from PyPI

    # pip3 install feed2tweet
    
  • Install Feed2tweet from sources (see the installation guide for full details) Installation Guide

      # tar zxvf feed2tweet-1.0.tar.gz
      # cd feed2tweet
      # python3 setup.py install
      # # or
      # python3 setup.py install --install-scripts=/usr/bin
    

Use Feed2tweet

  • Create or modify feed2tweet.ini file in order to configure feed2tweet:

    [twitter]
    consumer_key=ml9jaiBnf3pmU9uIrKNIxAr3v
    consumer_secret=8Cmljklzerkhfer4hlj3ljl2hfvc123rezrfsdctpokaelzerp
    access_token=213416590-jgJnrJG5gz132nzerl5zerwi0ahmnwkfJFN9nr3j
    access_token_secret=3janlPMqDKlunJ4Hnr90k2bnfk3jfnwkFjeriFZERj32Z
    
    [cache]
    cachefile=cache.db
    
    [rss]
    uri=https://www.journalduhacker.net/rss
    tweet={title} {link}
    
    [hashtaglist]
    several_words_hashtags_list=severalwordshashtaglist.txt
    
  • Launch Feed2tweet

    $ feed2tweet -c /path/to/feed2tweet.ini
    

Authors

License

This software comes under the terms of the GPLv3+. Previously under MIT license. See the LICENSE file for the complete text of the license.