/** * Render an XML feed file using the supplied content. * * @param feedFile The name of the output file * @throws Exception if default rendering configuration is not loaded correctly */ public void renderFeed(String feedFile) throws Exception { render(new DefaultRenderingConfig(feedFile, FEED_TEMPLATE_NAME)); }
/** * Render an XML sitemap file using the supplied content. * * @param sitemapFile configuration for site map * @throws Exception if can't create correct default rendering config * @see <a href="https://support.google.com/webmasters/answer/156184?hl=en&ref_topic=8476">About Sitemaps</a> * @see <a href="http://www.sitemaps.org/">Sitemap protocol</a> */ public void renderSitemap(String sitemapFile) throws Exception { render(new DefaultRenderingConfig(sitemapFile, SITEMAP_TEMPLATE_NAME)); }
/** * Render an index file using the supplied content. * * @param indexFile The name of the output file * @throws Exception if IOException or SecurityException are raised */ public void renderIndex(String indexFile) throws Exception { render(new DefaultRenderingConfig(indexFile, MASTERINDEX_TEMPLATE_NAME)); }
/** * Render an archive file using the supplied content. * * @param archiveFile The name of the output file * @throws Exception if default rendering configuration is not loaded correctly */ public void renderArchive(String archiveFile) throws Exception { render(new DefaultRenderingConfig(archiveFile, ARCHIVE_TEMPLATE_NAME)); }
/** * Render an archive file using the supplied content. * * @param archiveFile The name of the output file * @throws Exception if default rendering configuration is not loaded correctly */ public void renderArchive(String archiveFile) throws Exception { render(new DefaultRenderingConfig(archiveFile, ARCHIVE_TEMPLATE_NAME)); }
/** * Render an XML feed file using the supplied content. * * @param feedFile The name of the output file * @throws Exception if default rendering configuration is not loaded correctly */ public void renderFeed(String feedFile) throws Exception { render(new DefaultRenderingConfig(feedFile, FEED_TEMPLATE_NAME)); }
/** * Render an XML sitemap file using the supplied content. * * @param sitemapFile configuration for site map * @throws Exception if can't create correct default rendering config * @see <a href="https://support.google.com/webmasters/answer/156184?hl=en&ref_topic=8476">About Sitemaps</a> * @see <a href="http://www.sitemaps.org/">Sitemap protocol</a> */ public void renderSitemap(String sitemapFile) throws Exception { render(new DefaultRenderingConfig(sitemapFile, SITEMAP_TEMPLATE_NAME)); }
/** * Render an index file using the supplied content. * * @param indexFile The name of the output file * @throws Exception if IOException or SecurityException are raised */ public void renderIndex(String indexFile) throws Exception { render(new DefaultRenderingConfig(indexFile, MASTERINDEX_TEMPLATE_NAME)); }