Examples of SyndFeedImpl


Examples of com.sun.syndication.feed.synd.SyndFeedImpl

        if (content == null) {
            return ServiceUtil.returnError("Not able to generate RSS feed for content: " + contentId);
        }

        // create the feed
        SyndFeed feed = new SyndFeedImpl();
        feed.setFeedType(feedType);
        feed.setLink(mainLink);

        feed.setTitle(content.getString("contentName"));
        feed.setDescription(content.getString("description"));
        feed.setEntries(generateEntryList(dispatcher, delegator, contentId, entryLink, locale, userLogin));

        Map resp = ServiceUtil.returnSuccess();
        resp.put("wireFeed", feed.createWireFeed());
        return resp;
    }
View Full Code Here

Examples of com.sun.syndication.feed.synd.SyndFeedImpl

    }

    @Override
    public SyndFeed build(File file) throws IOException, IllegalArgumentException, FeedException
    {
        return new SyndFeedImpl(_feedInput.build(file));
    }
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.