XML&HTML Sitemap Help

Contents

  1. Overview
  2. Features
  3. Usage
  4. Details of each item
  5. Templates

Overview

XML&HTML Sitemap is a Windows application for easily and simultaneously generating XML and HTML sitemaps.

Generated XML files (sitemap.xml) conform to the Sitemaps XML format, and thus you can submit them to services such as Google Webmaster Tools without change. Generated HTML sitemaps (sitemap.html) can be freely altered and published in your websites.

Features

Usage

Most operation can be done in the following main window.

screen shot

Basic

Basic usage is as follows:

  1. Specify a URL of your website in the URL text box.
  2. Specify a folder to save sitemaps in the Save in text box.
  3. Turn on the following check boxes:
    1. Generate sitemap.xml: To generate an XML sitemap.
    2. Generate sitemap.html: To generate an HTML sitemap.
  4. Click Run, then sitemap generation executed.

Generating sitemaps from local files

Turning on the Generate from local files check box, you can generate sitemaps from local files. In this case, sitemaps is generated without accessing the actual website. Addresses written in the sitemaps are the ones obtained by converting local file paths into addresses based on the URL specified in the URL text box.

Details of each item

This section explains the details of each setting item available in the main window.

Basic items

Wildcards are available for patterns written in the Exclude text box above. The wildcard * represents an arbitrary string, and ? represents an arbitrary character. To specify multiple patterns, separate them with the ; character.

Here are some examples of patterns. This example explains the case of generating sitemaps for http://example.com.

PatternExplanation
*.gif;*.png;*.jpgExclude GIF, PNG, and JPG files
/img/*Exclude the http://example.com/img directory

Options

XML Sitemaps

HTML Sitemaps

Templates

The accompanied template.html file is a template file for HTML sitemaps. You can freely edit the file as you like.

The template file may contain special tags for inserting results. The table below shows the list of available special tags.

TagExplanation
<%sitemap />Sitemap
<%home_title />Title of home page
<%date format="..." />Date
<%time format="..." />Time

The format attribute of the <%date> and <%time> tags specifies a format of date or time. The format specification is common to the one of .NET. See Custom Date and Time Format Strings for details.

Here are some examples of date/time format specifications.

ExampleResult
<%date format="MM-dd-yy" />07-31-99
<%date format="MMMM d, yyyy" />July 31, 1999
<%time format="hh:mm tt" />03:05 PM
<%time format="HH:mm.ss" />15:05.25