Examples of SyndFeedInput


Examples of com.sun.syndication.io.SyndFeedInput

        // Helper class
    }
   
    public static SyndFeed createFeed(String feedUri) throws Exception {
        InputStream in = new URL(feedUri).openStream();
        SyndFeedInput input = new SyndFeedInput();
        return input.build(new XmlReader(in));
    }
View Full Code Here

Examples of com.sun.syndication.io.SyndFeedInput

            Date timestamp = configDateFormatter.parse(lastchecktimestamp);
            // Turn feed dates into something we can process.
            DateFormat feedDateFormatter = DateFormat.getDateTimeInstance();
           
            // get the feed data from the supplied address           
            SyndFeedInput input = new SyndFeedInput();
            SyndFeed feed = input.build(new XmlReader(new URL(rssaddress)));
            //System.out.println(feed);
           
            // check all the items to see if we have seen them before
            List entries = feed.getEntries();
            for(Object entry: entries){
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.