wiki:GoogleSitemapPlugin

Version 1 (modified by datenimperator, 8 years ago) (diff)

New hack GoogleSitemapPlugin, created by datenimperator

Google sitemap generator

Description

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

Download the zipped source from here.

Source

You can check out GoogleSitemapPlugin from here using Subversion, or browse the source with Trac.

Example

This is how a sitemap XML could look like:

<?xml version="1.0" encoding="UTF-8"?>
<urlset>
<url>
<loc>http://localhost/wiki/ImageTest</loc>
<lastmod>2006-11-07 15:37:07.961000</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

More about the document format can be found here.

Recent Changes

[9514] by martin_s on 2010-11-24 21:42:18
tracgooglesitemap/plugin.py
Added missing else clause for _fixtime method. This should fix #8152.
[8547] by martin_s on 2010-08-30 23:57:39
Added encoding meta-comment and declared SVN keywords as unicode to avoid issues with non-english locales.
[8422] by martin_s on 2010-08-23 13:11:45
Removed outdated variable rev from setup file.

Author/Contributors

Author: datenimperator
Contributors: