Version 2 (modified by Christian Aust, 12 years ago) (diff)


Google sitemap generator


This plugin will handle requests of the URL /sitemap.xml and will produce XML suitable for submission to the Google sitemap service. The sitemap is a way to describe your site's content other than depending on a crawler that follows every link. It's suitable for dynamic sites with lots of different URLs for basically the same content.

The plugin will notify Google by sending a PING request to their site whenever content on your trac has changed. For now, wiki pages are supported in the sitemap, but tickets will eventually follow.

Bugs/Feature Requests

Existing bugs and feature requests for GoogleSitemapPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:googlesitemapplugin here].


You can check out GoogleSitemapPlugin from here using Subversion. Visit to browse the source code.


This is how a sitemap XML could look like:

<?xml version="1.0" encoding="UTF-8"?>
<lastmod>2006-11-07 15:37:07.961000</lastmod>

More about the document format can be found here.

Recent Changes

17141 by rjollos on 2018-04-16 20:45:09
TracGoogleSitemapPlugin 1.1: Conform to PEP8
15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

9514 by martin_s on 2010-11-24 20:42:18
Added missing else clause for _fixtime method. This should fix #8152.


Author: datenimperator