9899100101102103104105106107108
{ try { URI uri = URI.create(url); RSSParser parser = new RSSParser(); RSSDocument<DefaultRSSChannel, DefaultRSSItem> doc = parser.createDocument(uri, "UTF-8"); if (doc == null) throw new Exception("Wrong url"); } catch (Exception e1) {