.. _sitemaps:

XML Sitemaps
============

`XML Sitemaps`_ can be generated by running ``sbin/pycsw-admin.py``:

.. code-block:: bash

  $ cd /path/to/pycsw
  $ export PYTHONPATH=`pwd`
  $ python ./sbin/pycsw-admin.py -c gen_sitemap -f default.cfg -o sitemap.xml

The ``sitemap.xml`` file should be saved to an an area on your web server (parallel to or above your pycsw install location) to enable web crawlers to index your repository. 

.. _`XML Sitemaps`: http://sitemaps.org/
