You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Maxime Petazzoni <ma...@bulix.org> on 2005/07/01 00:22:21 UTC

[PATCH] mod_mbox output improvements

Hi list,

Disclaimer: this is my first patch to the list, so I hope everything
is Ok with it's format and content.

This patch is an initial attempt to move mod_mbox to XML/XSLT
output. More improvements concerning mod_mbox's user interface will
come in the next days and weeks.

In order to use the new features coming with this patch, you'll need
to :

- copy the XSL and CSS stylesheets from a theme's directory (for the
  moment, only the basic ASF theme is available under themes/asf/) to
  your mailing lists archives root directory (for example,
  /var/www/archives/)
- add the following section to your Apache configuration :

    AddHandler mbox-handler .mbox
    <LocationMatch /archives/([^/]+)>
        MboxIndex On
        MboxStyle "/archives/style.xsl"
        MboxHideEmpty On
        MboxAntispam On
    </LocationMatch>

The last three directives are new ones. The first one tells where to
find the XSL transformation stylesheet. The next one hides empty
mailboxes from main listing. The third one enables email obfuscating
(as discussed within the corresponding thread on mbox-dev mailing list
[1]).

Review and comments are welcome !

- Sam

[1]
http://mail-archives.apache.org/mod_mbox/httpd-mbox-dev/200506.mbox/%3c200506062226.07117@danielnaber.de%3e

-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.