Created
December 13, 2008 00:22
-
-
Save JamesHarrison/35358 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
xml = new XMLElement(this, "http://wiki.eveonline.com/w/index.php?title=Special:Recentchanges&feed=rss"); | |
XMLElement[] changes=xml.getChild(0).getChildren(); | |
int change_count = xml.getChild(0).getChildCount(); | |
for(int n = 0; n < change_count;n++){ | |
if (changes[n].getChildCount() > 1) { | |
// this element is an item element | |
XMLElement[] item = changes[n].getChildren(); | |
String pagename = item[0].getContent(); |
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
rss = RSS::Parser.parse("http://wiki.eveonline.com/w/index.php?title=Special:Recentchanges&feed=rss", false) | |
rss.items.each do |i| {i.title} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment