[[PageOutline(2-5,Contents,pullout)]] = Google sitemap generator = == Description == This plugin will produce a site maps XML file 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. The maintainer-ship of this plugin for Trac 0.11+ was taken over by [wiki:martin_s] in May 2010. The new Trac 0.11 version was written from scratch, mainly because of great API changes between the Trac versions. This wiki now describes only the 0.11 (and newer branches in the future). The old [./GoogleSitemapPlugin?version=10 description for the 0.10 branch] is also available. The plugin can be configured to notify Google by sending a PING request to their site when content on your trac has changed (Trac 0.10 version only). For now, wiki pages and tickets are supported in the sitemap. Other things like source code and pages produced by other plugins could also be included if requested. == Installation == Download the source code into a directory of your choice, open a command line terminal and run this command: {{{ python setup.py install }}} or use `easy_install` either on the downloaded source code or the SVN URL: {{{ easy_install # or easy_install http://trac-hacks.org/svn/googlesitemapplugin/0.11 }}} Activate the plugin and, optionally, the automatic notification in your Trac environment by adding this line to the section [component] of `/conf/trac.ini` or use the IniAdminPlugin: {{{ tracgooglesitemap.plugin = enabled tracgooglesitemap.notify = enabled # optional, notifies Google to reload the sitemap when content has changed }}} Restart your web- or trac-server. == Bugs/Feature Requests == See [query:status!=closed&component=GoogleSitemapPlugin&order=priority existing bugs and feature requests], and feel free to create a [/newticket?component=GoogleSitemapPlugin&owner=martin_s&version=0.11 new ticket]. == Download == Download the zipped source from [download:googlesitemapplugin here]. == Source == You can check out GoogleMapMacro for Trac 0.11 from [http://trac-hacks.org/svn/googlesitemapplugin/0.11 here] using Subversion, or [source:googlesitemapplugin/0.11 browse the source] with Trac. == Example == This is how a sitemap XML could look like: {{{ #!xml http://yourtracurl/tracproject/wiki/WikiStart 2010-11-07T15:37:07Z daily http://yourtracurl/tracproject/wiki/SomePage 2010-11-07T16:22:35Z daily }}} More about the document format can be found [https://www.google.com/webmasters/sitemaps/docs/en/protocol.html here]. == Recent Changes == [[ChangeLog(googlesitemapplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:martin_s] (Trac 0.11), [wiki:datenimperator] (Trac 0.10) [[BR]] '''Maintainer:''' [wiki:martin_s] [[BR]] '''Contributors:'''