// Try to render the preview pagelets and write them to the feed
List<SyndContent> entryContent = new ArrayList<SyndContent>();
Composer composer = new ComposerImpl("preview", page.getPreview());
for (Pagelet pagelet : composer.getPagelets()) {
Module module = site.getModule(pagelet.getModule());
PageletRenderer renderer = null;
if (module == null) {
logger.warn("Skipping pagelet {} in feed due to missing module '{}'", pagelet, pagelet.getModule());
continue;
}
renderer = module.getRenderer(pagelet.getIdentifier());
if (renderer == null) {
logger.warn("Skipping pagelet {} in feed due to missing renderer '{}/{}'", new Object[] { pagelet, pagelet.getModule(), pagelet.getIdentifier() });
continue;
}