Class MCRGoogleSitemapCommands

java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.frontend.indexbrowser.MCRGoogleSitemapCommands
All Implemented Interfaces:
MCRExternalCommandInterface

@MCRCommandGroup(name="Google Sitemap Commands") public final class MCRGoogleSitemapCommands extends MCRAbstractCommands
This class builds a google sitemap containing links to all documents and store them to the webapps directory. This can be configured with property variable MCR.GoogleSitemap.Directory. The web.xml file should contain a mapping to /sitemap.xml See http://www.google.com/webmasters/sitemaps/docs/en/protocol.html
Version:
$Revision$ $Date$
Author:
Frank Lützenkirchen, Jens Kupferschmidt, Thomas Scheffler (yagee)
  • Constructor Details

    • MCRGoogleSitemapCommands

      public MCRGoogleSitemapCommands()
  • Method Details

    • buildSitemap

      @MCRCommand(syntax="build google sitemap", help="Creates the google sitemap(s) in webapps directory.", order=10) public static void buildSitemap() throws Exception
      The build and store method.
      Throws:
      Exception