Created
March 16, 2010 14:42
-
-
Save nazt/334032 to your computer and use it in GitHub Desktop.
This file contains 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
import java.io.UnsupportedEncodingException; | |
// program to parse RSS Feed | |
def rssurl = "http://twitter.com/statuses/user_timeline.xml?screen_name=ctis_tu" | |
def slurp = new XmlSlurper() | |
def rssObj = slurp.parse(rssurl) | |
rssObj.status.eachWithIndex { item , num -> | |
println "-------------------------------------------" | |
def name = item.user.screen_name.toString() | |
// def url = item.user.profile_image_url.toString() | |
println item | |
// println name | |
} | |
http://twitter.com/statuses/user_timeline.json?screen_name=ctis_tu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment