Changes between Version 2 and Version 3 of GoogleSitemapPlugin


Ignore:
Timestamp:
Nov 9, 2006, 2:04:41 PM (17 years ago)
Author:
Christian Aust
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoogleSitemapPlugin

    v2 v3  
    22
    33== Description ==
    4 
    54This plugin will handle requests of the URL /sitemap.xml and will produce XML suitable for submission to the [https://www.google.com/webmasters/sitemaps/docs/en/about.html 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.
    65
    76The 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.
     7
     8== Requirements ==
     9The plugin was tested with Python 2.3 but should work with 2.4 as well. It uses API extensions of trac 0.10, so it wouldn't run with older versions of trac. Furthermore, you need setuptools to install and run the extension.
     10
     11If the [http://trac.edgewall.org/wiki/WebAdmin webadmin plugin] is installed, this plugin will register a page to configure it. ''Please note that (as of today 2006-11-09) this does not work, the admin page is not finished yet.''
     12
     13== Installation ==
     14Download the source code into a directory of your choice, open a command line terminal and run this command:
     15{{{
     16python setup.py install
     17}}}
     18
     19Activate the plugin in your trac environment by adding this line to the section [component] of trac.ini
     20{{{
     21sitemap.* = enabled
     22}}}
     23
     24Restart your webserver.
    825
    926== Bugs/Feature Requests ==
     
    3047#!xml
    3148<?xml version="1.0" encoding="UTF-8"?>
    32 <urlset>
     49<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    3350<url>
    3451<loc>http://localhost/wiki/ImageTest</loc>
    35 <lastmod>2006-11-07 15:37:07.961000</lastmod>
     52<lastmod>2006-11-07T15:37:07Z</lastmod>
    3653<changefreq>daily</changefreq>
    3754</url>