// Use Rome Fetcher to get a feed
URL feedUrl = new URL(args[0]);
FeedFetcher fetcher = new HttpURLFeedFetcher();
System.out.println("Retrieving: " + args[0]);
SyndFeed feed = fetcher.retrieveFeed(feedUrl);
// For this example we'll use the URL as the UUID. Check
// to see if the UUID has already been used for persistence.
// If not, we'll do an insert with it. Otherwise, an update.
String uuid = feedUrl.toString();