/*    */   public String refresh()
/*    */     throws IOException, IllegalArgumentException, FeedException
/*    */   {
/* 26 */     URL url = new URL("http://feeds.feedburner.com/OnionNewsNetwork");
/*    */ 
/* 28 */     XmlReader reader = new XmlReader(url);
/* 29 */     HttpURLConnection httpcon = (HttpURLConnection)url.openConnection();
/*    */ 
/* 31 */     SyndFeedInput input = new SyndFeedInput();
/* 32 */     SyndFeed asdf = input.build(new XmlReader(httpcon));
/*    */ 
/* 34 */     List entries = asdf.getEntries();
/* 35 */     Iterator itEntries = entries.iterator();
/*    */ 
/* 37 */     String feed = "";
/*    */ 
/* 39 */     while (itEntries.hasNext()) {
/* 40 */       SyndEntry entry = (SyndEntry)itEntries.next();
/* 41 */       feed = feed + entry.getTitle() + "\n";
/* 42 */       if (!entry.getAuthor().equals(""))
/* 43 */         feed = feed + entry.getAuthor() + "\n";
/* 44 */       feed = feed + entry.getPublishedDate() + "\n";
/* 45 */       feed = feed + entry.getLink() + "\n\n";
/*    */     }
/*    */ 
/* 49 */     return feed;
/*    */   }