Switch to side-by-side view
--- a/tool/src/utils/html.java +++ b/tool/src/utils/html.java @@ -48,6 +48,7 @@ public static String getRSS(String wwwLink){ String result = ""; + try{ RSSFeedParser parser = new RSSFeedParser(wwwLink); Feed feed = parser.readFeed(); //System.out.println(feed); @@ -62,6 +63,11 @@ ; //System.out.println(msg); } + } catch (Exception e){ + log.write(is.ABORTED, "RSS feed unavailable, " + + "possibly no Internet connected"); + } + return result; }