[Mailman-Developers] REST API call for creating archive view?

Stephen J. Turnbull stephen at xemacs.org
Fri Nov 8 11:20:48 CET 2013


Colin Fleming writes:

 > Is there a way to create an archive view (i.e. present a view of
 > all messages in a list and allow reading particular mails) using
 > the current API?

No, and (sorry Barry, but I think you just added to the confusion --
IArchiver is really a write-only API) there won't be unless the
architecture of Mailman 3 changes dramatically.  Archiving (storage
and retrieval of posted messages) is the responsibility of a separate
module.  What Mailman itself can tell you is the suggested permalink
for individual archived messages.

We do plan to provide such a module (the current implementation and
leading candidate is called HyperKitty).

I do not know if the current architecture of HyperKitty is
sufficiently modular as to allow you to just grab messages and then
format them yourself.

I'm not sure why you'd want to grab raw messages, actually; I think
the best idea would for HyperKitty core (or any other implementation
of an archiver) to spit out a DIV element containing the
(semantically) formatted email message, and provide a default CSS,
plus a fairly trivial full webapp that wraps the DIV in a full page.
I'm not sure if it does that yet, though, you need to talk to the
HyperKitty devs about it.

(Heck, if it doesn't, maybe I'll go into the archiver business
myself.  Look for CSSZenKitty at a DVCS host near you!)

Steve



More information about the Mailman-Developers mailing list