summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-11-27 00:47:09 +0100
committerAndreas Gohr <andi@splitbrain.org>2005-11-27 00:47:09 +0100
commit8b9da5a7173ccde168f612b798f2af2a82d125fc (patch)
treed3554d8d311d58e6617426ae599e73c59ecfacbb /conf
parent1e6dfe497f883fb7c94874a81f2472f8134db0a5 (diff)
downloadrpg-8b9da5a7173ccde168f612b798f2af2a82d125fc.tar.gz
rpg-8b9da5a7173ccde168f612b798f2af2a82d125fc.tar.bz2
Added Google sitemap support #371
This patch addes the automatic creation of Google sitemaps. The map is created in the DokuWiki root dir and named sitemap.xml.gz if gzip compression is available - if not the gz extion is skipped. How often the map is recreated is defined through the $conf['sitemap'] option. It accepts a day value. darcs-hash:20051126234709-7ad00-6ff4b0e79670cdfa39e615ec9dc40146ffcc9dd4.gz
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 1b4a44a38..1e4ec61d5 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -81,6 +81,7 @@ $conf['pluginmanager'] = 0; //enable automated plugin management (r
$conf['compress'] = 1; //Strip whitespaces and comments from Styles and JavaScript? 1|0
$conf['hidepages'] = ''; //Regexp for pages to be skipped from RSS, Search and Recent Changes
$conf['send404'] = 0; //Send a HTTP 404 status for non existing pages?
+$conf['sitemap'] = 0; //Create a google sitemap? How often? In days.
$conf['rss_type'] = 'rss1'; //type of RSS feed to provide, by default:
// 'rss' - RSS 0.91
// 'rss1' - RSS 1.0