Skip to content

ankitshekhawat/twitter-to-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter to RSS feed generator


twitter2rss.py is a simple python script to parse twitter feed to generate a rss feed.

This simple script gets tweets from your timeline and publishes them as an rss feed. Attempts to fetch the content of the page using the readability algorithm so that you can read the your twitter feeds anywhere Flipboard style

There is a choice of either using Readability.com's parser api or using python's readability-lxml. readability.com's api generates better and leaner results, but then adds dependency to an additional webservice.

Requires:

Created by: Ankit Shekhawat Website: http://www.ankit.ws

Usage:

python tweet2rss.py I use it with an hourly cronjob script

Before running, edit settings.py for twitter and readability account details and the rss feed meta data details

Todo:

  • Add an option to fetch tweets from a user list.
  • Twitter sends tweets in reverse order. Need to reverse it by either seperating the fetching with parsing. or somehow from the twitter api itself.
  • Base the pruning to something more intelligent than just feed limits, maybe from number of retweets.

About

Simple python script to parse twitter feed to generate a rss feed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages