[Mailman-Developers] htdig indexing

Nigel Metheringham Nigel.Metheringham@VData.co.uk
Thu, 26 Oct 2000 18:26:12 +0100


This is a multipart MIME message.

--==_Exmh_7713113640
Content-Type: text/plain; charset=us-ascii

I've been playing with Richard's htdig indexing patches for mailman 
(they are in the patches set for 2.0beta6 on sourceforge).  I've 
finally got it working to my satisfaction just as I'm about to be away 
for a bit so I am rushing this out now....

I have not looked at 2.0rc1 so I don't know whether the indexer patches 
went into that.

The enclosed patch makes the following changes:-

  1. Turns off the index/noindex additions to the TOC files
     since they are already marked with the META tags as noindex
     and the combination appeared to be confusing htdig and making
     the indexes less useful.

  2. Changes the URLs used to match the web urls for the list
     (previously tended to use the machine hostname instead).

You can see the effect at
	http://www.exim.org/pipermail/exim-users/

[which is an invitation for it to stop working]

Patch attached is relative to Richard's 2 patches - ie apply both of 
his ones *first*.

	Nigel.


--==_Exmh_7713113640
Content-Type: application/x-patch ; name="index-finalisation.patch"
Content-Description: index-finalisation.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="index-finalisation.patch"

LS0tIE1haWxtYW4vQXJjaGl2ZXIvSHlwZXJBcmNoLnB5Lm9yaWcJV2VkIE9jdCAyNSAwOToz
Nzo0MiAyMDAwCisrKyBNYWlsbWFuL0FyY2hpdmVyL0h5cGVyQXJjaC5weQlXZWQgT2N0IDI1
IDEyOjIzOjIyIDIwMDAKQEAgLTQyOCw3ICs0MjgsNiBAQAogICAgICAlKGVuY29kaW5nKXMK
ICAgPC9IRUFEPgogICA8Qk9EWSBCR0NPTE9SPSIjZmZmZmZmIj4KLSUoaW5kZXhpbmdfZGlz
YWJsZSlzCiAgICAgICA8YSBuYW1lPSJzdGFydCI+PC9BPgogICAgICAgPGgxPiUoYXJjaGl2
ZSlzIEFyY2hpdmVzIGJ5ICUoYXJjaHR5cGUpczwvaDE+CiAgICAgICA8dWw+CkBAIC00NDUs
NyArNDQ0LDYgQEAKICAgICAgICAgIDxiPkVuZGluZzo8L2I+IDxpPiUobGF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VVNUIGdvIHZp
YSB0aGUgZmlsZSBzeXN0ZW0gdG8gZ2VuZXJhdGUgaXRzIGluZGljZXMgc28KICAgICAgICAg
IyB3ZSBuZWVkIHRoZSB1cmwgd2hpY2ggbWFwcyB0byB0aGUgbGlzdCdzIHByaXZhdGUgYXJj
aGl2ZQotICAgICAgICB1cmxwYXRoID0gdXJscGFyc2UudXJsdW5wYXJzZSgoJ2h0dHAnLCBo
b3N0bmFtZSwgCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVw
YXRoICsgJy8nLCAnJywgJycsICcnKSkKKyAgICAgICAgdXJscGF0aCA9IHN0YXJ0dXJsCiAg
ICAgICAgICMgYXNzZW1ibGUgdGhlIG1hcHBpbmcgZm9yIGNoYXJhY3RlcmlzaW5nIHRoZSBo
dGRpZyBjb25maWcKICAgICAgICAgZCA9IHsnZGF0YWJhc2VzJzogbGlzdF9odGRpZ19kaXIs
CiAgICAgICAgICAgICAgInN0YXJ0dXJsIjogc3RhcnR1cmwsIAo=

--==_Exmh_7713113640
Content-Type: text/plain; charset=us-ascii

[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@VData.co.uk ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]

--==_Exmh_7713113640--