Examples of RSSParser


Examples of org.exoplatform.services.rss.parser.RSSParser

         catch (Exception e)
         {
            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)
            {
View Full Code Here

Examples of unify.fileio.RSSParser

      LOGGER.warning("There are no rss feeds! Add a new feed in the settings.");
    }
    populateList(onToday, Settings.getInstance().getToday());
    populateList(onTomorrow, Settings.getInstance().getTomorrow());
    for(Feed myFeed : Settings.getInstance().getFeeds()) {
      RSSParser parser = new RSSParser(myFeed);
      ArrayList<Show> rssShows = parser.parseFeed();
      checkShows(rssShows);
      if(Settings.getInstance().isFindNewShows()) {
        checkNewShows(rssShows);
      }
      LOGGER.fine("Done checking feed: " + myFeed.getLabel() + ". Feed had " + rssShows.size() + " episodes.");
View Full Code Here

Examples of unify.fileio.RSSParser

    }
  }

  private void populateList(ArrayList<Show> showList, Feed feed) {
    showList.clear();
    RSSParser parser = new RSSParser(feed);
    ArrayList<Show> rssShows = parser.parseFeed();
    for(int i=0;i<rssShows.size();i++) {
      Show show = rssShows.get(i);
      if(getShow(show.getTitle())!=null) {
        showList.add(show);
        this.pendingUpdates = true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.