summaryrefslogtreecommitdiff
path: root/Echolot/Config.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-08-14 22:54:20 +0000
committerPeter Palfrader <peter@palfrader.org>2002-08-14 22:54:20 +0000
commit4c4780f4772acb5abcc57b03d114c5e1364af63a (patch)
tree701c35d162ff59ba1d1d18d6307ec3bbd81b19ec /Echolot/Config.pm
parent498f8447729375dad80bd2c05bc5c167bc25b3cc (diff)
Create .meta files with the expiry date of pages.
Also put the expiry date in HTML meta headers. Make indexfilebasename a configure option. Code cleanup: renamed some functions.
Diffstat (limited to 'Echolot/Config.pm')
-rw-r--r--Echolot/Config.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Echolot/Config.pm b/Echolot/Config.pm
index 62a1c00..c5a1c77 100644
--- a/Echolot/Config.pm
+++ b/Echolot/Config.pm
@@ -1,7 +1,7 @@
package Echolot::Config;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Config.pm,v 1.38 2002/08/12 03:06:53 weasel Exp $
+# $Id: Config.pm,v 1.39 2002/08/14 22:54:20 weasel Exp $
#
=pod
@@ -111,6 +111,7 @@ sub init($) {
thesaurusdir => 'results/thesaurus',
thesaurusindexfile => 'results/thesaurus/index.html',
private_resultdir => 'results.private',
+ indexfilebasename => 'echolot.html',
gnupghome => 'gnupghome',
gnupg => '',
mixhome => 'mixhome',
@@ -123,6 +124,9 @@ sub init($) {
commands_file => 'commands.txt',
pidfile => 'pingd.pid',
+ write_meta_files => 1,
+ meta_extension => '.meta',
+
storage => {
backend => 'File',
File => {