The Business and Enterprise Editions of KonaKart contain a batch program to generate an XML sitemap. Sitemaps are an easy way for to inform search engines about pages that are available for crawling.
The program class is called createSitemapBatch and can be found in KonaKart\custom\batch\src\com\konakartadmin\bl\AdminProductBatchMgr.java . It may be scheduled to run at regular intervals using Quartz or may be run interactively from the Admin App by clicking on Scheduler on the menu bar.
A number of files are produced by the batch program:
sitemap.xml - the sitemap index file that includes the other sitemap files
sitemap-products_n.xml - includes links to all of the product detail pages. Depending on the number of products in the database, multiple files may be produced named sitemap-products_1.xml, sitemap-products_2.xml etc.
sitemap-categories.xml - includes links to all of the top level category landing pages.
sitemap-pages.xml - includes the home page and various static pages
You may need to edit the program in order to include more or remove some of the static pages depending on the content of your eCommerce storefront application.
The files are created in a directory defined by a configuration variable which can be set through the Configuration >> Sitemap Configuration panel of the Admin App. If you need to modify the batch program and to add more configurable parameters, they may be added to this panel. In order to be picked up by a search engine the files must be placed under the root directory of the storefront; e.g. http://www.kkstore.com/sitemap.xml. If the batch file cannot reach this location, you may still automate the process by setting up a cron job or using some other utility to move the generated files. More information on sitemaps may be found at http://www.sitemaps.org .
If you need to make modifications to the sitemap generation program such as adding or removing static pages, modifying priority of entries or the URL change frequency, you may modify the source code and recompile.