I wanted to read an RSS feed in java, and remembered using a library called Rome. Fortunately, it’s still around and not completely dead (that I can tell). You can find it here. An in the tradition of re-use, here is an article on how to use it.
public class RssReader { public static void main (String [] args ) throws IllegalArgumentException, FeedException, IOException { URL feedSource = new URL("http://techtrailblazer.wordpress.com/feed/rss/"); SyndFeedInput input = new SyndFeedInput(); SyndFeed feed = input.build(new XmlReader(feedSource)); List<SyndEntry> entries = feed.getEntries(); if (entries != null) { for ( SyndEntry entry : entries ) { System.out.println(entry.getTitle()); } } } }