- XML rss;
- // Load RSS feed
- String url = "http://processing.org/updates.xml";
- rss = new XML(this, url);
- // Get title of each element
- XML[] titleXMLElements = rss.getChildren("channel/item/title");
- for (int i = 0; i < titleXMLElements.length; i++) {
- String title = titleXMLElements[i].getContent();
- println(i + ": " + title);
- }
Hey everyone, I'm pretty new at this and I'm having the hardest time figuring this out. The above gives me back an Unhandled exception type IOException and I'm not sure why. Any help would be much appreciated! Thanks!
1