Package com.redfin.sitemapgenerator

Examples of com.redfin.sitemapgenerator.WebSitemapGenerator


    final File outputDir = getOutputDirectory(locale);
    getLog().info("Generating Sitemap.");

    final W3CDateFormat dateFormat = new W3CDateFormat(Pattern.DAY);
    final WebSitemapGenerator generator = WebSitemapGenerator.builder(project.getUrl(), outputDir).autoValidate(validate)
        .dateFormat(dateFormat).build();
    new Sitemap(getOutputEncoding(), i18n).generate(project, context.getDecoration(), generator, changeFreq);
    final List<File> files = generator.write();
    for (final File file : files) {
      getLog().info("Generated Sitemap: " + file.getPath());
    }
  }
View Full Code Here

TOP

Related Classes of com.redfin.sitemapgenerator.WebSitemapGenerator

Copyright © 2018 www.massapicom. 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.