Created
April 27, 2011 11:54
-
-
Save hj91/944127 to your computer and use it in GitHub Desktop.
A small python snippet to parse identi.ca replies for a particular user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A small python snippet to parse identi.ca replies for a particular user..in this case, it is HJ91 | |
# (c) 26 April 2011, Harshad Joshi | |
import urllib2 | |
import feedparser | |
a=urllib2.urlopen("http://identi.ca/api/statuses/mentions/hj91.rss") | |
b=feedparser.parse(a) | |
for i in range(len(b.entries)): | |
print b.entries[i].title | |
your code looks more clean..i think i will use it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
range not needed, iterate using internal iterator: