Skip to content

Instantly share code, notes, and snippets.

@JamesHarrison
Created December 13, 2008 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesHarrison/35358 to your computer and use it in GitHub Desktop.
Save JamesHarrison/35358 to your computer and use it in GitHub Desktop.
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();
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