| 33 | |
| 34 | == Configuration == |
| 35 | The following options are supported. They must be placed under a `[googlesitemap]` section in the configuration file. |
| 36 | |
| 37 | sitemappath:: Path of the sitemap relative to the main URL. Default: '`sitemap.xml`'. |
| 38 | ignoreusers:: Do not include wiki pages created by the listed users. Default: `trac` (excludes all standard Trac wiki pages). |
| 39 | ignorewikis:: Do not include the following wikis. The wildcards '`*`' and '`?`' are allowed and have there usual meaning. |
| 40 | listrealms:: Which realms (i.e. `wiki` or `ticket`) to list. Default: `wiki,ticket`. |
| 41 | changefreq:: Change frequency for all entries. Valid values: always, hourly, daily, weekly, monthly, yearly, never. Disabled if empty (default). |
| 42 | compress_sitemap:: Compress sitemap, either by using HTTP gzip `content-encoding` if the client supports it (Googlebot does) or by requesting the sitemap with a trailing `.gz`. |
| 43 | compression_level:: Compression level used: 0 (low/fast) to 9 (high/slow). Default: 6. |
| 44 | |
| 45 | The notifier can be told on which action Google should be notified about the sitemap change: |
| 46 | |
| 47 | notifyon:: List of actions on which Google should be notified. The action names are based on the Trac permissions needed to execute the actions. |
| 48 | Supported actions are: TICKET_CREATE, TICKET_DELETE, TICKET_MODIFY, WIKI_CREATE, WIKI_DELETE, WIKI_VERSION_DELETE, WIKI_MODIFY, WIKI_RENAME. |
| 49 | By default Google will be notified when a ticket or wiki is created or modified, but not when it is deleted. |
| 50 | Default: TICKET_CREATE, TICKET_MODIFY, WIKI_CREATE, WIKI_VERSION_DELETE, WIKI_MODIFY, WIKI_RENAME. |
| 51 | |
| 52 | |