Eli Fulkerson .com HomeProjectsGensitemap
 


gensitemap.py - autogenerate an XML file for Google's Sitemap

Description:

This is a python script that autogenerates an XML file for Google's sitemap. It automatically builds the file list (based on a list of allowed extensions) and the modification times. It applies a default update frequency and priority to each page unless specified otherwise in a specific .metadata file associated with the filename.

You will need to edit some of the parameters at the beginning of the script to adapt it to your site.

Language:

  • Python
  • License:

  • gensitemap.py is free for any use
  • Download:

    gensitemap.py - original script, no xsl
    gensitemap-xsl.py - a varation that I use with this xsl template

    Links:

    The Google Sitemap announcement and specification.