public
Description: Takes RSS feeds and posts them to Twitter. Written in python, with some other features, like direct message retweeting, etc.
Homepage: http://github.com/opie4624/pyrss2twitter/wikis
Clone URL: git://github.com/opie4624/pyrss2twitter.git
pyrss2twitter / run.py
100755 16 lines (11 sloc) 0.613 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
 
from rss2twit import rss2twitter
 
# Two feeds, Default tag of "New post from FeedTitle"
#instance1 = rss2twitter('twitterID', 'twitterPassword', ['http://example.org/feed1.rss', 'http://example.org/feed2.rss'])
#instance1.run(debug=True) #Run the first instance, debugging messages on.
 
# One feed, tag disabled
#instance2 = rss2twitter('ID', 'password', ['http://example.org/feed3.rss'], tag=False)
#instance2.run()
 
# One feed, custom tag, %s is replaced with the feed title
#instance3 = rss2twitter('ID', 'password', ['http://example.org/feed4.rss'], tag="New from %s")
#instance3.run()