SyndCategory syndCategory = new SyndCategory();
syndCategory = rssCategory.toSynd(syndCategory);
syndFeed.getCategories().add(syndCategory);
}
if (getGenerator() != null) {
syndFeed.setGenerator(new SyndGenerator(getGenerator()));
}
if (getImage() != null && getImage().getUrl() != null) {
syndFeed.setLogo(getImage().getUrl());
}
syndFeed.getEntries().clear();